Script failed
#1
The subtitles add on just stopped working, I have tried deleteing the script.xbmc.subtitles folder and re installing it with no luck.

the file \resources\lib\gui.py is where it should be.

16:57:30 T:4976 NOTICE: -->Python Interpreter Initialized<--
16:57:30 T:4976 ERROR: Error Type: <type 'exceptions.ImportError'>
16:57:30 T:4976 ERROR: Error Contents: No module named gui
16:57:30 T:4976 ERROR: Traceback (most recent call last):
File "C:\Users\Bjornen\AppData\Roaming\XBMC\addons\script.xbmc.subtitles\default.py", line 22, in <module>
import gui
ImportError: No module named gui


The you tube add on doesnt seem to work either but I dont use it anyway, not sure if thats related..
Reply
#2
Same problem. Happened suddenly a couple of weeks ago I think.

My logfile says;

17:33:12 T:920 NOTICE: -->Python Interpreter Initialized<--
17:33:12 T:920 ERROR: Error Type: <type 'exceptions.Exception'>
17:33:12 T:920 ERROR: Error Contents: No valid addon id could be obtained. None was passed and the script wasn't executed in a normal xbmc manner.
17:33:12 T:920 ERROR: Traceback (most recent call last):
File "C:\Users\XBMC\AppData\Roaming\XBMC\addons\script.xbmc.subtitles\default.py", line 8, in <module>
__addon__ = xbmcaddon.Addon()
Exception: No valid addon id could be obtained. None was passed and the script wasn't executed in a normal xbmc manner.
Reply
#3
(2012-06-02, 17:33)johan.nyman Wrote: The subtitles add on just stopped working, I have tried deleteing the script.xbmc.subtitles folder and re installing it with no luck.

the file \resources\lib\gui.py is where it should be.

16:57:30 T:4976 NOTICE: -->Python Interpreter Initialized<--
16:57:30 T:4976 ERROR: Error Type: <type 'exceptions.ImportError'>
16:57:30 T:4976 ERROR: Error Contents: No module named gui
16:57:30 T:4976 ERROR: Traceback (most recent call last):
File "C:\Users\Bjornen\AppData\Roaming\XBMC\addons\script.xbmc.subtitles\default.py", line 22, in <module>
import gui
ImportError: No module named gui


The you tube add on doesnt seem to work either but I dont use it anyway, not sure if thats related..

python missing issue? lets see the full Debug Log
Reply
#4
(2012-06-08, 17:36)Berz Wrote: Same problem. Happened suddenly a couple of weeks ago I think.

My logfile says;

17:33:12 T:920 NOTICE: -->Python Interpreter Initialized<--
17:33:12 T:920 ERROR: Error Type: <type 'exceptions.Exception'>
17:33:12 T:920 ERROR: Error Contents: No valid addon id could be obtained. None was passed and the script wasn't executed in a normal xbmc manner.
17:33:12 T:920 ERROR: Traceback (most recent call last):
File "C:\Users\XBMC\AppData\Roaming\XBMC\addons\script.xbmc.subtitles\default.py", line 8, in <module>
__addon__ = xbmcaddon.Addon()
Exception: No valid addon id could be obtained. None was passed and the script wasn't executed in a normal xbmc manner.

not the same problem, full Debug Log
Reply
#5
Full log:
http://pastebin.com/nekhBgLE
Reply
#6
(2012-06-10, 13:24)johan.nyman Wrote: Full log:
http://pastebin.com/nekhBgLE

its not a Debug Log, you need to enable the debug logging
Reply
#7
hi, guys@ this is my favorite plugin it suddenly stop working, here is my log details, it it update related of smth else ? i've got the latest build of CrystalUbuntu

