I've just installed Zope 1.9 on my NT 4.0 SP3 box and I can't get it running with IIS 4.0 (using serve.py with ZopeHTTPpublisher it works fine). When I try to access the management screen (or any other screen) via http://my-domain/cgi-koeln/koelnzope.exe/manage (this is the valid path - 'koelnzope' is the installation name) I get the "Sorry, an error occurred" message with the traceback <!-- Traceback (innermost last): File D:\Programme\Zope\Koelnzope\lib\python\ZPublisher\Publish.py, line 872, in publish_module File D:\Programme\Zope\Koelnzope\lib\python\ZPublisher\Publish.py, line 163, in __init__ File D:\Programme\Zope\Koelnzope\lib\python1.5\cgi.py, line 795, in __init__ AttributeError: argv --> The 'koelnzope' system service is running, and the directory settings for the cgi-koeln directory are ok AFAI can say. Any ideas?
Stefan, If you are running zope as an NT service, read on.... This problem occured to me as well. And Brian Lloyd had the following to say (BL>): BL> Aaaaarrgghh... I've figured this out. This should only happen BL> in cases where you are using IIS and the *NT Service* version BL> of Zope. The NT Service version had no sys.argv, which cgi.py BL> checks for if no QUERY_STRING is found in the environment. IIS BL> apparently doesn't even set QUERY_STRING if there isn't one, so BL> cgi.py tries to look at sys.argv which doesn't exist and... BL> I've added a fix that will be in the next revision. I am not sure if the fix did go into the next version (or if there was a next version). Brian was kind enough to send me a "fixed" zope1 executable (originally called pss.exe). I am not sure what my distribution rights on zope are, so I am not attaching the modified executable in this email. The modified exe was also sent to the mailing list. Hope this helps, Vincent Stefan Franke wrote:
I've just installed Zope 1.9 on my NT 4.0 SP3 box and I can't get it running with IIS 4.0 (using serve.py with ZopeHTTPpublisher it works fine).
When I try to access the management screen (or any other screen) via
http://my-domain/cgi-koeln/koelnzope.exe/manage
(this is the valid path - 'koelnzope' is the installation name) I get the "Sorry, an error occurred" message with the traceback
<!-- Traceback (innermost last): File D:\Programme\Zope\Koelnzope\lib\python\ZPublisher\Publish.py, line 872, in publish_module File D:\Programme\Zope\Koelnzope\lib\python\ZPublisher\Publish.py, line 163, in __init__ File D:\Programme\Zope\Koelnzope\lib\python1.5\cgi.py, line 795, in __init__ AttributeError: argv
-->
The 'koelnzope' system service is running, and the directory settings for the cgi-koeln directory are ok AFAI can say.
Any ideas?
-- It takes two to lie - one to lie and one to listen. (Homer Simpson)
participants (2)
-
Stefan Franke -
Vincent Joseph