[Twisted-Python] Strange exception deep in twisted

Dave Gray dgray at omniti.com
Fri Jun 17 12:51:01 EDT 2005

Matt Feifarek wrote:
> -----------------------
> Unhandled error in Deferred:
> Traceback (most recent call last):
>   File "/usr/lib/python2.4/site-packages/twisted/protocols/http.py",
> line 447, in _cleanup
>     self.channel.requestDone(self)
> exceptions.AttributeError: Request instance has no attribute 'channel'

I see errors like these when Deferreds fail and don't handle the error 
somehow and then, later on, get garbage collected. Perhaps this 
exception isn't happening exactly when you think it is?


More information about the Twisted-Python mailing list