Script failed

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
johan.nyman Offline
Junior Member
Posts: 3
Joined: Jun 2012
Reputation: 0
Post: #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..
(This post was last modified: 2012-06-02 17:34 by johan.nyman.)
find quote
Berz Offline
Member
Posts: 68
Joined: Sep 2008
Reputation: 0
Location: Norway
Post: #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.
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: #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


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
amet Offline
I wave my private parts at your aunties!
Posts: 3,486
Joined: Jul 2009
Reputation: 18
Location: Novi Sad / Dubai
Post: #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


Always read the XBMC_Online_Manual,Frequently_Asked_Questions and search the forum before posting.
For troubleshooting and bug reporting use -> Log_file.
(This post was last modified: 2012-06-08 20:27 by amet.)
find quote
johan.nyman Offline
Junior Member
Posts: 3
Joined: Jun 2012
Reputation: 0
Post: #5
Full log:
http://pastebin.com/nekhBgLE
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: #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


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
synthetix Offline
Junior Member
Posts: 3
Joined: May 2012
Reputation: 0
Post: #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'
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
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: #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


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
cagatayg Offline
Junior Member
Posts: 2
Joined: Jun 2012
Reputation: 0
Post: #9
Have a similar problem.

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

http://pastebin.com/x0zn4m07
find quote
Smobbo Offline
Senior Member
Posts: 145
Joined: Oct 2010
Reputation: 0
Location: The Netherlands
Post: #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
find quote
Post Reply