Kodi Community Forum

Full Version: [LINUX] "Python Script Failed" on every plugin?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5
Hi, im getting errors on every plugin i install.
"Python Script Failed". special://home/plugins/programs/Launcher/default.py

That was obviously with launcher. I've tried adding manually to the sources.xml, adding to plugins etc. All give the same results. I've tried VideoMonkey Launcher and XBMC Zone Installer, all with the same issues.

I've tried using xbmcs latest svn built, 8.10 atlantis and 9.04. All manually compiled on debian 5.

Ideas?

thanks
python installed?

other than that, please post a Debug Log so we can see what is happening.
yeah pythons installed, 2.5 & 2.4. Installed 2.4 for the sake of it just before as only 2.5 was installed. Can't find anything usefull in the log either Sad...

http://pastebin.com/m1673b9d5.

maybe this is relevant?

Code:
08:36:48 T:3051382592 M: 18239488    INFO: initializing python engine.
08:36:48 T:3051382592 M: 18239488   DEBUG: Loading: /usr/local/share/xbmc/system/python/python24-i486-linux.so
08:36:48 T:3051382592 M: 18128896   DEBUG:   msg: 'import site' failed; use -v for traceback

thanks
post the entire Debug Log (on pastebin.ca or simular site) then link it here.
You have quite a few "cant create dir" and "Unable to create thumbfile" messages, ImportErrors... looks like is not able to load Python?! Built on Apr 3 2009...
Im seeming to have same issue since moving to T3CH XBMC 2009-05-09 9.04-Babylon.
Where can I find Python?
Ive never had issues with plugins except when they became broke due to web site changes.
When I try to run SVN installer my xbox reboots.
@blittan: look up, i think thats the entire debug log i linked to on pastebin?

If dan dare is having issues on his xbox....fault of xbmc?

http://pastebin.com/m1698ad79 <<newer log after some more use. Making the errors come up etc.
knk1990, please upgrade to a more recent version of XBMC and report back if the issue still exists.
as i said vdrfan, i've tried with the current svn version. I'll reinstall it and post a log. I just like running stable

edit:
why am i getting this after i make uninstall. and then make install the svn version?
08:36:47 T:3051382592 M: 18743296 NOTICE: -----------------------------------------------------------------------
08:36:47 T:3051382592 M: 18743296 NOTICE: Starting XBMC, Platform: GNU/Linux. Built on Apr 3 2009 (SVN:exported)
08:36:47 T:3051382592 M: 18743296 NOTICE: Q is mapped to: /usr/local/share/xbmc
08:36:47 T:3051382592 M: 18632704 NOTICE: The executable running is: /usr/local/share/xbmc/xbmc.bin
08:36:47 T:3051382592 M: 18632704 NOTICE: Log File is located: /var/tmp/kyle-xbmc.log
08:36:47 T:3051382592 M: 18632704 NOTICE: --------------------------------------------------------------------

it was compiled today.....and yes my dates right....ill checkout the svn AGAIN overnight and see how it is after. 12am now, so ill post back tomorrow.
thanks
Log location states its an oldish build. Much changed since we moved the logs to the users home.
I think this might be related to an issue I just discovered.

When trying to install a plugin I got the exact same error. I investigated the debug log output, this is the interesting line:

14:50:08 T:2877234064 M:863309824 DEBUG: Process - Setting the Python path to /home/xbmc/.xbmc/plugins/programs/Launcher:/usr/share/xbmc/system/python/python24.zip;/usr/share/xbmc/system/python/lib/python24.zip;/usr/share/xbmc/system/python/lib/python2.4/;/usr/share/xbmc/system/python/lib/python2.4/plat-linux2;/usr/share/xbmc/system/python/lib/python2.4/lib-tk;/usr/share/xbmc/system/python/lib/python2.4/lib-dynload

Look carefully, the first path separator is wrong! ':' vs ';'

I have tracked the bug to this file:

http://trac.xbmc.org/browser/trunk/XBMC/...Thread.cpp

But can't go any further since I'm not familiar with the codebase. Line 163 is where the message is from.

Looks like I'm on revision 19455, the file I point to has not changed since 19054, but the error may be elsewhere.

<pre>
14:24:09 T:3053184880 M:909758464 NOTICE: -----------------------------------------------------------------------
14:24:09 T:3053184880 M:909758464 NOTICE: Starting XBMC, Platform: GNU/Linux. Built on May 31 2009 (SVN:19455)
14:24:09 T:3053184880 M:909758464 NOTICE: special://xbmc/ is mapped to: /usr/share/xbmc
14:24:09 T:3053184880 M:909758464 NOTICE: special://masterprofile/ is mapped to: /home/xbmc/.xbmc/userdata
14:24:09 T:3053184880 M:909758464 NOTICE: special://home/ is mapped to: /home/xbmc/.xbmc
14:24:09 T:3053184880 M:909758464 NOTICE: special://temp/ is mapped to: /home/xbmc/.xbmc/temp
14:24:09 T:3053184880 M:909758464 NOTICE: The executable running is: /usr/share/xbmc/xbmc.bin
14:24:09 T:3053184880 M:909758464 NOTICE: Log File is located: /home/xbmc/.xbmc/temp/xbmc.log
14:24:09 T:3053184880 M:909758464 NOTICE: -----------------------------------------------------------------------
</pre>

Hope this helps.
http://pastebin.com/m35be8361

im so stupid lol. sorry about that. I've found the right log now
I'm experiencing the exact same errors with the latest svn builds (i compiled it yesterday, r20873), none of the plugins and scripts are working.
I think this happens since the external libraries option is added to svn?

Anyway, in my log i see the same error in path ( : instead of ; )

Code:
19:52:30 T:2846456720 M:1345851392  NOTICE: -->Python Interpreter Initialized<--
19:52:30 T:2846456720 M:1345851392  NOTICE:
19:52:30 T:2846456720 M:1345851392   DEBUG: Process - The source file to load is special://home/plugins/video/Apple Movie Trailers Lite/default.py
19:52:30 T:2846456720 M:1345851392   DEBUG: Process - Setting the Python path to /home/xbmc/.xbmc/plugins/video/Apple Movie Trailers Lite:/usr/share/xbmc/system/python/python24.zip;/usr/share/xbmc/system/python/lib/python24.zip;/usr/share/xbmc/system/python/lib/python2.4/;/usr/share/xbmc/system/python/lib/python2.4/plat-linux2;/usr/share/xbmc/system/python/lib/python2.4/lib-tk;/usr/share/xbmc/system/python/lib/python2.4/lib-dynload
19:52:30 T:2846456720 M:1345781760   DEBUG: Process - Entering source directory /home/xbmc/.xbmc/plugins/video/Apple Movie Trailers Lite
19:52:30 T:2846456720 M:1345781760  NOTICE: [PLUGIN] 'Apple Movie Trailers Lite: version 1.6.3' initialized!
19:52:30 T:2846456720 M:1345781760  NOTICE: Traceback (most recent call last):
19:52:30 T:2846456720 M:1345781760  NOTICE:   File "/home/xbmc/.xbmc/plugins/video/Apple Movie Trailers Lite/default.py", line 23, in ?
19:52:30 T:2846456720 M:1345781760  NOTICE:
19:52:30 T:2846456720 M:1345781760  NOTICE: import resources.lib.xbmcplugin_trailers as plugin
19:52:30 T:2846456720 M:1345781760  NOTICE: ImportError
19:52:30 T:2846456720 M:1345781760  NOTICE: :
19:52:30 T:2846456720 M:1345781760  NOTICE: No module named resources.lib.xbmcplugin_trailers
19:52:30 T:2846456720 M:1345781760  NOTICE:
19:52:30 T:2846456720 M:1345781760   ERROR: Scriptresult: Error
19:52:30 T:2846456720 M:1345781760    INFO: Loading skin file: DialogOK.xml
I'm have this exact same problem also, so far the iplayer and SVN Repo Installer plug-ins are the only ones that work!
Quote:22:37:40 T:2912353168 M:2012733440 NOTICE: File "/home/xbmc/.xbmc/plugins/video/Ninja Video/NVDecode.py", line 2, in ?
22:37:40 T:2912353168 M:2012733440 NOTICE:
22:37:40 T:2912353168 M:2012733440 NOTICE: from Crypto.Cipher import AES
22:37:40 T:2912353168 M:2012733440 NOTICE: ImportError
22:37:40 T:2912353168 M:2012733440 NOTICE: :
22:37:40 T:2912353168 M:2012733440 NOTICE: cannot import name AES
22:37:40 T:2912353168 M:2012733440 NOTICE:
22:37:40 T:2912353168 M:2012733440 ERROR: Scriptresult: Error
I have same problem on SVN built on June 1st.

I see in my log I have same problem as described above with the separator for the path:

/home/xbmc/.xbmc/plugins/programs/Launcher:/usr/share/xbmc/system/python/python24.zip;/usr/share/xbmc/system/python/lib/python24.zip;/usr/share/xbmc/system/python/lib/python2.4/;/usr/share/xbmc/system/python/lib/python2.4/plat-linux2;/usr/share/xbmc/system/python/lib/python2.4/lib-tk;/usr/share/xbmc/system/python/lib/python2.4/lib-dynload

First path is separated by a ":" while the rest by ";". Maybe this could be the reason?
Pages: 1 2 3 4 5