Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error on TVOS #76

Open
horstepipe opened this issue Apr 25, 2018 · 0 comments
Open

error on TVOS #76

horstepipe opened this issue Apr 25, 2018 · 0 comments

Comments

@horstepipe
Copy link

Hey Phil
On TVOS (Apple TV 4/4K) there's a problem with your script when trying to get infos about an actor:

`13:15:28.833 T:6168932352 DEBUG: script.extendedinfo: version 5.6.0 started
13:15:28.833 T:6168932352 DEBUG: script.extendedinfo: extendedactorinfo
13:15:28.833 T:6168932352 DEBUG: script.extendedinfo: {
"handle": null,
"name": "Denzel Washington"
}
13:15:28.917 T:6168932352 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--

  • NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
    Error Type: <type 'exceptions.ImportError'>
    Error Contents: dlopen(/var/mobile/Containers/Data/Application/F38D6CD9-D75C-4BE4-A068-89F66CBDE0A9/Library/Caches/home/.python-eggs/Pillow-3.0.0-py2.7-macosx-10.4-x86_64.egg-tmp/PIL/_imaging.so, 2): no suitable image found. Did find:
    /var/mobile/Containers/Data/Application/F38D6CD9-D75C-4BE4-A068-89F66CBDE0A9/Library/Caches/home/.python-eggs/Pillow-3.0.0-py2.7-macosx-10.4-x86_64.egg-tmp/PIL/_imaging.so: file system sandbox blocked mmap() of '/var/mobile/Containers/Data/Application/F38D6CD9-D75C-4BE4-A068-89F66CBDE0A9/Library/Caches/home/.python-eggs/Pillow-3.0.0-py2.7-macosx-10.4-x86_64.egg-tmp/PIL/_imaging.so'
    Traceback (most recent call last):
    File "/var/mobile/Containers/Data/Application/F38D6CD9-D75C-4BE4-A068-89F66CBDE0A9/Library/Caches/home/addons/script.extendedinfo/default.py", line 63, in
    Main()
    File "/var/mobile/Containers/Data/Application/F38D6CD9-D75C-4BE4-A068-89F66CBDE0A9/Library/Caches/home/addons/script.extendedinfo/default.py", line 37, in init
    listitems = process.start_info_actions(info, self.params)
    File "/var/mobile/Containers/Data/Application/F38D6CD9-D75C-4BE4-A068-89F66CBDE0A9/Library/Caches/home/addons/script.extendedinfo/resources/lib/process.py", line 348, in start_info_actions
    name=params.get("name"))
    File "/var/mobile/Containers/Data/Application/F38D6CD9-D75C-4BE4-A068-89F66CBDE0A9/Library/Caches/home/addons/script.extendedinfo/resources/lib/WindowManager.py", line 155, in open_actor_info
    from dialogs.DialogActorInfo import DialogActorInfo
    File "/var/mobile/Containers/Data/Application/F38D6CD9-D75C-4BE4-A068-89F66CBDE0A9/Library/Caches/home/addons/script.extendedinfo/resources/lib/dialogs/DialogActorInfo.py", line 11, in
    from kodi65 import imagetools
    File "/var/mobile/Containers/Data/Application/F38D6CD9-D75C-4BE4-A068-89F66CBDE0A9/Library/Caches/home/addons/script.module.kodi65/lib/kodi65/imagetools.py", line 9, in
    import PIL.Image
    File "build/bdist.macosx-10.4-x86_64/egg/PIL/Image.py", line 66, in
    File "build/bdist.macosx-10.4-x86_64/egg/PIL/_imaging.py", line 7, in
    File "build/bdist.macosx-10.4-x86_64/egg/PIL/_imaging.py", line 6, in bootstrap
    ImportError: dlopen(/var/mobile/Containers/Data/Application/F38D6CD9-D75C-4BE4-A068-89F66CBDE0A9/Library/Caches/home/.python-eggs/Pillow-3.0.0-py2.7-macosx-10.4-x86_64.egg-tmp/PIL/_imaging.so, 2): no suitable image found. Did find:
    /var/mobile/Containers/Data/Application/F38D6CD9-D75C-4BE4-A068-89F66CBDE0A9/Library/Caches/home/.python-eggs/Pillow-3.0.0-py2.7-macosx-10.4-x86_64.egg-tmp/PIL/_imaging.so: file system sandbox blocked mmap() of '/var/mobile/Containers/Data/Application/F38D6CD9-D75C-4BE4-A068-89F66CBDE0A9/Library/Caches/home/.python-eggs/Pillow-3.0.0-py2.7-macosx-10.4-x86_64.egg-tmp/PIL/_imaging.so'
    -->End of Python script error report<--
    13:15:28.930 T:6171799552 DEBUG: ------ Window Init (DialogNotification.xml) ------
    13:15:28.930 T:6171799552 DEBUG: Window DialogNotification.xml was already loaded
    13:15:28.930 T:6171799552 DEBUG: Alloc resources: 0.00ms
    13:15:28.997 T:6168932352 WARNING: CPythonInvoker(30, /var/mobile/Containers/Data/Application/F38D6CD9-D75C-4BE4-A068-89F66CBDE0A9/Library/Caches/home/addons/script.extendedinfo/default.py): the python script "/var/mobile/Containers/Data/Application/F38D6CD9-D75C-4BE4-A068-89F66CBDE0A9/Library/Caches/home/addons/script.extendedinfo/default.py" has left several classes in memory that we couldn't clean up. The classes include: N9XBMCAddon7xbmcgui10DialogBusyE
    13:15:28.997 T:6168932352 INFO: Python script stopped `

Are you able to fix this?

@horstepipe horstepipe changed the title error or TVOS error on TVOS Jun 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant