[Zope] ZServer (FTP): socket.error: host not found

Oliver Thuns Oliver Thuns <oliver.thuns@gmx.de>
Wed, 24 Feb 1999 11:03:36 +0100


If I start ZServer under Windows I get the following error ind the
ftp_server module. This can be easily fixed by changing line 57 and
inserting the IP, but this is not very nice. Could you fix this?

Traceback (innermost last):
  File "start.py", line 20, in ?
    import ZServerFTP
  File "ZServerFTP.py", line 158, in ?
    from medusa.ftp_server import ftp_channel, ftp_server
  File "medusa\ftp_server.py", line 57, in ?
    IP_ADDRESS = socket.gethostbyname (socket.gethostname())
socket.error: host not found