Jump to content

Script Failed to Load


millgeek

Recommended Posts

millgeek

Was trying XBMB3C for the first time and I keep getting a Script Failed! error. According to the XBMC log, when I XBMB3C starts, this is as far as it gets. Any suggestions?

 

 

22:21:18 T:1716  NOTICE: ===== XBMB3C START =====

22:21:18 T:1716  NOTICE: XBMB3C -> running Python: sys.version_info(major=2, minor=7, micro=5, releaselevel='final', serial=0)
22:21:18 T:1716  NOTICE: XBMB3C -> running XBMB3C: 0.9.12
22:21:18 T:1716  NOTICE: 13.0 Git:20140505-f42f5b5
22:21:18 T:1716   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.ValueError'>
                                            Error Contents: invalid literal for int() with base 10: ''
                                            Traceback (most recent call last):
                                              File "C:\Users\User\AppData\Roaming\XBMC\addons\plugin.video.xbmb3c\default.py", line 97, in <module>
                                                logLevel = int(levelString)
                                            ValueError: invalid literal for int() with base 10: ''
                                            -->End of Python script error report<--
22:21:18 T:5452   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.xbmb3c/?content_type=video
22:21:18 T:5452   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.xbmb3c/?content_type=video) failed
22:21:18 T:2716  NOTICE: Thread BackgroundLoader start, auto delete: false
 

 

Link to comment
Share on other sites

millgeek

I started with the official repo, then switched to the beta repo. I did not try directly from Git, but I will now and let you know how it goes. 

Link to comment
Share on other sites

MrLinford

I am also getting this issue, XBMB3C 9.5 & 9.13 on Froyo XBMC. MB3 Server Version 3.0.5264.17006

 

XBMC Log:

v9.0

18:43:05 T:1317774432  NOTICE: ===== XBMB3C START =====
18:43:05 T:1317774432  NOTICE: XBMB3C -> running Python: sys.version_info(major=2, minor=7, micro=1, releaselevel='final', serial=0)
18:43:05 T:1317774432  NOTICE: XBMB3C -> running XBMB3C: 0.8.6
18:43:05 T:1317774432  NOTICE: 12.2 Git:20140331-2380161
18:43:05 T:1317774432  NOTICE: XBMB3C -> Platform: Linux/RPi
18:43:06 T:1317774432  NOTICE: XBMB3C 1 -> <module> : XBMB3C -> Flatten is:
18:43:06 T:1317774432  NOTICE: XBMB3C -> LogLevel:  2
18:43:06 T:1317774432   DEBUG: LocalizeStrings: no strings.po file exist at /root/.xbmc/addons/plugin.video.xbmb3c/resources/language/English, fallback to strings.xml
18:43:06 T:1091795216   DEBUG: ------ Window Init (DialogOK.xml) ------
18:43:06 T:1091795216    INFO: Loading skin file: DialogOK.xml, load type: KEEP_IN_MEMORY
18:43:06 T:1091795216   DEBUG: Load DialogOK.xml: 19.66ms
18:43:06 T:1091795216   DEBUG: Alloc resources: 22.18ms  (20.78 ms skin load)
18:43:06 T:1135854688   DEBUG: webserver: request received for /jsonrpc
18:43:10 T:1091795216   DEBUG: Previous line repeats 4 times.
18:43:10 T:1091795216   DEBUG: OnKey: 11 (0b) pressed, action is Select
18:43:11 T:1091795216   DEBUG: ------ Window Deinit (DialogOK.xml) ------
18:43:11 T:1317774432  NOTICE: XBMB3C 1 -> <module> : XBMB3C -> Script argument is 1
18:43:11 T:1317774432  NOTICE: XBMB3C 0 -> getXbmcVersion : Version : 12.2 - {u'major': 12, u'tag': u'stable', u'minor': 2, u'revision': u'20140331-2380161'}
18:43:11 T:1317774432  NOTICE: XBMB3C 2 -> get_params : Parameter string: ?content_type=executable
18:43:11 T:1317774432  NOTICE: XBMB3C 2 -> get_params : XBMB3C -> Detected parameters: {'content_type': 'executable'}
18:43:11 T:1317774432  NOTICE: XBMB3C 1 -> <module> : XBMB3C -> Script params is {'content_type': 'executable'}
18:43:11 T:1135854688   DEBUG: webserver: request received for /jsonrpc
18:43:13 T:1317774432   DEBUG: Previous line repeats 1 times.
18:43:13 T:1317774432  NOTICE: XBMB3C 1 -> <module> : XBMB3C Service Timestamp:
18:43:13 T:1317774432  NOTICE: XBMB3C 1 -> <module> : XBMB3C Current Timestamp: 1401730993
18:43:13 T:1317774432   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.ValueError'>
                                            Error Contents: invalid literal for int() with base 10: ''
                                            Traceback (most recent call last):
                                              File "/root/.xbmc/addons/plugin.video.xbmb3c/default.py", line 1744, in <module>
                                                if int(xbmcgui.Window(10000).getProperty("XBMB3C_Service_Timestamp")) + 10 < int(time.time()):
                                            ValueError: invalid literal for int() with base 10: ''
                                            -->End of Python script error report<--
