PDA

View Full Version : I need plugin help (at wits end here)


JCDoe
2009-02-22, 08:05
Ok, I cannot seem to find a solution to my problem anywhere (which leads me to believe that its user error :P ). Anyhow, whenever I try to use just about any plugin (VideoMonkey for example), I get a popup that tells me I experienced "Error: Python Script Failure."

Here is what the log said when I tried to load VideoMonkey, and then Rectalogic's Fancast plugin:

08:06:23 M: 34152448 NOTICE:
08:06:23 M: 34656256 NOTICE:
08:06:23 M: 40808448 ERROR: CPicture::CacheImage Unable to create new image special://xbmc/UserData/Thumbnails/Video/Fanart/8e520d85.tbn from image plugin://video/Apple Movie Trailers II/
08:06:38 M: 40992768 ERROR: DIRECTORY::CDirectory::GetDirectory - Error getting
08:06:40 M: 42094592 ERROR: Unable to load: special://home/plugins/video/VideoMonkey/resources/settings.xml, Line 0
Failed to open file
08:06:40 M: 42094592 ERROR: Unable to run plugin special://home/plugins/video/VideoMonkey/default.py
08:06:40 M: 42094592 ERROR: DIRECTORY::CDirectory::GetDirectory - Error getting plugin://video/VideoMonkey/
08:06:40 M: 42094592 ERROR: CGUIMediaWindow::GetDirectory(plugin://video/VideoMonkey/) failed
08:06:40 M: 41025536 ERROR: DIRECTORY::CDirectory::GetDirectory - Error getting
08:06:51 M: 42094592 ERROR: Unable to load: special://home/plugins/video/VideoMonkey/resources/settings.xml, Line 0
Failed to open file
08:06:51 M: 42094592 ERROR: Unable to run plugin special://home/plugins/video/VideoMonkey/default.py
08:06:51 M: 42094592 ERROR: DIRECTORY::CDirectory::GetDirectory - Error getting plugin://video/VideoMonkey/
08:06:51 M: 42094592 ERROR: CGUIMediaWindow::GetDirectory(plugin://video/VideoMonkey/) failed
08:06:51 M: 41025536 ERROR: DIRECTORY::CDirectory::GetDirectory - Error getting
08:06:53 M: 43171840 ERROR: Unable to load: special://home/plugins/video/Rectalogic/resources/settings.xml, Line 0
Failed to open file
08:06:54 M: 41054208 NOTICE: -->Python Initialized<--
08:06:54 M: 41054208 NOTICE:
08:06:55 M: 37879808 NOTICE: No feeds found for Q:\UserData\plugin_data\video\Fancast\favorites.xm l
08:06:55 M: 37879808 NOTICE:
08:06:55 M: 41353216 WARNING: WARNING: File is larger than 32bit stat can handle, file size will be reported as 0 bytes
08:06:55 M: 41353216 ERROR: CPicture::CacheImage Unable to create new image special://xbmc/UserData/Thumbnails/Video/Fanart/8e520d85.tbn from image plugin://video/Apple Movie Trailers II/
08:06:57 M: 42033152 ERROR: Unable to load: special://home/plugins/video/Rectalogic/resources/settings.xml, Line 0
Failed to open file
08:06:57 M: 39919616 NOTICE: -->Python Initialized<--
08:06:57 M: 39919616 NOTICE:
08:07:00 M: 32804864 NOTICE: Skipping 'Naruto: Shippûden' - 'ascii' codec can't encode character u'\xfb' in position 13: ordinal not in range(128)
08:07:00 M: 32804864 NOTICE:
08:07:01 M: 32804864 NOTICE: Skipping 'Susume! Denpa shônen' - 'ascii' codec can't encode character u'\xf4' in position 16: ordinal not in range(128)
08:07:01 M: 32784384 NOTICE:
08:07:01 M: 32321536 NOTICE: Skipping 'Ginga tetsudô monogatari' - 'ascii' codec can't encode character u'\xf4' in position 12: ordinal not in range(128)
08:07:01 M: 32301056 NOTICE:
08:07:01 M: 32235520 NOTICE: Skipping 'Basilisk: Kôga ninpô chô' - 'ascii' codec can't encode character u'\xf4' in position 11: ordinal not in range(128)
08:07:01 M: 32215040 NOTICE:
08:07:52 M: 41914368 ERROR: Unable to load: special://home/plugins/video/Rectalogic/resources/settings.xml, Line 0
Failed to open file

Anyone have any ideas?

JCDoe
2009-02-22, 22:39
None of the uber smarties here can help me??? If anyone can, I know the plugin devs and such here can.

BTW, I'm using the latest T3CH SVN build on xbox, if that changes anything.

blittan
2009-02-22, 22:55
strange issues.. how did you install xbmc? overwrote the old install? seems something is screwed with it..

try a clean install, you can install it as an application so you won't loose any settings etc..

JCDoe
2009-02-23, 01:15
Yeah, I installed the new version over an older one. I'll FTP a brand new install and see how that works.

JCDoe
2009-02-23, 01:55
Ok, I uploaded a clean install of SVN version 2/18/2009 rev 17820. I copied the plugins over and experienced the same error. Below is the log file (abridged, it won't allow posts over 10k chars):

02:05:44 M: 56274944 NOTICE: -----------------------------------------------------------------------
02:05:44 M: 56254464 NOTICE: Starting XBMC, Platform: Xbox. Built on Feb 18 2009
. . .
02:05:44 M: 56229888 ERROR: Unable to load special://masterprofile/guisettings.xml, creating new special://masterprofile/guisettings.xml with default values
02:05:44 M: 56086528 NOTICE: Getting hardware information now...
02:05:44 M: 56086528 NOTICE: Checking resolution 10
02:05:44 M: 56086528 NOTICE: Setting autoresolution mode 4
02:05:44 M: 56082432 NOTICE: No advancedsettings.xml to load (special://masterprofile/advancedsettings.xml)
02:05:44 M: 56082432 NOTICE: Default Video Player: mplayer
. . .
02:05:53 M: 36708352 NOTICE: XBFileZilla: Started
02:06:09 M: 44331008 WARNING: CUtil::GetMatchingSource... no matching source found for [Video plugins]
02:06:10 M: 43651072 ERROR: DIRECTORY::CDirectory::GetDirectory - Error getting
02:06:33 M: 41533440 ERROR: DIRECTORY::CDirectory::GetDirectory - Error getting
02:06:36 M: 40034304 ERROR: DIRECTORY::CDirectory::GetDirectory - Error getting
02:06:41 M: 40513536 ERROR: DIRECTORY::CDirectory::GetDirectory - Error getting
02:07:35 M: 41385984 ERROR: DIRECTORY::CDirectory::GetDirectory - Error getting
02:07:36 M: 40669184 ERROR: DIRECTORY::CDirectory::GetDirectory - Error getting
02:07:42 M: 41717760 ERROR: Unable to load: special://home/plugins/video/VPRv2/resources/settings.xml, Line 0
Failed to open file
02:07:42 M: 39600128 NOTICE: -->Python Initialized<--
02:07:42 M: 39600128 NOTICE:
02:07:54 M: 35889152 WARNING: msvcrt.dll: dll_lseeki64 called, TODO: add 'int64 -> long' type checking
02:07:55 M: 35917824 NOTICE: Traceback (most recent call last):
02:07:55 M: 35917824 NOTICE: File "Q:\plugins\video\VPRv2\default.py", line 99, in ?
02:07:55 M: 35917824 NOTICE:
02:07:55 M: 35917824 NOTICE: STARTUP()
02:07:55 M: 35917824 NOTICE: File "Q:\plugins\video\VPRv2\default.py", line 94, in STARTUP
02:07:55 M: 35917824 NOTICE:
02:07:55 M: 35917824 NOTICE: UPDATE()
02:07:55 M: 35917824 NOTICE: File "Q:\plugins\video\VPRv2\default.py", line 29, in UPDATE
02:07:55 M: 35917824 NOTICE:
02:07:55 M: 35917824 NOTICE: if int(update[0][0])>int(valid[0]):
02:07:55 M: 35917824 NOTICE: IndexError
02:07:55 M: 35917824 NOTICE: :
02:07:55 M: 35917824 NOTICE: list index out of range
02:07:55 M: 35917824 NOTICE:
02:07:55 M: 35917824 ERROR: Scriptresult: Error
02:07:58 M: 36483072 NOTICE:
02:07:58 M: 36483072 NOTICE:
02:07:58 M: 41119744 ERROR: DIRECTORY::CDirectory::GetDirectory - Error getting plugin://video/VPRv2/
02:07:58 M: 41119744 ERROR: CGUIMediaWindow::GetDirectory(plugin://video/VPRv2/) failed
02:07:59 M: 40013824 ERROR: DIRECTORY::CDirectory::GetDirectory - Error getting
02:08:00 M: 41619456 ERROR: Unable to load: special://home/plugins/video/VPRv2/resources/settings.xml, Line 0
Failed to open file
02:08:00 M: 39497728 NOTICE: -->Python Initialized<--
02:08:00 M: 39497728 NOTICE:
02:08:02 M: 36020224 NOTICE: Traceback (most recent call last):
02:08:02 M: 36020224 NOTICE: File "Q:\plugins\video\VPRv2\default.py", line 101, in ?
02:08:02 M: 36020224 NOTICE:
02:08:02 M: 35999744 NOTICE: NAVIG()
02:08:02 M: 35999744 NOTICE: File "Q:\plugins\video\VPRv2\default.py", line 49, in NAVIG
02:08:02 M: 36020224 NOTICE:
02:08:02 M: 35999744 NOTICE: ZIPPY(open(os.getcwd().replace(";","")+'/check/string','r').read())
02:08:02 M: 35999744 NOTICE: IOError
02:08:02 M: 36020224 NOTICE: :
02:08:02 M: 36020224 NOTICE: [Errno 2] No such file or directory: 'Q:\\plugins\\video\\VPRv2/check/string'
02:08:02 M: 36020224 NOTICE:
02:08:02 M: 36020224 ERROR: Scriptresult: Error
02:08:05 M: 36519936 NOTICE:
02:08:05 M: 36519936 NOTICE:
02:08:05 M: 41078784 ERROR: DIRECTORY::CDirectory::GetDirectory - Error getting plugin://video/VPRv2/
02:08:05 M: 41078784 ERROR: CGUIMediaWindow::GetDirectory(plugin://video/VPRv2/) failed
02:08:05 M: 39972864 ERROR: DIRECTORY::CDirectory::GetDirectory - Error getting
02:08:07 M: 41594880 ERROR: Unable to load: special://home/plugins/video/VideoMonkey/resources/settings.xml, Line 0
Failed to open file
02:08:07 M: 41594880 ERROR: Unable to run plugin special://home/plugins/video/VideoMonkey/default.py
02:08:07 M: 41594880 ERROR: DIRECTORY::CDirectory::GetDirectory - Error getting plugin://video/VideoMonkey/
02:08:07 M: 41594880 ERROR: CGUIMediaWindow::GetDirectory(plugin://video/VideoMonkey/) failed
02:08:07 M: 40525824 ERROR: DIRECTORY::CDirectory::GetDirectory - Error getting
02:08:26 M: 41594880 ERROR: Unable to load: special://home/plugins/video/Rectalogic/resources/settings.xml, Line 0
Failed to open file
02:08:27 M: 39464960 NOTICE: -->Python Initialized<--
02:08:27 M: 39464960 NOTICE:
02:08:28 M: 36339712 NOTICE: No feeds found for q:\UserData\plugin_data\video\Fancast\favorites.xm l
02:08:28 M: 36319232 NOTICE:
02:08:28 M: 39743488 WARNING: WARNING: File is larger than 32bit stat can handle, file size will be reported as 0 bytes
02:08:28 M: 39743488 ERROR: CPicture::CacheImage Unable to create new image q:\UserData\Thumbnails\Video\Fanart\8e520d85.tbn from image plugin://video/Apple Movie Trailers II/
02:08:30 M: 40427520 ERROR: Unable to load: special://home/plugins/video/Rectalogic/resources/settings.xml, Line 0
Failed to open file
02:08:30 M: 38297600 NOTICE: -->Python Initialized<--
02:08:30 M: 38297600 NOTICE:
02:08:33 M: 31268864 NOTICE: Skipping 'Naruto: Shippûden' - 'ascii' codec can't encode character u'\xfb' in position 13: ordinal not in range(128)
02:08:33 M: 31268864 NOTICE:
02:08:33 M: 31260672 NOTICE: Skipping 'Susume! Denpa shônen' - 'ascii' codec can't encode character u'\xf4' in position 16: ordinal not in range(128)
02:08:33 M: 31240192 NOTICE:
02:08:34 M: 30777344 NOTICE: Skipping 'Ginga tetsudô monogatari' - 'ascii' codec can't encode character u'\xf4' in position 12: ordinal not in range(128)
02:08:34 M: 30756864 NOTICE:
02:08:34 M: 30687232 NOTICE: Skipping 'Basilisk: Kôga ninpô chô' - 'ascii' codec can't encode character u'\xf4' in position 11: ordinal not in range(128)
02:08:34 M: 30666752 NOTICE:
02:08:36 M: 39288832 ERROR: Unable to load: special://home/plugins/video/Rectalogic/resources/settings.xml, Line 0
Failed to open file
02:08:36 M: 37167104 NOTICE: -->Python Initialized<--
02:08:36 M: 37167104 NOTICE:
02:08:39 M: 38633472 ERROR: Unable to load: special://home/plugins/video/Rectalogic/resources/settings.xml, Line 0
Failed to open file
02:08:40 M: 36511744 NOTICE: -->Python Initialized<--
02:08:40 M: 36511744 NOTICE:
02:08:42 M: 33415168 NOTICE: Traceback (most recent call last):
02:08:42 M: 33415168 NOTICE: File "Q:\plugins\video\Rectalogic\default.py", line 25, in ?
02:08:42 M: 33415168 NOTICE:
02:08:42 M: 33415168 NOTICE: mod.Main(params)
02:08:42 M: 33415168 NOTICE:
02:08:42 M: 33415168 NOTICE: File "Q:\plugins\video\Rectalogic\episodeplayer.py", line 8, in Main
02:08:42 M: 33415168 NOTICE:
02:08:42 M: 33415168 NOTICE: EpisodePlayer(params['videoId'], params['title'])
02:08:42 M: 33415168 NOTICE: File "Q:\plugins\video\Rectalogic\episodeplayer.py", line 12, in __init__
02:08:42 M: 33415168 NOTICE:
02:08:42 M: 33415168 NOTICE: videoUrl = self.getVideoUrl(videoId)
02:08:42 M: 33415168 NOTICE: File "Q:\plugins\video\Rectalogic\episodeplayer.py", line 49, in getVideoUrl
02:08:42 M: 33415168 NOTICE:
02:08:42 M: 33415168 NOTICE: if (doc): doc.unlink()
02:08:42 M: 33415168 NOTICE:
02:08:42 M: 33415168 NOTICE: UnboundLocalError
02:08:42 M: 33415168 NOTICE: :
02:08:42 M: 33415168 NOTICE: local variable 'doc' referenced before assignment
02:08:42 M: 33415168 NOTICE:
02:08:42 M: 33415168 ERROR: Scriptresult: Error
02:08:47 M: 38592512 WARNING: WARNING: File is larger than 32bit stat can handle, file size will be reported as 0 bytes
02:08:47 M: 38592512 ERROR: CPicture::CacheImage Unable to create new image q:\UserData\Thumbnails\Video\Fanart\8e520d85.tbn from image plugin://video/Apple Movie Trailers II/
02:08:47 M: 38174720 ERROR: DIRECTORY::CDirectory::GetDirectory - Error getting
02:08:47 M: 38633472 ERROR: DIRECTORY::CDirectory::GetDirectory - Error getting
02:08:54 M: 35442688 NOTICE: Storing total System Uptime
02:08:54 M: 35442688 NOTICE: Saving settings
02:08:54 M: 35442688 NOTICE: stop all
02:08:54 M: 35639296 NOTICE: ES: Stopping event server
02:08:55 M: 35639296 NOTICE: ES: UDP Event server stopped
02:08:55 M: 36179968 NOTICE: stop dvd detect media
02:08:55 M: 36245504 NOTICE: stop fancontroller
02:08:55 M: 36257792 NOTICE: stop daap clients
02:08:55 M: 36257792 NOTICE: clean cached files!
02:08:55 M: 36257792 NOTICE: unload skin
02:08:55 M: 42692608 NOTICE: stop python
02:08:55 M: 42692608 NOTICE: stopped
02:08:55 M: 42758144 NOTICE: unload sections

JCDoe
2009-02-23, 03:57
Can anyone help? I realize my problem may not be a big deal to most people, but it's huge to me :(

Rookie
2009-02-23, 04:49
Anyhow, whenever I try to use just about any plugin (VideoMonkey for example), I get a popup that tells me I experienced "Error: Python Script Failure."

Not sure if this is over my head,but you do have them in your plugins directory and not your scripts correct?

JCDoe
2009-02-23, 05:17
Yes, I do. Is this perhaps a problem with the latest SVN build??

JCDoe
2009-02-23, 05:25
Just for kicks, I'm going to do a clean install of the 12/30/08 rev 16762 version and see if that fixes this. I would load up the 8.10 "Stable" version, but IIRC, it does not support RTMP, so none of these plugins would work with it.

If I'm wrong, please let me know.

Rookie
2009-02-23, 16:37
Do Plugins still have to be added as a source in the newer builds?

This is on the xbox?Do you use E or C for your default?Is XBMC your main dashboard?Also how new are the plugins your using,is it possible they are old or got corrupted?

When you did a fresh install did you delete your user data or save it?

JCDoe
2009-02-23, 17:58
Do Plugins still have to be added as a source in the newer builds?

I don't think so. I just copy the plugin into the /xbmc/plugins/video/ directory and it shows up in XBMC when I navigate to Video Plugins.

This is on the xbox?Do you use E or C for your default?Is XBMC your main dashboard?Also how new are the plugins your using,is it possible they are old or got corrupted?

I use the E drive. XBMC is not my main dash. I'm using the latest plugins I can get my hands on (my test plugins are VideoMonkey and VPR).

When you did a fresh install did you delete your user data or save it?

I did a completely fresh install. The only things I copied over from the old install were the plugins themselves.

***

As I expected, the 8.10 install doesn't work either.

Rookie
2009-02-23, 19:08
I remember somebody having problems before and it ended up being because he didn't use XBMC as a default dash so he had to edit something.I do not remember if it was for plugins or scrips.???

Also I would try a new install with nothing from the last install.

matt_
2009-02-23, 19:46
Works for me on the Xbox with a Softmod and XBMC as my default Dash .

Sometimes the Fancast plugin will time out or laod the shows a little slow but it works better than the HULU plugin does on the Xbox at the moment .

Might be time for us Xbox users to get a newer box... its starting to get dated ;) .

JCDoe
2009-02-24, 00:01
Ehh, I didn't want to have to use XBMC as my default dash because I run it on a SDTV and all of the fonts are tiny. :(

I'll try using XBMC as my standard dash and post the results.

JCDoe
2009-02-24, 00:52
Ok, I set up XBMC as my default dash. Same error.

Rookie
2009-02-24, 02:02
Do you use a router for your connection?

JCDoe
2009-02-24, 02:15
Yes, of course (can you imagine just plugging your computer directly into the internet? May as well just ask for a virus!).

Specifically, I have a cable modem which connects to a wireless router, and then another wireless router which connects to the xbox and acts as a bridge. I know the connection is good because I am able to stream video off SMB shares on my pc.

Since the problem seems to have to do with python scripts, is it possible that the python engine on the machine is malfunctioning? Does xbmc have python loaded in it, or is that a part of whatever dash is first started?

JCDoe
2009-02-25, 00:37
I'm still stuck . . . I've tried everything short of formatting the harddrive and starting from scratch (yeah, not gonna do that).

Does that log file gibberish mean anything to anyone?

blittan
2009-02-25, 11:18
python is part of xbmc, can you run for example Apple Movie Trailers and T3CH Upgrader?

From the log it seems some of the scripts you are trying to run isn't handling multiple platforms well.

JCDoe
2009-02-25, 18:44
The T3CH updater works fine. So does the quicksilver plugin.

If its a problem with the plugins, shouldn't other people be having the same problems with them?

blittan
2009-02-25, 22:51
taking a quick look at your log..

ZIPPY(open(os.getcwd().replace(";","")+'/check/string','r').read())

There is one error, using linux paths on xbox .. /check/string should really be \check\string

That plugin would have problems working on windows aswell..

Also seems like every settings file is missing / read from the wrong location..

JCDoe
2009-02-26, 03:10
Interesting, so a plugin designed for xbmc on linux will not work on xbox? I wonder if that's been the problem the whole time . . .

rwparris2
2009-02-26, 03:16
Interesting, so a plugin designed for xbmc on linux will not work on xbox? I wonder if that's been the problem the whole time . . .

no, a plugin incorrectly written will not work cross platform.

should be something more like: ZIPPY(open(os.path.join(os.getcwd().replace(";",""),'check','string'),'r').read())

JCDoe
2009-02-26, 03:19
Huh. That's in the latest version of VPR. Is python uncompiled code (like java), or compiled (like C)?

If its uncompiled, I'm assuming I need to change all of the forward slashes to backward slashes to fix the plugin?

JCDoe
2009-02-28, 06:48
Just wanted to thank everyone who helped with this. I did a fresh install of the problem plugins and they are now working (except VPR). Very odd, but whatever, it works! :laugh: