Errback in ftwitter.py should take an extra argument

Bug #794347 reported by Terry Jones
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Tickery
Fix Committed
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)
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.