Errback in should take an extra argument

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

Bug Description

There is an errback in 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/", line 166, in handleResponse
            self.status, self.message, response)))
          File "/usr/local/lib/python2.5/site-packages/txfluiddb/", line 43, in noPage
          File "/usr/lib/python2.5/site-packages/twisted/internet/", line 345, in errback
          File "/usr/lib/python2.5/site-packages/twisted/internet/", line 424, in _startRunCallbacks
        --- <exception caught here> ---
          File "/usr/lib/python2.5/site-packages/twisted/internet/", 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