Delayed Response + reconnect

Bug #377589 reported by Stefano Rivera
This bug report is a duplicate of:  Bug #377574: target not in response. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ibid
New
Wishlist
Unassigned

Bug Description

My guess is that this was something that took a while (like coffee / a socket request off campus) and only returned after a TCP timeout had taken the source down. We should handle this gracefully

2009-05-17 13:14:20,691 ERROR twisted: Unhandled exception
Traceback (most recent call last):
  File "/usr/lib/python2.5/threading.py", line 446, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.5/site-packages/twisted/python/threadpool.py", line 161, in _worker
    context.call(ctx, function, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/twisted/python/context.py", line 59, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/usr/lib/python2.5/site-packages/twisted/python/context.py", line 37, in callWithContext
    return func(*args,**kw)
--- <exception caught here> ---
  File "/usr/lib/python2.5/site-packages/twisted/internet/threads.py", line 24, in _putResultInDeferred
    result = f(*args, **kwargs)
  File "/home/dazzle/ibid/dazzle/ibid/core.py", line 55, in _process
    source = response['source'].lower()
exceptions.TypeError: 'NoneType' object is unsubscriptable

Revision history for this message
Stefano Rivera (stefanor) wrote :

Hmm, misdiagnosed I think. Any other thoughts?

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.