21:08:42 T:3021547792 DEBUG: OnKey: return (f00d) pressed, action is Select
21:08:42 T:3021547792 DEBUG: ExecuteXBMCAction : Translating Close
21:08:42 T:3021547792 DEBUG: ExecuteXBMCAction : To Close
21:08:42 T:3021547792 DEBUG: ExecuteXBMCAction : Translating XBMC.RunScript(script.xbmc.subtitles)
21:08:42 T:3021547792 DEBUG: ExecuteXBMCAction : To XBMC.RunScript(script.xbmc.subtitles)
21:08:42 T:3021547792 INFO: initializing python engine.
21:08:42 T:3021547792 DEBUG: new python thread created. id=206
21:08:42 T:2779155344 DEBUG: Thread XBPyThread start, auto delete: 0
21:08:42 T:2779155344 DEBUG: Python thread: start processing
21:08:42 T:2779155344 NOTICE: -->Python Interpreter Initialized<--
21:08:42 T:2779155344 DEBUG: Process - The source file to load is /root/.xbmc/addons/script.xbmc.subtitles/default.py
21:08:42 T:2779155344 DEBUG: Process - Setting the Python path to /root/.xbmc/addons/script.xbmc.subtitles:/root/.xbmc/addons/script.module.beautifulsoup/lib:/root/.xbmc/addons/script.common.plugin.cache/lib:/root/.xbmc/addons/script.module.xbmcswift/lib:/root/.xbmc/addons/script.module.simplejson/lib:/usr/local/share/xbmc/addons/script.module.pil/lib:/root/.xbmc/addons/script.module.danishaddons/:/root/.xbmc/addons/script.module.simple.downloader/lib:/root/.xbmc/addons/script.module.parsedom/lib:/root/.xbmc/addons/script.module.elementtree/lib:/usr/local/share/xbmc/addons/script.module.pysqlite/lib:/usr/local/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg:/usr/local/lib/python2.6/site-packages/pip-1.0-py2.6.egg:/usr/local/lib/python26.zip:/usr/local/lib/python2.6:/usr/local/lib/python2.6/plat-linux2:/usr/local/lib/python2.6/lib-tk:/usr/local/lib/python2.6/lib-old:/usr/local/lib/python2.6/lib-dynload:/usr/local/lib/python2.6/site-packages:
21:08:42 T:2779155344 DEBUG: Process - Entering source directory /root/.xbmc/addons/script.xbmc.subtitles
21:08:42 T:2779155344 DEBUG: Instantiating addon using automatically obtained id of "script.xbmc.subtitles" dependent on version 2.0 of the xbmc.python api
21:08:42 T:2779155344 DEBUG: ### [XBMC Subtitles-gui] - Addon Version: [3.2.1]
21:08:42 T:2779155344 DEBUG: ### [XBMC Subtitles-gui] - Manual Search : [True]
21:08:42 T:2779155344 DEBUG: ### [XBMC Subtitles-gui] - Default Service : [OpenSubtitles]
21:08:42 T:2779155344 DEBUG: ### [XBMC Subtitles-gui] - Services : u'OpenSubtitles', u'Subscenter', u'Subscene' (wiki)
21:08:42 T:2779155344 DEBUG: ### [XBMC Subtitles-gui] - Temp?: [False]
21:08:42 T:2779155344 DEBUG: ### [XBMC Subtitles-gui] - Rar?: [False]
21:08:42 T:2779155344 DEBUG: ### [XBMC Subtitles-gui] - File Path: [/home/transmission/Downloads/Hesher.2010.BRRIP.720P.H264-ZEKTORM/Hesher.2010.BRRIP.720P.H264-ZEKTORM.mp4]
21:08:42 T:2779155344 DEBUG: ### [XBMC Subtitles-gui] - Year: [2010]
21:08:42 T:2779155344 DEBUG: ### [XBMC Subtitles-gui] - Tv Show Title: []
21:08:42 T:2779155344 DEBUG: ### [XBMC Subtitles-gui] - Tv Show Season: []
21:08:42 T:2779155344 DEBUG: ### [XBMC Subtitles-gui] - Tv Show Episode: []
21:08:42 T:2779155344 DEBUG: ### [XBMC Subtitles-gui] - Movie/Episode Title: [Hesher]
21:08:42 T:2779155344 DEBUG: ### [XBMC Subtitles-gui] - Subtitle Folder: [/home/transmission/Downloads/Hesher.2010.BRRIP.720P.H264-ZEKTORM]
21:08:42 T:2779155344 DEBUG: ### [XBMC Subtitles-gui] - Languages: [English] [Russian] [French]
21:08:42 T:2779155344 DEBUG: ### [XBMC Subtitles-gui] - Parent Folder Search: [False]
21:08:42 T:2779155344 DEBUG: ### [XBMC Subtitles-gui] - Stacked(CD1/CD2)?: [False]
21:08:42 T:3021547792 DEBUG: CAnnouncementManager - Announcement: OnPause from xbmc
21:08:42 T:3021547792 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPause
21:08:42 T:3021547792 DEBUG: ------ Window Init (DialogSeekBar.xml) ------
21:08:42 T:3021547792 DEBUG: Alloc resources: 0.03ms (0.01 ms skin load)
21:08:42 T:2680327056 WARNING: CALSADirectSound::CALSADirectSound - device is not able to pause playback, will flush and prefix with 16328 frames
21:08:42 T:3021547792 DEBUG: ------ Window Init (/root/.xbmc/addons/skin.alaska.revisited.mod/720p/script-XBMC-Subtitles-main.xml) ------
21:08:42 T:3021547792 INFO: Loading skin file: /root/.xbmc/addons/skin.alaska.revisited.mod/720p/script-XBMC-Subtitles-main.xml
21:08:42 T:3021547792 DEBUG: Load /root/.xbmc/addons/skin.alaska.revisited.mod/720p/script-XBMC-Subtitles-main.xml: 9.81ms
21:08:42 T:2779155344 ERROR: Exception in python script callback execution
21:08:42 T:2779155344 ERROR: Traceback (most recent call last):
21:08:42 T:2779155344 ERROR: File "/root/.xbmc/addons/script.xbmc.subtitles/resources/lib/gui.py", line 26, in onInit
21:08:42 T:2779155344 ERROR: self.on_run()
21:08:42 T:2779155344 ERROR: File "/root/.xbmc/addons/script.xbmc.subtitles/resources/lib/gui.py", line 31, in on_run
21:08:42 T:2779155344 ERROR: self.list_services()
21:08:42 T:2779155344 ERROR: File "/root/.xbmc/addons/script.xbmc.subtitles/resources/lib/gui.py", line 437, in list_services
21:08:42 T:2779155344 ERROR: self.getControl( SERVICES_LIST ).reset()
21:08:42 T:2779155344 ERROR: TypeError
21:08:42 T:2779155344 ERROR: :
21:08:42 T:2779155344 ERROR: Non-Existent Control 150
Reply
#8
by the looks of things, skin.alaska.revisited.mod does not support new window, thats been in place for almost 2 years Smile

you can use a default window in the addon by removing(or backing up) /root/.xbmc/addons/skin.alaska.revisited.mod/720p/script-XBMC-Subtitles-main.xml

also, please do not c/p logs in the forum, read Debug Log guidelines on how to do it properly
Reply
#9
Have a similar problem.

xbmc subtitles script suddenly started not to launch. "script error"

http://pastebin.com/x0zn4m07
Reply
#10
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
Reply
#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.
Reply
#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
Image
Reply
#13
<t>XBMC.RunScript(script.xbmc.subtitles)</t>

should be enough, and should work just fine
Reply
#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
Image
Reply
#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 )!
Reply

Logout Mark Read Team Forum Stats Members Help
Script failed 0