[Twisted-Python] Problem with Echoserver (TCP), Help!

SeSe sese at 263.net
Sun Jan 2 23:42:34 EST 2005


Hi, I am new to Twisted. I use a Twisted 1.3.0 on MS Windows XP Home 
Edition, my python version is 2.3

I try the TCP echoserv.py and echoclient.py example. But the client 
always fail with following message:

Unhandled error in Deferred:
Traceback (most recent call last):
  File "D:\PYTHON23\Lib\site-packages\twisted\internet\default.py", line 134, in
 mainLoop
    self.runUntilCurrent()
  File "D:\PYTHON23\Lib\site-packages\twisted\internet\base.py", line 423, in ru
nUntilCurrent
    call.func(*call.args, **call.kw)
  File "D:\PYTHON23\Lib\site-packages\twisted\internet\tcp.py", line 384, in res
olveAddress
    d.addCallbacks(self._setRealAddress, self.failIfNotConnected)
  File "D:\PYTHON23\Lib\site-packages\twisted\internet\defer.py", line 205, in a
ddCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "D:\PYTHON23\Lib\site-packages\twisted\internet\defer.py", line 338, in _
runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "D:\PYTHON23\Lib\site-packages\twisted\internet\tcp.py", line 388, in _se
tRealAddress
    self.doConnect()
  File "D:\PYTHON23\Lib\site-packages\twisted\internet\tcp.py", line 403, in doConnect
    r, w, e = select.select([], [], [self.fileno()], 0.0)
select.error: (10022, '')


What is the matter? Thanks.

-SeSe








More information about the Twisted-Python mailing list