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

Brad Clements bkc@murkworks.com
Wed, 24 Feb 1999 09:49:33 -0400


On 24 Feb 99, at 11:03, Oliver Thuns wrote:

It works for me. Check to be certain that your DNS has a PTR record for 
your host. Winsock is SUPPOSED to support this for "localhost" even 
without DNS, but if you're multi-homed that may be a problem.


> 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
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
> 



Brad Clements,                bkc@murkworks.com   (315)268-1000
http://www.murkworks.com                          (315)268-9812 Fax
netmeeting: ils://ils.murkworks.com               ICQ: 14856937