[ZCM] [ZC] 1541/ 2 Comment "Python 2.4/Zope 2.7.3: unittests fail In LoopCallback.py"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Mon Oct 18 10:54:48 EDT 2004


Issue #1541 Update (Comment) "Python 2.4/Zope 2.7.3: unittests fail In LoopCallback.py"
 Status Pending, Zope/bug low
To followup, visit:
  http://collector.zope.org/Zope/1541

==============================================================
= Comment - Entry #2 by tim_one on Oct 18, 2004 10:54 am

On Windows the error msg is a bit different:

select.error: (10038, 'An operation was attempted on something that is not a socket')

Looks like these come out of two related tests:

   testNOK (ZEO.tests.testAuth.PlainTextAuth)
   testNOK (ZEO.tests.testAuth.DigestAuth)

Curiously, the same tests pass on Zope 2.8 trunk under 2.4, and in Zope3 under 2.4.

Unfortunately, I have no idea what those tests do.  Possibly relevant is that 2.4's asyncore is less tolerant of leaving garbage in its socket_map (like closed sockets).
________________________________________
= Request - Entry #1 by ajung on Oct 18, 2004 11:18 am

Zope 2.7.3 + Python 2.4 fails when running the unittests:

EETraceback (most recent call last):
  File "/develop/sandboxes/Zope-2_7-branch/Zope/lib/python/ZEO/tests/zeoserver.py", line 216, in ?
    main()
  File "/develop/sandboxes/Zope-2_7-branch/Zope/lib/python/ZEO/tests/zeoserver.py", line 212, in main
    ThreadedAsync.LoopCallback.loop()
  File "/develop/sandboxes/Zope-2_7-branch/Zope/lib/python/ThreadedAsync/LoopCallback.py", line 156, in loop
    poll_fun(timeout, map)
  File "/develop/sandboxes/Zope-2_7-branch/Zope/lib/python/ThreadedAsync/LoopCallback.py", line 108, in poll
    r, w, e = select.select(r, w, e, timeout)
select.error: (9, 'Bad file descriptor')
==============================================================



More information about the Zope-Collector-Monitor mailing list