nexus 7 cdartmanager issues (script failed)
#1
I'm a bit of a novice with android and am having issues with cdartmanager on my nexus 7. If I attempt to launch the script it returns a Script failed. The log states the problem is a missing pil module. I'm having issues with the loguploader but can copy the section with the information. Any help would be appreciated. Thanks in advance.


xbmc/addons/script.cdartmanager/default.py): entering source directory /storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.cdartmanager
14:11:02 T:2095724800 DEBUG: CPythonInvoker(13, /storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.cdartmanager/default.py): instantiating addon using automatically obtained id of "script.cdartmanager" dependent on version 2.1.0 of the xbmc.python api
14:11:03 T:2095724800 DEBUG: POParser: loaded 191 strings from file /storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.cdartmanager/resources/language/English/strings.po
14:11:03 T:2095724800 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: No module named PIL
Traceback (most recent call last):
File "/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.cdartmanager/default.py", line 98, in <module>
from download import auto_download
File "/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.cdartmanager/resources/lib/download.py", line 6, in <module>
from PIL import Image
ImportError: No module named PIL
-->End of Python script error report<--
14:11:03 T:1994085728 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
14:11:03 T:1994085728 DEBUG: Window DialogKaiToast.xml was already loaded
14:11:03 T:1994085728 DEBUG: Alloc resources: 0.03m
14:11:03 T:2095724800 INFO: Python script stopped
14:11:03 T:2095724800 DEBUG: Thread LanguageInvoker 2095724800 terminating
14:11:08 T:2058787568 NOTICE: Thread Timer start, auto delete: false
14:11:08 T:2058787568 DEBUG: Thread Timer 2058787568 terminating
14:11:08 T:1994085728 DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------
14:11:11 T:2062687008 NOTICE: Thread Timer start, auto delete: false
14:11:11 T:2062687008 DEBUG: Thread Timer 2062687008 terminating
14:11:22 T:2061172520 DEBUG: Thread JobWorker 2061172520 terminating (autodelete)
14:14:11 T:1994085728 DEBUG: CAnnouncementManager - Announcement: OnScreensaverActivated from xbmc
14:14:11 T:1994085728 DEBUG: GOT ANNOUNCEMENT, type: 4, from xbmc, message OnScreensaverActivated
Reply
#2
Log file :
http://xbmclogs.com/show.php?id=146263
Reply
#3
It seems I' m missing the pil module. I can' t figure out how or where to install it. Any guesses out there?
Reply
#4
PIL should be internally provided by XBMC itself and XBMC's internal python support. I'll try to see if the same happens to me on another Android device.
Reply
#5
I appreciate the help! A little info, I'm using a nexus 7 2013 with android 4.4.2. I installed the nightly build to correct the audio issues. From what I could see it looks like there is an issue with the way python is extracting during install in the logfile. Should there be a.zip file in the assets area?
Reply
#6
Well, it would be easier for us to help if actually showed us the logfile of the installation...
Reply
#7
Sure, where do I find it and what is it called?
Reply
#8
Nevermind. I confirm there is an issue with PIL on Android.
I'll check that out.
Reply
#9
If you need me try/test/send anything just ask.
Reply
#10
I was wondering if there was any update?
Reply
#11
From my fly-on-the-wall perspective, yes. Which is to say, the issue is being dissected, and has been confirmed to affect other platforms like OS X, which escalates the need for a fix.
Reply
#12
Thanks for the update!
Reply
#13
Hi,
I come to here from another thread at
http://forum.xbmc.org/showthread.php?tid...pid1772180
Post 457.
Oz Weather addon not working on Android Gotham.
Another member advised me this was due to the Python Image Library (PIL) is missing.
Full Log here
http://xbmclogs.com/show.php?id=267468
This is the offending/problem bit

Code:
14:34:25 T:1860648792 DEBUG: ### Oz Weather-0.7.2 ### Importing PIL as extra features are activated.
14:34:25 T:1860648792 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: No module named PIL
Traceback (most recent call last):
File "/mnt/sdcard/Android/data/org.xbmc.xbmc/files/.xbmc/addons/weather.ozweather/default.py", line 751, in <module>
forecast(location, radar)
File "/mnt/sdcard/Android/data/org.xbmc.xbmc/files/.xbmc/addons/weather.ozweather/default.py", line 264, in forecast
buildImages(radarCode)
File "/mnt/sdcard/Android/data/org.xbmc.xbmc/files/.xbmc/addons/weather.ozweather/default.py", line 425, in buildImages
prepareBackgrounds(radarCode)
File "/mnt/sdcard/Android/data/org.xbmc.xbmc/files/.xbmc/addons/weather.ozweather/default.py", line 367, in prepareBackgrounds
downloadBackground(radarCode, "IDR.legend.0.png")
File "/mnt/sdcard/Android/data/org.xbmc.xbmc/files/.xbmc/addons/weather.ozweather/default.py", line 323, in downloadBackground
from PIL import Image
ImportError: No module named PIL
-->End of Python script error report<--


Is this still a "work in progress" as described above?

Thanks...

Thank you
Reply
#14
Arf... Slipped out of my mind...
I'll continue my investigations.
Reply
#15
Thank you...much appreciated.
Reply

Logout Mark Read Team Forum Stats Members Help
nexus 7 cdartmanager issues (script failed)0