RE: [Zope] Installing ZServer
At 05:03 PM 5/5/99 -0400, Michel Pelletier wrote:
From: Tom Deprez [mailto:tom.deprez@village.uunet.be] Still in my 'Zope hype' I installed it on my old DX2 66Mhz pc with Windows95. It works!!!. I've installed 1.11 and I like it even better then 1.10.2 ... if you keep going like this.... what will 2.0 become? Better graphics also! :-)
I must say that it is slow (slower then 1.10.2).... but I guess this is normal seeing my computer configuration... :-)
Now, I wanted to try out the ZServer instead of the ZopeHTTPServer. So I created the following batchfile :
set ZOPE_DEBUG_MODE=1 set PYTHONHOME='D:\WebSite\' "D:\WebSite\bin\python" "D:\WebSite\ZServer\start.py"
However, I always get the following error :
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
What am I doing wrong?
My guess is IP_ADDRESS in your start.py is not set right, however I believe it defaults to 127.0.0.1, does Win95 not have a 127.0.0.1 (loopback) interface? I would *not* be suprised.
I believe that the problem is that medusa's ftp server wants to look up the hostname of the server machine. On Win95 machines which are not connected to a network this fails. I think that this can be fixed by adding an entry in your Win95 hosts file (\windows\hosts) like so: 127.0.0.1 localhost If I recall correctly, I think that a hosts file doesn't exist by default on Win95 machines. But there may be a sample hosts file in \windows\hosts.sam. That said, I think that medusa's ftp server shouldn't have to make this host name lookup. I am looking at implementing a fix/work around for this and submitting it to Sam Rushing. I'll also add this information to the ZServer INSTALL.txt file. -Amos
participants (1)
-
Amos Latteier