18:43:13 T:1091795216   DEBUG: ------ Window Init (DialogKaiToast.xml) ------
18:43:13 T:1091795216   DEBUG: Window DialogKaiToast.xml was already loaded
18:43:13 T:1091795216   DEBUG: Alloc resources: 0.02m
18:43:13 T:1135854688   DEBUG: webserver: request received for /jsonrpc
18:43:13 T:1317774432    INFO: Python script stopped
18:43:13 T:1317774432   DEBUG: Thread XBPyThread 1317774432 terminating
18:43:13 T:1091795216   DEBUG: waiting for python thread 5 (/root/.xbmc/addons/plugin.video.xbmb3c/default.py) to stop
18:43:13 T:1091795216   DEBUG: python thread 5 (/root/.xbmc/addons/plugin.video.xbmb3c/default.py) destructed
18:43:13 T:1235752032   DEBUG:  WaitOnScriptResult - plugin exited prematurely - terminating
18:43:13 T:1091795216   ERROR: GetDirectory - Error getting plugin://plugin.video.xbmb3c/?content_type=executable
18:43:13 T:1091795216   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.xbmb3c/?content_type=executable) failed
18:43:13 T:1091795216   DEBUG: CGUIMediaWindow::GetDirectory (addons://sources/executable/)
18:43:13 T:1091795216   DEBUG:   ParentPath = []
18:43:13 T:1317774432  NOTICE: Thread Background Loader start, auto delete: false
18:43:13 T:1317774432   DEBUG: Thread Background Loader 1317774432 terminating
18:43:13 T:1091795216   DEBUG: ------ Window Deinit (DialogBusy.xml) ------
18:43:14 T:1135854688   DEBUG: webserver: request received for /jsonrpc
18:43:18 T:1091795216   DEBUG: Previous line repeats 3 times.
18:43:18 T:1091795216   DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------
18:43:18 T:1135854688   DEBUG: webserver: request received for /jsonrpc
18:43:32 T:1091795216   DEBUG: Previous line repeats 13 times.
18:43:32 T:1091795216   DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/ImageLib-arm.so)
18:43:32 T:1091795216   DEBUG: Unloading: ImageLib-arm.so
18:43:33 T:1135854688   DEBUG: webserver: request received for /jsonrpc

 

v9.13

18:13:16 T:1293436000  NOTICE: ===== XBMB3C START =====
18:13:16 T:1293436000  NOTICE: XBMB3C -> running Python: sys.version_info(major=2, minor=7, micro=1, releaselevel='final', serial=0)
18:13:16 T:1293436000  NOTICE: XBMB3C -> running XBMB3C: 0.9.12
18:13:16 T:1293436000  NOTICE: 12.2 Git:20140331-2380161
18:13:16 T:1293436000  NOTICE: XBMB3C -> Platform: Linux/RPi
18:13:16 T:1293436000  NOTICE: XBMB3C -> LogLevel:  0
18:13:16 T:1293436000   DEBUG: LocalizeStrings: no strings.po file exist at /root/.xbmc/addons/plugin.video.xbmb3c/resources/language/English, fallback to strings.xml
18:13:16 T:1293436000  NOTICE: XBMB3C 0 -> Version : 12.2 - {u'major': 12, u'tag': u'stable', u'minor': 2, u'revision': u'20140331-2380161'}
18:13:16 T:1345782880  NOTICE: Server details string : (Craig) (Craig)
18:13:16 T:1293436000 WARNING: GetDurationFromMinuteString <runtime> should be in minutes. Interpreting 'None' as 0 minutes
18:13:16 T:1293436000   ERROR: EXCEPTION: argument "value" for method "setProperty" must be unicode or str
18:13:16 T:1293436000   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.TypeError'>
                                            Error Contents: argument "value" for method "setProperty" must be unicode or str
                                            Traceback (most recent call last):
                                              File "/root/.xbmc/addons/plugin.video.xbmb3c/default.py", line 2253, in <module>
                                                displaySections()
                                              File "/root/.xbmc/addons/plugin.video.xbmb3c/default.py", line 735, in displaySections
                                                dirItems.append(addGUIItem(s_url, details, extraData))
                                              File "/root/.xbmc/addons/plugin.video.xbmb3c/default.py", line 639, in addGUIItem
                                                list.setProperty('TotalSeasons',extraData.get('TotalSeasons'))
                                            TypeError: argument "value" for method "setProperty" must be unicode or str
                                            -->End of Python script error report<--
