[zope2-tracker] [Bug 805902] [NEW] FCGIServer.py AttributeError: 'collections.deque' missing 'push'

Ole Fostad 805902 at bugs.launchpad.net
Tue Jul 5 07:26:13 EDT 2011


Public bug reported:

zope2-2.13.0c1-py2.6 (x64)

2011-07-05T12:18:58 ERROR ZServerPublisher exception caught
Traceback (most recent call last):
  File "C:\Zope2\lib\site-packages\zope2-2.13.0c1-py2.6.egg\ZServer\PubCore\ZServerPublisher.py", line 33, in __init__
    b._finish()
  File "C:\Zope2\lib\site-packages\zope2-2.13.0c1-py2.6.egg\ZServer\FCGIServer.py", line 735, in _finish
    self.channel.sendStreamTerminator(FCGI_STDOUT)
  File "C:\Zope2\lib\site-packages\zope2-2.13.0c1-py2.6.egg\ZServer\FCGIServer.py", line 544, in sendStreamTerminator
    self.push(rec.getRecordAsString(), 0)
  File "C:\Zope2\lib\site-packages\zope2-2.13.0c1-py2.6.egg\ZServer\FCGIServer.py", line 561, in push
    self.producer_fifo.push(producer)
AttributeError: 'collections.deque' object has no attribute 'push'

Temp Fix by replacing self.producer_fifo.push(producer) with
self.producer_fifo.append(producer) in line 561 in FCGIServer.py

** Affects: zope2
     Importance: Undecided
         Status: New


** Tags: fast-cgi

-- 
You received this bug notification because you are a member of Zope 2
Developers, which is subscribed to Zope 2.
https://bugs.launchpad.net/bugs/805902

Title:
  FCGIServer.py AttributeError: 'collections.deque' missing 'push'

To manage notifications about this bug go to:
https://bugs.launchpad.net/zope2/+bug/805902/+subscriptions


More information about the zope2-tracker mailing list