Skip to content

Instantly share code, notes, and snippets.

@Artic0din
Created February 18, 2015 07:25
Show Gist options
  • Save Artic0din/29d29f3fd4bf2d16b266 to your computer and use it in GitHub Desktop.
Save Artic0din/29d29f3fd4bf2d16b266 to your computer and use it in GitHub Desktop.
2015-02-18 18:22:11 ERROR Uncaught exception GET /home/update/?pid=2622 (::1)
TypeError: coercing to Unicode: need string or buffer, instance found
logger.log(u"Unable to decode JSON: " + response, logger.WARNING)
File "/Users/ryanfoyle/SickRage/sickbeard/notifiers/kodi.py", line 400, in _send_to_kodi_json
result = self._send_to_kodi_json(checkCommand, host, username, password)
File "/Users/ryanfoyle/SickRage/sickbeard/notifiers/kodi.py", line 78, in _get_kodi_version
kodiapi = self._get_kodi_version(curHost, username, password)
File "/Users/ryanfoyle/SickRage/sickbeard/notifiers/kodi.py", line 131, in _notify_kodi
force=True)
File "/Users/ryanfoyle/SickRage/sickbeard/notifiers/plex.py", line 56, in _notify_pmc
self._notify_pmc(update_text + new_version, title)
File "/Users/ryanfoyle/SickRage/sickbeard/notifiers/plex.py", line 74, in notify_git_update
n.notify_git_update(new_version)
File "/Users/ryanfoyle/SickRage/sickbeard/notifiers/__init__.py", line 111, in notify_git_update
notifiers.notify_git_update(sickbeard.NEWEST_VERSION_STRING)
File "/Users/ryanfoyle/SickRage/sickbeard/versionChecker.py", line 632, in update
return self.updater.update()
File "/Users/ryanfoyle/SickRage/sickbeard/versionChecker.py", line 126, in update
if sickbeard.versionCheckScheduler.action.update():
File "/Users/ryanfoyle/SickRage/sickbeard/webserve.py", line 1063, in update
result = function(**kwargs)
File "/Users/ryanfoyle/SickRage/sickbeard/webserve.py", line 230, in async_call
Traceback (most recent call last):
TypeError: coercing to Unicode: need string or buffer, instance found
logger.log(u"Unable to decode JSON: " + response, logger.WARNING)
File "/Users/ryanfoyle/SickRage/sickbeard/notifiers/kodi.py", line 400, in _send_to_kodi_json
result = self._send_to_kodi_json(checkCommand, host, username, password)
File "/Users/ryanfoyle/SickRage/sickbeard/notifiers/kodi.py", line 78, in _get_kodi_version
kodiapi = self._get_kodi_version(curHost, username, password)
File "/Users/ryanfoyle/SickRage/sickbeard/notifiers/kodi.py", line 131, in _notify_kodi
force=True)
File "/Users/ryanfoyle/SickRage/sickbeard/notifiers/plex.py", line 56, in _notify_pmc
self._notify_pmc(update_text + new_version, title)
File "/Users/ryanfoyle/SickRage/sickbeard/notifiers/plex.py", line 74, in notify_git_update
n.notify_git_update(new_version)
File "/Users/ryanfoyle/SickRage/sickbeard/notifiers/__init__.py", line 111, in notify_git_update
notifiers.notify_git_update(sickbeard.NEWEST_VERSION_STRING)
File "/Users/ryanfoyle/SickRage/sickbeard/versionChecker.py", line 632, in update
return self.updater.update()
File "/Users/ryanfoyle/SickRage/sickbeard/versionChecker.py", line 126, in update
if sickbeard.versionCheckScheduler.action.update():
File "/Users/ryanfoyle/SickRage/sickbeard/webserve.py", line 1063, in update
result = function(**kwargs)
File "/Users/ryanfoyle/SickRage/sickbeard/webserve.py", line 230, in async_call
2015-02-18 18:22:11 ERROR Thread-60 :: Failed doing webui callback: Traceback (most recent call last):
2015-02-18 18:22:11 DEBUG Thread-60 :: Contacting KODI via url: http://localhost:32400/jsonrpc
2015-02-18 18:22:11 DEBUG Thread-60 :: KODI JSON command: {"jsonrpc":"2.0","method":"JSONRPC.Version","id":1}
2015-02-18 18:22:11 INFO Thread-60 :: Sending KODI notification to 'localhost:32400' - SickRage Updated To Commit#: There is a <a href="http://github.com/SiCKRAGETV/SickRage/compare/1ad9ed453985f1fccdcd7eac97970cef1cb324c1...e0204d048e2cfdf6ba27ee6f0a2800b8e942a1f0" onclick="window.open(this.href); return false;">newer version available</a> (you're 7 commits behind)&mdash; <a href="/home/update/?pid=2622">Update Now</a>
2015-02-18 18:22:01 INFO Thread-60 :: Moving files from /Users/ryanfoyle/SickRage/sr-update/SiCKRAGETV-SickRage-e0204d0 to /Users/ryanfoyle/SickRage
2015-02-18 18:22:01 INFO Thread-60 :: Deleting file /Users/ryanfoyle/SickRage/sr-update/sr-update.tar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment