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

Bug #805902 reported by Ole Fostad
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zope 2
Invalid
Medium
Unassigned

Bug Description

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

Tags: fast-cgi
Changed in zope2:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Colin Watson (cjwatson) wrote :

The zope2 project on Launchpad has been archived at the request of the Zope developers (see https://answers.launchpad.net/launchpad/+question/683589 and https://answers.launchpad.net/launchpad/+question/685285). If this bug is still relevant, please refile it at https://github.com/zopefoundation/zope2.

Changed in zope2:
status: Confirmed → Invalid
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.