[Zope] Newibe problems continue....

Martijn Pieters mj@antraciet.nl
Sun, 19 Sep 1999 18:05:16 +0200


At 15:49 19-9-99 , Wayne Spivak wrote:
>My setup:
>
>FreeBSD 3-2Release
>Roxen 1.3 web server
>Python 1.5.2
>Zope 2.0.0
>
>
>Roxen is running on port 80
>Zope is not running, nor is python.
>
>Zope.cgi is in /usr/cgi-bin/
>I execute :
>
>%python z2.py -p /usr/cgi-bin/
>%Traceback (innermost last):
>   File "z2.py", line 463, in ?
>     logger_object=lg)
>   File "/usr/local/share/Zope/ZServer/PCGIServer.py", line 282, in __init__
>     self.read_info(pcgi_file)
>   File "/usr/local/share/Zope/ZServer/PCGIServer.py", line 319, in read_info
>     k,v=string.split(line,'=',1)
>ValueError: unpack list of wrong size

Zope expects a path to the Zope CGI itself, not the directory the CGI is in:

   python z2.py -p /usr/cgi-bin/Zope.cgi


--
Martijn Pieters, Web Developer
| Antraciet http://www.antraciet.nl
| T: +31 35 7502100 F: +31 35 7502111
| mj@antraciet.nl http://www.antraciet.nl/~mj
| PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149
---------------------------------------------