Opened 12 years ago

Last modified 12 years ago

#987 defect closed fixed (fixed)

AttributeError: 'WSGIHandler' object has no attribute 'stopProducing'

Reported by: srichter Owned by:
Priority: high Milestone:
Component: Keywords:
Cc: jknight, srichter Branch:
Author:

Description


Change History (3)

comment:1 Changed 12 years ago by srichter

Another traceback from Zope 3. Note that this one might be due to an unhandled 
exception on Zope's side, but I think it is still something that should be 
fixed here: 
   
Traceback (most recent call last):    
Failure: twisted.internet.error.ConnectionLost: Connection to the other side    
was lost in a non-clean fashion.    
Traceback (most recent call last):    
  File "/opt/zope/Zope3/Zope3-Twisted/src/zope/app/server/main.py", line 75,    
in main    
    reactor.run()    
  File "/opt/zope/Zope3/Zope3-Twisted/src/twisted/internet/posixbase.py", line    
205, in run    
    self.mainLoop()    
  File "/opt/zope/Zope3/Zope3-Twisted/src/twisted/internet/posixbase.py", line    
216, in mainLoop    
    self.doIteration(t)    
  File "/opt/zope/Zope3/Zope3-Twisted/src/twisted/internet/selectreactor.py",    
line 133, in doSelect    
    _logrun(selectable, _drdw, selectable, method, dict)    
--- <exception caught here> ---    
  File "/opt/zope/Zope3/Zope3-Twisted/src/twisted/python/log.py", line 56, in    
callWithLogger    
    return callWithContext({"system": lp}, func, *args, **kw)    
  File "/opt/zope/Zope3/Zope3-Twisted/src/twisted/python/log.py", line 41, in    
callWithContext    
    return context.call({ILogContext: newCtx}, func, *args, **kw)    
  File "/opt/zope/Zope3/Zope3-Twisted/src/twisted/python/context.py", line 52,    
in callWithContext    
    return self.currentContext().callWithContext(ctx, func, *args, **kw)    
  File "/opt/zope/Zope3/Zope3-Twisted/src/twisted/python/context.py", line 31,    
in callWithContext    
    return func(*args,**kw)    
  File "/opt/zope/Zope3/Zope3-Twisted/src/twisted/internet/selectreactor.py",    
line 149, in _doReadOrWrite    
    self._disconnectSelectable(selectable, why, method=="doRead")    
  File "/opt/zope/Zope3/Zope3-Twisted/src/twisted/internet/posixbase.py", line    
240, in _disconnectSelectable    
    selectable.connectionLost(f)    
  File "/opt/zope/Zope3/Zope3-Twisted/src/twisted/internet/tcp.py", line 396,    
in connectionLost    
    abstract.FileDescriptor.connectionLost(self, reason)    
  File "/opt/zope/Zope3/Zope3-Twisted/src/twisted/internet/abstract.py", line    
67, in connectionLost    
    self.producer.stopProducing()    
  File "/opt/zope/Zope3/Zope3-Twisted/src/twisted/web2/stream.py", line 774,    
in stopProducing    
    self.stream.close()    
  File "/opt/zope/Zope3/Zope3-Twisted/src/twisted/web2/stream.py", line 643,    
in close    
    self.producer.stopProducing()    
exceptions.AttributeError: 'WSGIHandler' object has no attribute    
'stopProducing'

comment:2 Changed 12 years ago by jknight

Resolved by r13590 and r13605.

comment:3 Changed 6 years ago by <automation>

  • Owner jknight deleted
Note: See TracTickets for help on using tickets.