[medusa] ftp server on win95

Amos Latteier amos@a...
Thu, 06 May 1999 09:48:58 -0700


Hello,

I've gotten several reports that Medusa's ftp server fails to run under
win95 when not attached to a network.

Here's a sample traceback:

log: adding channel <trigger at 920320>
Traceback (innermost last):
File "D:\WebSite\ZServer\start.py", line 96, in ?
from FTPServer import FTPServer
File "D:\WebSite\ZServer\FTPServer.py", line 140, in ?
from medusa.ftp server import ftp_channel, ftp_server, recv_channel
File "D:\WebSite\ZServer\medusa\ftp_server.py", line 58, in ?
HOSTNAME = socket.gethostbyaddr (IP_ADDRESS)[0]
socket.error: host not found

(Note this user is using ZServer.)

Apparently IP_ADDRESS is set to "127.0.0.1" and they have an entry for this
IP in their hosts file.

Any suggestions on how to keep socket.gethostbyaddr from failing?
Alternately, any suggestions on avoiding this call to begin with--perhaps
we could avoid lines 57, and 58 of ftp_server.py, since they seem to really
be useful to calculate the HOSTNAME, which can be passed to the ftp_server
upon initialization...

Thanks.

-Amos



------------------------------------------------------------------------
eGroup home: http://www.eGroups.com/group/medusa
http://www.eGroups.com - Simplifying group communications