On Mon, 10 Jul 2006 16:43:12 +0200, Michele Petrazzo
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?
This is most likely a bug in FTPClient. Could you file a ticket at http://twistedmatrix.com/trac/ (you need to register an account before the new ticket link will appear)? By only looking at the traceback, it is not entirely clear where the problem lies. Please include a minimal self-contained example which reproduces this traceback or a unit test which fails because of this problem. Jean-Paul