[Twisted-Python] FAILED (failures=1, errors=1164)
Andrew Bennetts
andrew-twisaed at puzzling.org
Wed Sep 25 00:19:21 EDT 2002
Running:
PYTHONPATH=. python admin/runtests -t poll
I get a crapload of errors. Specifically:
FAILED (failures=1, errors=1164)
Now, considering that we don't have that many tests, something is
*really* screwy.
The vast bulk are:
======================================================================
ERROR: testPBFailures (twisted.test.test_pbfailure.PBFailureTest)
----------------------------------------------------------------------
(yes, with no traceback)
But there are many others too... some end with:
File "./twisted/internet/abstract.py", line 258, in fileno
raise NotImplementedError(reflect.qual(self.__class__)+' has no fileno method')
NotImplementedError: twisted.internet.udp.Port has no fileno method
The testPBFailures test in test.log looks like:
---- Running Test: twisted.test.test_pbfailure.PBFailureTest.testPBFailures -----
twisted.spread.pb.BrokerFactory starting on 54321
Starting factory <twisted.spread.pb.BrokerFactory instance at 0x86cf40c>
Traceback (most recent call last):
File "./twisted/internet/main.py", line 101, in run
_getReactor().run()
File "./twisted/internet/default.py", line 221, in run
self.mainLoop()
File "./twisted/internet/default.py", line 232, in mainLoop
self.doIteration(t)
File "./twisted/internet/pollreactor.py", line 139, in doPoll
why = selectable.doRead()
--- <exception caught here> ---
File "./twisted/internet/udp.py", line 200, in doRead
data, addr = self.socket.recvfrom(self.maxPacketSize)
exceptions.AttributeError: Port instance has no attribute 'socket'
Traceback (most recent call last):
File "./twisted/internet/app.py", line 573, in run
main.run(installSignalHandlers=installSignalHandlers)
File "./twisted/internet/main.py", line 101, in run
_getReactor().run()
File "./twisted/internet/default.py", line 221, in run
self.mainLoop()
File "./twisted/internet/default.py", line 232, in mainLoop
self.doIteration(t)
--- <exception caught here> ---
File "./twisted/internet/pollreactor.py", line 142, in doPoll
if not selectable.fileno() == fd:
File "./twisted/internet/abstract.py", line 258, in fileno
raise NotImplementedError(reflect.qual(self.__class__)+' has no fileno method')
exceptions.NotImplementedError: twisted.internet.udp.Port has no fileno method
Unexpected error in main loop.
[...etc...]
Anyone know what's going on here? I'm running debian testing/unstable.
-Andrew.
More information about the Twisted-Python
mailing list