2011-11-14, 09:38
ronie Wrote:script.watchlist-0.0.4.zip
I have a feeling this is kinda a stupid question (its late) but how do I use this? I tried to install it as an addon but that didn't work. I'm on eden-pre.
ronie Wrote:script.watchlist-0.0.4.zip
bnevets27 Wrote:I have a feeling this is kinda a stupid question (its late) but how do I use this? I tried to install it as an addon but that didn't work. I'm on eden-pre.
bnevets27 Wrote:I have a feeling this is kinda a stupid question (its late) but how do I use this? I tried to install it as an addon but that didn't work. I'm on eden-pre.
silvine Wrote:I tried this under the NEON skin in Openelec and it didn't work. Any ideas?
Do I have to use a particular skin or install of XBMC?
ronie Wrote:please respect the fact that this is a skin dev forum,
cheers :-)
snipah Wrote:after a reboot everything i working great again, but the script error sucks.
Did I do something wrong? do you need more info?
log("### load response")
[b] log("### json response: %s" % json_query)[/b]
json_response = simplejson.loads(json_query)
odt_x Wrote:Here you go,http://pastebin.com/wbUnCBg8
In this log I ran with a custom script where I commented out:
# self._fetch_movies()
# self._set_movie_properties()
And added couple of log points to episodes
ronie Wrote:can you reproduce this?
if so, mind adding some logging to the script and post another Debug Log.
in script.watchlist/default.py, line 34, insert the line in old:
Code:log("### load response")
[b] log("### json response: %s" % json_query)[/b]
json_response = simplejson.loads(json_query)
Hitcher Wrote:Skin Development GUI and Web skins/themes, graphics development and suggestions.
No End-User Support Requests! Only skinners and graphic artists.
snipah Wrote:Thanks ronie,
yes, it resproduceable. I added the bold line to default.py. Log becomes quite huge afterwards, so I put it to pastebin. Hope it helps...
http://pastebin.com/8NBUsUB9
if you need additional information...please, please ask!
snipah Wrote:Thanks ronie,
yes, it resproduceable. I added the bold line to default.py. Log becomes quite huge afterwards, so I put it to pastebin. Hope it helps...
http://pastebin.com/8NBUsUB9
if you need additional information...please, please ask!
ronie Wrote:well...it's a long shot, but worth a try...
could you replace script.module.simplejson in your addon dir
with this one: script.module.simplejson-2.2.1.zip
20:16:36 T:2856819568 INFO: Scriptresult: Success
20:16:36 T:2815044464 INFO: -->Python script returned the following error<--
20:16:36 T:2815044464 ERROR: Error Type: <class 'simplejson.decoder.JSONDecodeError'>
20:16:36 T:2815044464 ERROR: Error Contents: Expecting property name: line 1 column 2929 (char 2929)
20:16:36 T:2856819568 INFO: Python script stopped
20:16:36 T:2856819568 DEBUG: Thread XBPyThread 2856819568 terminating
20:16:36 T:2815044464 ERROR: Traceback (most recent call last):
File "/home/xbmc/.xbmc/addons/script.watchlist/default.py", line 184, in <module>
Main()
File "/home/xbmc/.xbmc/addons/script.watchlist/default.py", line 18, in __init__
self._fetch_movies()
File "/home/xbmc/.xbmc/addons/script.watchlist/default.py", line 35, in _fetch_movies
json_response = simplejson.loads(json_query)
File "/home/xbmc/.xbmc/addons/script.module.simplejson/lib/simplejson/__init__.py", line 413, in loads
return _default_decoder.decode(s)
File "/home/xbmc/.xbmc/addons/script.module.simplejson/lib/simplejson/decoder.py", line 402, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/home/xbmc/.xbmc/addons/script.module.simplejson/lib/simplejson/decoder.py", line 418, in raw_decode
obj, end = self.scan_once(s, idx)
File "/home/xbmc/.xbmc/addons/script.module.simplejson/lib/simplejson/scanner.py", line 71, in scan_once
return _scan_once(string, idx)
File "/home/xbmc/.xbmc/addons/script.module.simplejson/lib/simplejson/scanner.py", line 42, in _scan_once
_scan_once, object_hook, object_pairs_hook, memo)
File "/home/xbmc/.xbmc/addons/script.module.simplejson/lib/simplejson/decoder.py", line 230, in JSONObject
value, end = scan_once(s, end)
File "/home/xbmc/.xbmc/addons/script.module.simplejson/lib/simplejson/scanner.py", line 42, in _scan_once
_scan_once, object_hook, object_pairs_hook, memo)
File "/home/xbmc/.xbmc/addons/script.module.simplejson/lib/simplejson/decoder.py", line 230, in JSONObject
value, end = scan_once(s, end)
File "/home/xbmc/.xbmc/addons/script.module.simplejson/lib/simplejson/scanner.py", line 44, in _scan_once
return parse_array((string, idx + 1), _scan_once)
File "/home/xbmc/.xbmc/addons/script.module.simplejson/lib/simplejson/decoder.py", line 284, in JSONArray
value, end = scan_once(s, end)
File "/home/xbmc/.xbmc/addons/script.module.simplejson/lib/simplejson/scanner.py", line 42, in _scan_once
_scan_once, object_hook, object_pairs_hook, memo)
File "/home/xbmc/.xbmc/addons/script.module.simplejson/lib/simplejson/decoder.py", line 230, in JSONObject
value, end = scan_once(s, end)
File "/home/xbmc/.xbmc/addons/script.module.simplejson/lib/simplejson/scanner.py", line 42, in _scan_once
_scan_once, object_hook, object_pairs_hook, memo)
File "/home/xbmc/.xbmc/addons/script.module.simplejson/lib/simplejson/decoder.py", line 262, in JSONObject
raise JSONDecodeError("Expecting property name", s, end - 1)
JSONDecodeError: Expecting property name: line 1 column 2929 (char 2929)
20:16:36 T:2815044464 INFO: -->End of Python script error report<--
snipah Wrote:What does that mean?