[Zope3-dev] Zope3 vs CVS Python

Tim Peters tim@zope.com
Mon, 5 Aug 2002 11:31:18 -0400


I'm curious whether anyone on another platform is building Zope3 w/ the
current CVS Python (pre-alpha 2.3).

I see two errors in the test suite on Win98SE:

======================================================================
ERROR: testManyClients (Zope.Server.HTTP.tests.testHTTPServer.Tests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Code\Zope3\lib\python\Zope\Server\HTTP\tests\testHTTPServer.py",
              line 214, in testManyClients
    h.endheaders()
  File "C:\CODE\PYTHON\lib\httplib.py", line 690, in endheaders
    self._send_output()
  File "C:\CODE\PYTHON\lib\httplib.py", line 576, in _send_output
    self.send(msg)
  File "C:\CODE\PYTHON\lib\httplib.py", line 543, in send
    self.connect()
  File "C:\CODE\PYTHON\lib\httplib.py", line 783, in connect
error: (10055, 'No buffer space available')


I expect that one is a Win9x resource limitation, so I'm not really
interested in it unless people see it elsewhere too.


======================================================================
ERROR: testPipelining (Zope.Server.HTTP.tests.testHTTPServer.Tests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Code\Zope3\lib\python\Zope\Server\HTTP\tests\testHTTPServer.py",
             line 174, in testPipelining
    response_body = response.read(length)
  File "C:\CODE\PYTHON\lib\httplib.py", line 431, in read
    self.length = self.length - amt
TypeError: unsupported operand type(s) for -: 'str' and 'int'


That one looks worse!  Adding some prints shows that self.length contains
the string 'UNKNOWN' at this point, and amt is 0.

----------------------------------------------------------------------
Ran 1999 tests in 215.310s

FAILED (errors=2)