2012-09-18, 06:22
(2012-09-17, 14:48)dinki Wrote:(2012-09-17, 04:04)xj-boonie Wrote: So I installed this (Sage and XBMC are on the same machine) and made sure sage service is running and the sage web server is running, but I get an error when I try this add-on in XBMC - script error. How do I find out what the error is done.
Close XBMC. Open it again then try the plugin. Open this file:
Take a look in C:\Users\[YOURUSERNAME]\AppData\Roaming\XBMC\xbmc.log
The error will be the last few lines in the file.
here's the log segment:
00:18:11 T:7708 NOTICE: Webserver: Starting...
00:18:12 T:7708 ERROR: WebServer: Failed to start the webserver
00:18:12 T:7708 NOTICE: ES: Starting event server
00:18:12 T:8040 NOTICE: ES: Starting UDP Event server on 0.0.0.0:9777
00:18:12 T:8040 NOTICE: UDP: Listening on port 9777
00:18:12 T:3564 NOTICE: -->Python Interpreter Initialized<--
00:18:12 T:3564 NOTICE: StorageServer Module loaded RUN
00:18:12 T:7800 NOTICE: -->Python Interpreter Initialized<--
00:18:12 T:3564 NOTICE: Previous line repeats 1 times.
00:18:12 T:3564 NOTICE: StorageClient-1.1.0 Starting server
00:18:12 T:3564 NOTICE: StorageServer-1.1.0 Storage Server starting C:\Users\Mike\AppData\Roaming\XBMC\userdata\Database\commoncache.db
00:18:14 T:6468 WARNING: XFILE::CFileCurl::CReadState::FillBuffer: curl failed with code 28
00:18:14 T:6468 ERROR: CFileCurl::CReadState::Open, didn't get any data from stream.
00:18:16 T:6468 WARNING: XFILE::CFileCurl::CReadState::FillBuffer: curl failed with code 28
00:18:16 T:6468 ERROR: CFileCurl::CReadState::Open, didn't get any data from stream.
00:18:18 T:6468 WARNING: XFILE::CFileCurl::CReadState::FillBuffer: curl failed with code 28
00:18:18 T:6468 ERROR: CFileCurl::CReadState::Open, didn't get any data from stream.
00:18:20 T:4196 NOTICE: -->Python Interpreter Initialized<--
00:18:20 T:4196 NOTICE: CommonFunctions-1.1.0
00:18:23 T:6776 NOTICE: -->Python Interpreter Initialized<--
00:18:23 T:6776 NOTICE: CommonFunctions-1.1.0
00:18:23 T:6776 NOTICE: http://Sage:[email protected]:8090/sage...MediaFiles("T"),"GetMediaTitle")&size=500&encoder=json
00:18:23 T:6776 NOTICE: *** sagex request URL:http://Sage:[email protected]:8090/sagex/api?command=EvaluateExpression&1=GetSeriesDescription(GetShowSeriesInfo(GetShowForExternalID("")))&encoder=json
00:18:23 T:6776 ERROR: Error Type: <type 'exceptions.ValueError'>
00:18:23 T:6776 ERROR: Error Contents: No JSON object could be decoded
00:18:23 T:6776 ERROR: Traceback (most recent call last):
File "C:\Users\Mike\AppData\Roaming\XBMC\addons\kricker-plugin.video.SageTV-3cb5309\default.py", line 530, in <module>
VIEWLISTOFRECORDEDSHOWS(url,name)
File "C:\Users\Mike\AppData\Roaming\XBMC\addons\kricker-plugin.video.SageTV-3cb5309\default.py", line 60, in VIEWLISTOFRECORDEDSHOWS
addDir('[All Shows]',strUrl + '/sagex/api?command=GetMediaFiles&1="T"&size=500&encoder=json',11,iconImage,'')
File "C:\Users\Mike\AppData\Roaming\XBMC\addons\kricker-plugin.video.SageTV-3cb5309\default.py", line 466, in addDir
strSeriesDescription = getShowSeriesDescription(showexternalid)
File "C:\Users\Mike\AppData\Roaming\XBMC\addons\kricker-plugin.video.SageTV-3cb5309\default.py", line 429, in getShowSeriesDescription
return executeSagexAPIJSONCall(sageApiUrl, "Result")
File "C:\Users\Mike\AppData\Roaming\XBMC\addons\kricker-plugin.video.SageTV-3cb5309\default.py", line 439, in executeSagexAPIJSONCall
resp = unicodeToStr(json.JSONDecoder().decode(fileData))
File "C:\Program Files (x86)\XBMC\addons\script.module.simplejson\lib\simplejson\decoder.py", line 335, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Program Files (x86)\XBMC\addons\script.module.simplejson\lib\simplejson\decoder.py", line 353, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
00:18:23 T:7708 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.SageTV/?url=http%3A%2F%2FSage%3Asage%40192.168.1.101%3A8090%2Fsagex%2Fapi%3Fcommand%3DEvaluateExpression%261%3DGroupByMethod%28GetMediaFiles%28%22T%22%29%2C%22GetMediaTitle%22%29%26size%3D500%26encoder%3Djson&mode=1&name=1.+Watch+Recordings
00:18:23 T:7708 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.SageTV/?url=http%3A%2F%2FSage%3Asage%40192.168.1.101%3A8090%2Fsagex%2Fapi%3Fcommand%3DEvaluateExpression%261%3DGroupByMethod%28GetMediaFiles%28%22T%22%29%2C%22GetMediaTitle%22%29%26size%3D500%26encoder%3Djson&mode=1&name=1.+Watch+Recordings) failed
00:18:23 T:2624 NOTICE: -->Python Interpreter Initialized<--
00:18:24 T:2624 NOTICE: CommonFunctions-1.1.0
Mike