Errback in ftwitter.py should take an extra argument

Bug #794347 reported by Terry Jones on 2011-06-08
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Tickery
Medium
Terry Jones

Bug Description

There is an errback in ftwitter.py:538 with signature def _err(failure)
but it is added to a deferred on line 550 with an argument. So an exception
is thrown when this errback is hit:

2011-06-08 01:56:16+0000 [HTTPPageGetter,client] Unhandled error in Deferred:
2011-06-08 01:56:16+0000 [HTTPPageGetter,client] Unhandled Error
        Traceback (most recent call last):
          File "/usr/lib/python2.5/site-packages/twisted/web/client.py", line 166, in handleResponse
            self.status, self.message, response)))
          File "/usr/local/lib/python2.5/site-packages/txfluiddb/http.py", line 43, in noPage
            self.deferred.errback(reason)
          File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 345, in errback
            self._startRunCallbacks(fail)
          File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 424, in _startRunCallbacks
            self._runCallbacks()
        --- <exception caught here> ---
          File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 441, in _runCallbacks
            self.result = callback(self.result, *args, **kw)
        exceptions.TypeError: _err() takes exactly 1 argument (2 given)

Related branches

Jamu Kakar (jkakar) on 2011-06-08
Changed in tickery:
assignee: nobody → Terry Jones (terrycojones)
importance: Undecided → Medium
status: New → In Progress
Changed in tickery:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers