[Twisted-Python] tcp error

Michele Petrazzo michele.petrazzo at unipex.it
Mon Jul 10 08:43:12 MDT 2006


Sometime I receive a strange error:

   File "hylaproto_t.pyo", line 209, in _RetrStatus
   File "twisted\protocols\ftp.pyo", line 2190, in list
   File "twisted\protocols\ftp.pyo", line 2006, in receiveFromConnection
   File "twisted\protocols\ftp.pyo", line 2081, in _openDataConnection
   File "twisted\protocols\ftp.pyo", line 1838, in queueCommand
   File "twisted\protocols\ftp.pyo", line 1819, in sendNextCommand
   File "twisted\protocols\ftp.pyo", line 2128, in generatePortCommand
   File "twisted\internet\tcp.pyo", line 591, in getHost
AttributeError: 'Client' object has no attribute 'socket'


At line 209 in hylaproto_t, I have:
self._myClient.list('status', proto)

self._myClient are an FTPClient instance.

What can be the problem?

Thanks,
Michele




More information about the Twisted-Python mailing list