Script failed

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
cagatayg Offline
Junior Member
Posts: 2
Joined: Jun 2012
Reputation: 0
Post: #11
(2012-06-16 11:44)Smobbo Wrote:  The problem is version 3.2.1 and 3.2.0. Just rollback to 3.1.0 and it works again.
I'm using aeon nox on xbmc Eden and have the same problem


tnx it worked. but now opensubtitles doesnt work.
find quote
elitegamer360 Offline
Posting Freak
Posts: 832
Joined: Feb 2007
Reputation: 13
Location: London, UK
Post: #12
@amet: I just want to let you know that I tested the latest sub version 3.2.1 XBMC 11.0 and it only works if start it from a skin shortcut OSD menu button, otherwise it will crash like the others said when called using a shortcut in keyboard.xml triggered from an MCE remote, string I use listed below:

Quote:<t>XBMC.RunScript("C:\Users\Elite\AppData\Roaming\XBMC\addons\script.xbmc.subtitles\default.py")</t>


so any version post v3.1.0 will crash and result in script failure error. Hope this can narrow down the troubleshooting so we can get the script working again. Any thing required from me i,e. debug log let me know.

EDIT: No worries will post debug log tomorrow Big Grin

Cheers,
EG.

[Image: elitegamer360.jpg]
[Image: newsigxbox05_3.png]
(This post was last modified: 2012-06-19 00:52 by elitegamer360.)
find quote
amet Offline
I wave my private parts at your aunties!
Posts: 3,486
Joined: Jul 2009
Reputation: 18
Location: Novi Sad / Dubai
Post: #13
<t>XBMC.RunScript(script.xbmc.subtitles)</t>

should be enough, and should work just fine


Always read the XBMC_Online_Manual,Frequently_Asked_Questions and search the forum before posting.
For troubleshooting and bug reporting use -> Log_file.
find quote
elitegamer360 Offline
Posting Freak
Posts: 832
Joined: Feb 2007
Reputation: 13
Location: London, UK
Post: #14
(2012-06-19 07:38)amet Wrote:  <t>XBMC.RunScript(script.xbmc.subtitles)</t>

should be enough, and should work just fine

Thats perfect mate thank you so much, so no need to specify script location any more, Sick! Big Grin

Cheers,
EG.

[Image: elitegamer360.jpg]
[Image: newsigxbox05_3.png]
find quote
Smobbo Offline
Senior Member
Posts: 145
Joined: Oct 2010
Reputation: 0
Location: The Netherlands
Post: #15
(2012-06-19 07:38)amet Wrote:  <t>XBMC.RunScript(script.xbmc.subtitles)</t>

should be enough, and should work just fine

Thanks! That fixed it for me aswell, i used the same shortcut on the keymap as elitegamer (got it from one of his posts for remotes Smile )!
find quote
Eminem Offline
Junior Member
Posts: 3
Joined: Jun 2012
Reputation: 0
Post: #16
Got some subtitles script failed errors to.

Log file here: http://xbmclogs.com/show.php?id=4131

Edit: Got help here http://forum.xbmc.org/showthread.php?tid...pid1135877
(This post was last modified: 2012-06-27 14:19 by Eminem.)
find quote
johan.nyman Offline
Junior Member
Posts: 3
Joined: Jun 2012
Reputation: 0
Post: #17
Okay, i enabled dubugging, hope I got it right: http://pastebin.com/RnKMbGGT

This seems like the important part:

12:02:45 T:2832 DEBUG: CApplication::OnKey: return (f00d) pressed, action is Select
12:02:45 T:2832 DEBUG: CApplication::ExecuteXBMCAction : Translating Close
12:02:45 T:2832 DEBUG: CApplication::ExecuteXBMCAction : To Close
12:02:45 T:2832 DEBUG: CApplication::ExecuteXBMCAction : Translating XBMC.RunScript($INFO[Skin.String(SubtitleScript_Path)])
12:02:45 T:2832 DEBUG: CApplication::ExecuteXBMCAction : To XBMC.RunScript(script.xbmc.subtitles)
12:02:45 T:2832 INFO: initializing python engine.
12:02:45 T:2832 DEBUG: new python thread created. id=2
12:02:45 T:1316 DEBUG: Thread XBPyThread start, auto delete: 0
12:02:45 T:1316 DEBUG: Python thread: start processing
12:02:46 T:1316 NOTICE: -->Python Interpreter Initialized<--
12:02:46 T:1316 DEBUG: XBPyThread::Process - The source file to load is C:\Users\Bj������n\AppData\Roaming\XBMC\addons\script.xbmc.subtitles\default.py
12:02:46 T:1316 DEBUG: XBPyThread::Process - Setting the Python path to C:\Users\Bj������n\AppData\Roaming\XBMC\addons\script.xbmc.subtitles;C:\Program Files (x86)\XBMC\addons\script.module.simplejson\lib;C:\Users\Bj������n\AppData\Roamin​g\XBMC\addons\script.module.beautifulsoup\lib;C:\Program Files (x86)\XBMC\addons\script.module.pil\lib;C:\Program Files (x86)\XBMC\addons\script.module.pysqlite\lib;C:\Program Files (x86)\XBMC\system\python\DLLs;C:\Program Files (x86)\XBMC\system\python\Lib;C:\Program Files (x86)\XBMC\python26.zip;C:\Program Files (x86)\XBMC\system\python\lib\plat-win;C:\Program Files (x86)\XBMC\system\python\lib\lib-tk;C:\Program Files (x86)\XBMC;C:\Program Files (x86)\XBMC\system\python;C:\Program Files (x86)\XBMC\system\python\lib\site-packages;
12:02:46 T:1316 DEBUG: XBPyThread::Process - Entering source directory C:\Users\Bj������n\AppData\Roaming\XBMC\addons\script.xbmc.subtitles
12:02:46 T:1316 DEBUG: Instantiating addon using automatically obtained id of "script.xbmc.subtitles" dependent on version 2.0 of the xbmc.python api
12:02:46 T:1316 INFO: -->Python script returned the following error<--
12:02:46 T:1316 ERROR: Error Type: <type 'exceptions.ImportError'>
12:02:46 T:1316 ERROR: Error Contents: No module named gui
12:02:46 T:1316 ERROR: Traceback (most recent call last):
File "C:\Users\Bj������n\AppData\Roaming\XBMC\addons\script.xbmc.subtitles\default.py", line 22, in <module>
import gui
ImportError: No module named gui
12:02:46 T:1316 INFO: -->End of Python script error report<--
12:02:46 T:1316 INFO: Python script stopped
find quote
dgolf Offline
Junior Member
Posts: 2
Joined: Jul 2012
Reputation: 0
Post: #18
(2012-06-19 07:38)amet Wrote:  <t>XBMC.RunScript(script.xbmc.subtitles)</t>

should be enough, and should work just fine

I tried this and i still have "script failed". Any news on this issue?

Thanks in advance!
find quote
dgolf Offline
Junior Member
Posts: 2
Joined: Jul 2012
Reputation: 0
Post: #19
(2012-07-04 23:46)dgolf Wrote:  
(2012-06-19 07:38)amet Wrote:  <t>XBMC.RunScript(script.xbmc.subtitles)</t>

should be enough, and should work just fine

I tried this and i still have "script failed". Any news on this issue?

Thanks in advance!

I also tried to roll back to 3.2.0 and 3.1.0. Tried uninstall/install, deactivate/deactivate.
Eveything worked fine until a week ago. Now I have "script failed" no matter what i do.
Any ideas anyone?.
find quote
Post Reply