18:13:16 T:1091795216   DEBUG: ------ Window Init (DialogKaiToast.xml) ------
18:13:16 T:1091795216   DEBUG: Window DialogKaiToast.xml was already loaded
18:13:16 T:1091795216   DEBUG: Alloc resources: 0.02m
18:13:17 T:1293436000    INFO: Python script stopped
18:13:17 T:1169409120   DEBUG:  WaitOnScriptResult - plugin exited prematurely - terminating
18:13:17 T:1293436000   DEBUG: Thread XBPyThread 1293436000 terminating
18:13:17 T:1091795216   ERROR: GetDirectory - Error getting plugin://plugin.video.xbmb3c/?content_type=video
18:13:17 T:1091795216   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.xbmb3c/?content_type=video) failed
18:13:17 T:1091795216   DEBUG: CGUIMediaWindow::GetDirectory (addons://sources/video/)
18:13:17 T:1091795216   DEBUG:   ParentPath = []
18:13:17 T:1293436000  NOTICE: Thread Background Loader start, auto delete: false
18:13:17 T:1091795216   DEBUG: waiting for python thread 9 (/root/.xbmc/addons/plugin.video.xbmb3c/default.py) to stop
18:13:17 T:1091795216   DEBUG: python thread 9 (/root/.xbmc/addons/plugin.video.xbmb3c/default.py) destructed
18:13:17 T:1293436000   DEBUG: Thread Background Loader 1293436000 terminating
18:13:17 T:1091795216   DEBUG: ------ Window Deinit (DialogBusy.xml) ------
18:13:17 T:1345782880  NOTICE: Server details string : (Craig) (Craig)
18:13:21 T:1119077472  NOTICE: Previous line repeats 3 times.
18:13:21 T:1119077472   DEBUG: webserver: request received for /jsonrpc
18:13:21 T:1345782880   DEBUG: Previous line repeats 4 times.
18:13:21 T:1345782880  NOTICE: Server details string : (Craig) (Craig)
18:13:22 T:1091795216   DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------
18:13:22 T:1119077472   DEBUG: webserver: request received for /jsonrpc
18:13:22 T:1345782880  NOTICE: Server details string : (Craig) (Craig)
18:13:23 T:1119077472   DEBUG: webserver: request received for /jsonrpc
18:13:23 T:1345782880  NOTICE: Server details string : (Craig) (Craig)
18:13:24 T:1119077472   DEBUG: webserver: request received for /jsonrpc
18:13:24 T:1345782880  NOTICE: Server details string : (Craig) (Craig)
18:13:25 T:1119077472   DEBUG: webserver: request received for /jsonrpc
18:13:25 T:1345782880  NOTICE: Server details string : (Craig) (Craig)
18:13:47 T:1379337312  NOTICE: Previous line repeats 20 times.
18:13:47 T:1379337312   DEBUG: Thread Jobworker 1379337312 terminating (autodelete)
18:13:47 T:1169409120   DEBUG: Thread Jobworker 1169409120 terminating (autodelete)
18:13:47 T:1387725920   DEBUG: Thread Jobworker 1387725920 terminating (autodelete)
18:13:47 T:1345782880  NOTICE: Server details string : (Craig) (Craig)
18:14:14 T:1152631904  NOTICE: Previous line repeats 26 times.
18:14:14 T:1152631904  NOTICE: ES: Client  from 192.168.0.4 timed out
18:14:15 T:1345782880  NOTICE: Server details string : (Craig) (Craig)
18:16:14 T:1091795216  NOTICE: Previous line repeats 114 times.
18:16:14 T:1091795216   DEBUG: CAnnouncementManager - Announcement: OnScreensaverActivated from xbmc
18:16:14 T:1091795216   DEBUG: GOT ANNOUNCEMENT, type: 4, from xbmc, message OnScreensaverActivated
18:16:14 T:1091795216   DEBUG: ------ Window Init () ------
18:16:14 T:1091795216   DEBUG: Alloc resources: 0.05ms  (0.05 ms skin load)
18:16:15 T:1345782880  NOTICE: Server details string : (Craig) (Craig)
Edited by MrLinford
Link to comment
Share on other sites

xnappo

I don't think that is the same thing.  Can you set the XBMB3C log level to 1 and post a full log to pastebin?

 

xnappo

Link to comment
Share on other sites

MrLinford

I don't think it is now either. Got mine working again. Uninstalled the addon and removed any trace of it that was left behind, before installing a fresh copy.

  • Like 1
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...