Kodi Community Forum
"Script Failed!" Everywhere! - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Windows (https://forum.kodi.tv/forumdisplay.php?fid=59)
+---- Thread: "Script Failed!" Everywhere! (/showthread.php?tid=76516)

Pages: 1 2


"Script Failed!" Everywhere! - JTG2003 - 2010-07-01

I just downloaded and setup XBMC for Windows (Version 9.11 I guess it is).

I go into programs >> program plugins >> SVN Repo Installer >> xbmc-addons >> plugins

From there, I can install any of the plugins fine. But as soon as I try to run them, 99% of them return "Script Failed!"

Almost every search I've done for this, people have been saying they get a "Python script failed" error. Mine doesn't say python.. I don't know if they just changed what the error says in a different version or it's a different error altogether.

For example, I went into Video and installed the Family Guy plugin. In the description, it said it was compatible.

Then, from the main menu, I go to video >> video plugins >> family guy

I select a video and immediately I get "ERROR SCRIPT FAILED! : FAMILY GUY"

This happens with every plugin so far besides the apply movie trailers one which came with the install.

This is a copy from the log covering everything that happens when I press enter on the video:

Code:
20:03:41 T:1564 M:2770182144  NOTICE: -->Python Interpreter Initialized<--
20:03:41 T:1564 M:2769743872  NOTICE: Mode: 1
20:03:41 T:1564 M:2769743872  NOTICE: URL: http://watchfamilyguyonline.org/cat/1.html
20:03:41 T:1564 M:2769743872  NOTICE: Name: Season 1
20:03:41 T:1564 M:2769743872  NOTICE: http://watchfamilyguyonline.org/cat/1.html
20:03:41 T:1564 M:2769743872  NOTICE: FAMILY GUY --> getHTML :: url = http://watchfamilyguyonline.org/cat/1.html
20:03:43 T:2772 M:2767855616   ERROR: Unable to load: special://home/plugins/video/Family Guy/resources/settings.xml, Line 0
                                            Failed to open file
20:03:43 T:2496 M:2767147008  NOTICE: -->Python Interpreter Initialized<--
20:03:43 T:2496 M:2766704640  NOTICE: Mode: 2
20:03:43 T:2496 M:2766704640  NOTICE: URL: http://watchfamilyguyonline.org/movie/11-Family_Guy_101_Death_Has_a_Shadow.html
20:03:43 T:2496 M:2766704640  NOTICE: Name: 101 Death Has a Shadow
20:03:43 T:2496 M:2766704640  NOTICE: http://watchfamilyguyonline.org/movie/11-Family_Guy_101_Death_Has_a_Shadow.html
20:03:43 T:2496 M:2766704640  NOTICE: FAMILY GUY --> getHTML :: url = http://watchfamilyguyonline.org/movie/11-Family_Guy_101_Death_Has_a_Shadow.html
20:03:44 T:2496 M:2766667776  NOTICE: Traceback (most recent call last):
20:03:44 T:2496 M:2766667776  NOTICE:   File "C:\Program Files (x86)\XBMC\plugins\video\Family Guy\default.py", line 117, in ?
20:03:44 T:2496 M:2766667776  NOTICE: VIDEOLINKS(url,name)
20:03:44 T:2496 M:2766667776  NOTICE:   File "C:\Program Files (x86)\XBMC\plugins\video\Family Guy\default.py", line 49, in VIDEOLINKS
20:03:44 T:2496 M:2766667776  NOTICE: coldlink =  re.compile('<param name="movie" value="(.+?)" />').findall(data, re.DOTALL)[0]
20:03:44 T:2496 M:2766667776  NOTICE: IndexError
20:03:44 T:2496 M:2766667776  NOTICE: :
20:03:44 T:2496 M:2766667776  NOTICE: list index out of range
20:03:44 T:2496 M:2766667776   ERROR: Scriptresult: Error
20:03:45 T:2772 M:2767900672   ERROR: DIRECTORY::CDirectory::GetDirectory - Error getting plugin://video/Family Guy/?url=http%3A%2F%2Fwatchfamilyguyonline.org%2Fmovie%2F11-Family_Guy_101_Death_Has_a_Shadow.html&mode=2&name=101+Death+Has+a+Shadow
20:03:45 T:2772 M:2767900672   ERROR: CGUIMediaWindow::GetDirectory(plugin://video/Family Guy/?url=http%3A%2F%2Fwatchfamilyguyonline.org%2Fmovie%2F11-Family_Guy_101_Death_Has_a_Shadow.html&mode=2&name=101+Death+Has+a+Shadow) failed
20:03:45 T:2772 M:2767900672   ERROR: Unable to load: special://home/plugins/video/Family Guy/resources/settings.xml, Line 0
                                            Failed to open file
20:03:45 T:2084 M:2766839808  NOTICE: -->Python Interpreter Initialized<--
20:03:45 T:2084 M:2762596352  NOTICE: Mode: 1
20:03:45 T:2084 M:2762596352  NOTICE: URL: http://watchfamilyguyonline.org/cat/1.html
20:03:45 T:2084 M:2762596352  NOTICE: Name: Season 1
20:03:45 T:2084 M:2762596352  NOTICE: http://watchfamilyguyonline.org/cat/1.html
20:03:45 T:2084 M:2762596352  NOTICE: FAMILY GUY --> getHTML :: url = http://watchfamilyguyonline.org/cat/1.html

I didn't have python installed at first, but even after installing python 3.1 it does the same thing.

The first instance of a problem seems to be
ERROR: Unable to load: special://home/plugins/video/Family Guy/resources/settings.xml, Line 0
Failed to open file

Any idea why this might be happening?

I'm sorry if this has been answered before.. I'm sure it has. But I am completely failing at finding it.

So far, this has happened with about 6 plugins (none have worked yet)

Any help is appreciated
Thanks,
Jeremy


- jmarshall - 2010-07-02

(Version 9.11 I guess it is).

Let's not guess. Full debug log will tell you.


- JTG2003 - 2010-07-02

jmarshall Wrote:(Version 9.11 I guess it is).

Let's not guess. Full debug log will tell you.

It's the latest stable version from the main site

https://sourceforge.net/projects/xbmc/files/XBMC%20for%20Windows/Camelot%20-%209.11/xbmc-9.11.exe/download

The debug log doesn't seem to say the exact version number. It does give a few system specs that may be useful though. This was at the top of the log:

Code:
03:02:26 T:2580 M:1073741823  NOTICE: -----------------------------------------------------------------------
03:02:26 T:2580 M:1073741823  NOTICE: Starting XBMC, Platform: Windows XP Professional Service Pack 3 build 2600.  Built on Dec 23 2009 (SVN:26017, compiler 1500)
03:02:26 T:2580 M:1073741823  NOTICE: Intel(R) Core(TM)2 Duo CPU     P8400  @ 2.26GHz
03:02:26 T:2580 M:1073741823  NOTICE: Desktop Resolution: 1600x900 32Bit at 59Hz
03:02:26 T:2580 M:1073741823  NOTICE: Running with administrator rights
03:02:26 T:2580 M:1073741823  NOTICE: special://xbmc/ is mapped to: C:\XBMC
03:02:26 T:2580 M:1073741823  NOTICE: special://masterprofile/ is mapped to: C:\Users\Administrator\AppData\Roaming\XBMC\userdata
03:02:26 T:2580 M:1073741823  NOTICE: special://home/ is mapped to: C:\Users\Administrator\AppData\Roaming\XBMC
03:02:26 T:2580 M:1073741823  NOTICE: special://temp/ is mapped to: C:\Users\Administrator\AppData\Roaming\XBMC\cache
03:02:26 T:2580 M:1073741823  NOTICE: The executable running is: C:\XBMC\XBMC.exe
03:02:26 T:2580 M:1073741823  NOTICE: Log File is located: C:\Users\Administrator\AppData\Roaming\XBMC\xbmc.log
03:02:26 T:2580 M:1073741823  NOTICE: -----------------------------------------------------------------------



- bradvido88 - 2010-07-02

Did you enable debugging? http://wiki.xbmc.org/index.php?title=Log_file#Enable_Debugging


- Pilotclan9404 - 2010-07-02

I had to join and post that im also getting this and i just installed for the 1st time....

I don't understand everything - im not a programmer...

Can this play live tv ? recored my shows for me if i havea tuner card? T_T


- kricker - 2010-07-02

Pilotclan9404 Wrote:Can this play live tv ? recored my shows for me if i havea tuner card? T_T
The short answer is no. The long answer is search the forums. There are threads discussing ways to do this with various plugins and modifications.


- JTG2003 - 2010-07-02

bradvido88 Wrote:Did you enable debugging? http://wiki.xbmc.org/index.php?title=Log_file#Enable_Debugging

Yes, it didn't seem to change the way the log works, but it put an overlay on my screen with FPS and some other stuff.


- kricker - 2010-07-02

Enable debugging will not fix your problem , but instead writes more info to the log. Post your log to pastebin after enabling the debug and producing the error.


- JTG2003 - 2010-07-03

Ok, This is the full debug log.

I started it up, installed several video plugins through the SVN Repo Installer (Family Guy, FreeMoovies, GameTrailersHD, and Google Video). I then ran each one in turn, each one gave the script error.


http://pastebin.com/Ht5AnHSi


- kricker - 2010-07-05

Backup your user data, then dl and try this build. This was the last SVN build before the Add-on system.


- JTG2003 - 2010-07-06

Installed, no difference. Looks and functions the same.

Anything I should be posting about it?


- natethomas - 2010-07-06

His build from the original question was built in December. The addon system shouldn't be the problem. Is there any chance the old svn repo is using more modern scripts?


- kricker - 2010-07-06

Yeah probably not, but that was the last rev before the addon system went in. I was using it on my HTPC up to a few days ago and all plugins and scripts were working fine. It was at least worth a shot. At this point if it was me I'd start with a totaly fresh clean install and try one known working plugin.


*bump* - forge - 2010-08-11

I have the same issue.

Installed the latest stable on both my desktop & laptop and I keep getting the same error.

Nat Geo & CNN News have played but the majority of plugins will not play.

I am not expert with XBMC but I am not a novice with programs or computers.

My thinking was that I needed to enable a codec or script but have not seen anything that states (____) is required.

What I did:
Installed XMBC installed, Installed SVN Installer and went straight the video plugins and loaded up what I wanted.
After that I tried starting the media and kept getting "error: script failed (plugin name)

On my 2nd attempt I installed Zone installer and also went to programs and added Navi-X script thinking I was missing a script.

Now I am here asking: Can I just install XMBC & SVN installer then add plugins for video and play the streaming video without additional plugin's or am I missing something for the streaming videos plugins to work?
I can play any video I come across so I don't think it is a lack of codecs on my OS.
(working with windows is making me lazier than I ought to be)

I'll add the log info I have.......
http://pastebin.com/ir9QkNig

Please help Smile


Same problem - GigiAUT - 2010-09-02

I've been having the same problem. I can't even get the SVN Repo Installer to work. I installed 9.11 about 2 or 3 weeks ago I think. I'm still pretty new to all this media centre stuff.

http://pastebin.com/4ct5ky3y