[LINUX] "Python Script Failed" on every plugin?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
knk1990 Offline
Junior Member
Posts: 18
Joined: May 2009
Reputation: 0
Question  [LINUX] "Python Script Failed" on every plugin?
Post: #1
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
find quote
blittan Offline
Team-XBMC Handyman
Posts: 1,748
Joined: Jun 2004
Reputation: 11
Location: Sweden
Post: #2
python installed?

other than that, please post a Debug Log so we can see what is happening.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
If you don't have the time to read them, please don't take the time to post in this forum!
For troubleshooting and bug reporting please make sure you read this first.
find quote
knk1990 Offline
Junior Member
Posts: 18
Joined: May 2009
Reputation: 0
Post: #3
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
(This post was last modified: 2009-05-30 04:22 by knk1990.)
find quote
blittan Offline
Team-XBMC Handyman
Posts: 1,748
Joined: Jun 2004
Reputation: 11
Location: Sweden
Post: #4
post the entire Debug Log (on pastebin.ca or simular site) then link it here.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
If you don't have the time to read them, please don't take the time to post in this forum!
For troubleshooting and bug reporting please make sure you read this first.
find quote
Dan Dare Offline
http://www.xbmc4xbox.org
Posts: 1,039
Joined: Sep 2004
Reputation: 146
Post: #5
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...
find quote
yabel Offline
Member
Posts: 70
Joined: Sep 2007
Reputation: 0
Post: #6
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.
find quote
knk1990 Offline
Junior Member
Posts: 18
Joined: May 2009
Reputation: 0
Post: #7
@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.
find quote
mkortstiege Offline
Team-Kodi Developer
Posts: 3,024
Joined: Jan 2008
Reputation: 10
Location: Germany
Post: #8
knk1990, please upgrade to a more recent version of XBMC and report back if the issue still exists.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules
For troubleshooting and bug reporting please make sure you read this first.
find quote
knk1990 Offline
Junior Member
Posts: 18
Joined: May 2009
Reputation: 0
Post: #9
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
(This post was last modified: 2009-05-31 15:58 by knk1990.)
find quote
mkortstiege Offline
Team-Kodi Developer
Posts: 3,024
Joined: Jan 2008
Reputation: 10
Location: Germany
Post: #10
Log location states its an oldish build. Much changed since we moved the logs to the users home.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules
For troubleshooting and bug reporting please make sure you read this first.
find quote
saffsd Offline
Junior Member
Posts: 2
Joined: Jun 2009
Reputation: 0
Post: #11
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.
find quote
knk1990 Offline
Junior Member
Posts: 18
Joined: May 2009
Reputation: 0
Post: #12
http://pastebin.com/m35be8361

im so stupid lol. sorry about that. I've found the right log now
(This post was last modified: 2009-06-01 09:21 by knk1990.)
find quote
GrinRoth Offline
Member
Posts: 69
Joined: May 2009
Reputation: 0
Location: Netherlands
Post: #13
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
(This post was last modified: 2009-06-03 09:41 by GrinRoth.)
find quote
tomolac Offline
Member
Posts: 72
Joined: May 2009
Reputation: 0
Post: #14
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
find quote
hebjor Offline
Junior Member
Posts: 11
Joined: Jan 2009
Reputation: 0
Post: #15
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?
find quote
Post Reply