1. Erik Svensson
  2. transmissionrpc
  3. Issues
Issue #22 resolved

Another Exception in DefaultHTTPHandler

gazpachoking
created an issue

Looks like we found another exception handling bug at FlexGet. This one is from flexget ticket #688 {{{ Traceback (most recent call last): File "/opt/local/lib/python2.6/site-packages/FlexGet 1.0-r1419 [py2.6].egg/flexget/feed.py", line 338, in run_event method(self) File "/opt/local/lib/python2.6/site-packages/FlexGet 1.0-r1419 [py2.6].egg/flexget/plugin.py", line 279, in call__ return getattr(self.plugin.instance, self.method_name)(args, kwargs) File "/opt/local/lib/python2.6/site-packages/FlexGet 1.0-r1419 [py2.6].egg/flexget/plugins/output_transmissionrpc.py", line 22, in new_f f(self, *args, kwargs) File "/opt/local/lib/python2.6/site-packages/FlexGet 1.0-r1419 [py2.6].egg/flexget/plugins/output_transmissionrpc.py", line 151, in on_feed_output self.add_to_transmission(self.client, feed) File "/opt/local/lib/python2.6/site-packages/FlexGet 1.0-r1419 [py2.6].egg/flexget/plugins/output_transmissionrpc.py", line 264, in add_to_transmission r = cli.add(filedump, 30, *options['add']) File "build/bdist.linux-i686/egg/transmissionrpc/transmission.py", line 494, in add return self._request('torrent-add', args, timeout=timeout) File "build/bdist.linux-i686/egg/transmissionrpc/transmission.py", line 359, in _request http_data = self._http_query(query, timeout) File "build/bdist.linux-i686/egg/transmissionrpc/transmission.py", line 324, in _http_query result = self.http_handler.request(self.url, query, headers, timeout) File "build/bdist.linux-i686/egg/transmissionrpc/transmission.py", line 217, in request raise HTTPHandlerError(error.filename, error.code, error.msg, dict(error.headers), error.read()) AttributeError: 'HTTPError' object has no attribute 'headers'

}}}

Comments (2)

  1. Log in to comment