Created
October 13, 2013 14:25
-
-
Save mikedm139/6962926 to your computer and use it in GitHub Desktop.
CouchPotato error parsing flixster json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ERROR [ couchpotato.core.event] Error in event "automation.get_movies", that wasn't caught: Traceback (most recent call last): | |
File "/usr/local/couchpotato_v2/couchpotato/core/event.py", line 12, in runHandler | |
return handler(*args, **kwargs) | |
File "/usr/local/couchpotato_v2/couchpotato/core/providers/automation/base.py", line 33, in _getMovies | |
return self.getIMDBids() | |
File "/usr/local/couchpotato_v2/couchpotato/core/providers/automation/flixster/main.py", line 24, in getIMDBids | |
for movie in self.getWatchlist(): | |
File "/usr/local/couchpotato_v2/couchpotato/core/providers/automation/flixster/main.py", line 43, in getWatchlist | |
data = json.loads(self.getHTMLData(self.url % user_id)) | |
File "/usr/lib/python2.6/json/__init__.py", line 307, in loads | |
return _default_decoder.decode(s) | |
File "/usr/lib/python2.6/json/decoder.py", line 319, in decode | |
obj, end = self.raw_decode(s, idx=_w(s, 0).end()) | |
File "/usr/lib/python2.6/json/decoder.py", line 336, in raw_decode | |
obj, end = self._scanner.iterscan(s, **kw).next() | |
File "/usr/lib/python2.6/json/scanner.py", line 55, in iterscan | |
rval, next_pos = action(m, context) | |
File "/usr/lib/python2.6/json/decoder.py", line 217, in JSONArray | |
value, end = iterscan(s, idx=end, context=context).next() | |
File "/usr/lib/python2.6/json/scanner.py", line 55, in iterscan | |
rval, next_pos = action(m, context) | |
File "/usr/lib/python2.6/json/decoder.py", line 183, in JSONObject | |
value, end = iterscan(s, idx=end, context=context).next() | |
File "/usr/lib/python2.6/json/scanner.py", line 55, in iterscan | |
rval, next_pos = action(m, context) | |
File "/usr/lib/python2.6/json/decoder.py", line 183, in JSONObject | |
value, end = iterscan(s, idx=end, context=context).next() | |
File "/usr/lib/python2.6/json/scanner.py", line 55, in iterscan | |
rval, next_pos = action(m, context) | |
File "/usr/lib/python2.6/json/decoder.py", line 217, in JSONArray | |
value, end = iterscan(s, idx=end, context=context).next() | |
File "/usr/lib/python2.6/json/scanner.py", line 55, in iterscan | |
rval, next_pos = action(m, context) | |
File "/usr/lib/python2.6/json/decoder.py", line 183, in JSONObject | |
value, end = iterscan(s, idx=end, context=context).next() | |
File "/usr/lib/python2.6/json/scanner.py", line 55, in iterscan | |
rval, next_pos = action(m, context) | |
File "/usr/lib/python2.6/json/decoder.py", line 155, in JSONString | |
return scanstring(match.string, match.end(), encoding, strict) | |
UnicodeDecodeError: 'utf8' codec can't decode byte 0xed in position 3: invalid continuation byte | |
encoding=UTF-8 debug=True args=['--daemon', '--config_file', '/boot/config/plugins/couchpotato_v2/settings.conf', '--pid_file', '/var/run/couchpotato_v2/couchpotato_v2.pid'] app_dir=/usr/local/couchpotato_v2 data_dir=/mnt/disk/ServerApps/couchpotato_v2 desktop=None options=Namespace(config_file='/boot/config/plugins/couchpotato_v2/settings.conf', console_log=False, daemon=True, data_dir=None, debug=False, pid_file='/var/run/couchpotato_v2/couchpotato_v2.pid', quiet=False) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment