[Twisted-Python] bugs, bugs. (http)

Christopher Armstrong carmstro at twistedmatrix.com
Thu Apr 18 23:34:04 EDT 2002


Didn't notice these till after Twisted 0.17.2 was released (oh, btw,
Twisted 0.17.2 is released: http://twistedmatrix.com/):

* when I wget a file off of my web server, it seems to hang after
completion. Issue with persistent connection support?

* Static files are acting very sporadically. It looks like more HTTP
protocol issues. I *sometimes* get this (double-)traceback for them: 

[Broker,0,unix] <GET /users/carmstro.twistd/files/944.png HTTP/1.1>
[Broker,0,unix] Peer Will Receive PB Traceback:
[Broker,0,unix] Traceback (most recent call last):
[Broker,0,unix]   File "/twisted/Twisted/twisted/spread/pb.py", line 689, in _recvMessage
[Broker,0,unix]     netResult = object.remoteMessageReceived(self, message, netArgs, netKw)
[Broker,0,unix]   File "/twisted/Twisted/twisted/spread/flavors.py", line 108, in remoteMessageReceived
[Broker,0,unix]     state = apply(method, args, kw)
[Broker,0,unix]   File "/twisted/Twisted/twisted/web/distrib.py", line 45, in remote_resumeProducing
[Broker,0,unix]     self.producer.resumeProducing()
[Broker,0,unix]   File "/twisted/Twisted/twisted/web/static.py", line 308, in resumeProducing
[Broker,0,unix]     self.request.unregisterProducer()
[Broker,0,unix]   File "/twisted/Twisted/twisted/protocols/http.py", line 412, in unregisterProducer
[Broker,0,unix]     self.transport.unregisterProducer()
[Broker,0,unix] exceptions.AttributeError: Request instance has no attribute 'transport'
[Broker,0,unix] Peer Will Receive PB Traceback:
[Broker,0,unix] Traceback (most recent call last):
[Broker,0,unix]   File "/twisted/Twisted/twisted/spread/pb.py", line 689, in _recvMessage
[Broker,0,unix]     netResult = object.remoteMessageReceived(self, message, netArgs, netKw)
[Broker,0,unix]   File "/twisted/Twisted/twisted/spread/flavors.py", line 108, in remoteMessageReceived
[Broker,0,unix]     state = apply(method, args, kw)
[Broker,0,unix]   File "/twisted/Twisted/twisted/web/distrib.py", line 45, in remote_resumeProducing
[Broker,0,unix]     self.producer.resumeProducing()
[Broker,0,unix]   File "/twisted/Twisted/twisted/web/static.py", line 308, in resumeProducing
[Broker,0,unix]     self.request.unregisterProducer()
[Broker,0,unix]   File "/twisted/Twisted/twisted/protocols/http.py", line 412, in unregisterProducer
[Broker,0,unix]     self.transport.unregisterProducer()
[Broker,0,unix] exceptions.AttributeError: Request instance has no attribute 'transport'

-- 
                                Chris Armstrong
                         << radix at twistedmatrix.com >>
                http://twistedmatrix.com/users/carmstro.twistd/





More information about the Twisted-Python mailing list