Json error while instanciating the client connector

Issue #38 resolved
Mangin Stéphane
created an issue

As i try to instanciate the client connector, i get an json error (probably due to a client update in my seedbox, but i can't get the version actually). It is a seebox from seedbox.cc.

Here commes the traceback:

tc = transmissionrpc.Client('xxx.xxx.xxx.xxx', port=xxxx, user='seedbox', password='xxxxxxxx') No handlers could be found for logger "transmissionrpc" Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python2.7/dist-packages/transmissionrpc-0.8-py2.7.egg/transmissionrpc/client.py", line 98, in init self.get_session() File "/usr/local/lib/python2.7/dist-packages/transmissionrpc-0.8-py2.7.egg/transmissionrpc/client.py", line 592, in get_session self._request('session-get', timeout=timeout) File "/usr/local/lib/python2.7/dist-packages/transmissionrpc-0.8-py2.7.egg/transmissionrpc/client.py", line 178, in _request data = json.loads(http_data) File "/usr/lib/python2.7/json/init.py", line 326, in loads return _default_decoder.decode(s) File "/usr/lib/python2.7/json/decoder.py", line 366, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode obj, end = self.scan_once(s, idx) ValueError: Expecting , delimiter: line 1 column 1531 (char 1531)


Comments (2)

  1. Mangin Stéphane reporter

    After some test, it appears to be due to a server connection error. It is not a reel bug. This message comes from the web interface :

    "Connection Failed Could not connect to the server. You may need to reload the page to reconnect."

    Sorry for the inconvenience.

  2. Log in to comment