[Zope] can not start zope with STUPID_LOG_FILE variable set

Christian Theune ct@gocept.com
Mon, 10 Jun 2002 09:07:42 +0200


Hi,

does your server run without this set? THe last line from your traceback looks
as if your PYTHONPATH isn't set correctly, but this is just a guess.

* Robert Rottermann <robert@redcor.ch> [020610 08:40]:
> Good Morning,
> 
> I try to start zope with the STUPID_LOG_FILE environment variable set like this:
> set STUPID_LOG_FILE="k:\programme\tempzope\stupid.log"
> 
> when this variable is set zope crashes when starting up with:
> ope\z2.py" -D
> Traceback (most recent call last):
>   File "K:\Programme\tempzope\z2.py", line 540, in ?
>     import ZServer
>   File "K:\PROGRA~1\tempzope\ZServer\__init__.py", line 80, in ?
>     from HTTPServer import zhttp_server, zhttp_handler
>   File "K:\PROGRA~1\tempzope\ZServer\HTTPServer.py", line 56, in ?
>     from zLOG import LOG, register_subsystem, BLATHER, INFO, WARNING, ERROR
> ImportError: cannot import name LOG
> 
> I am running Zope 2.5.1 on NT2000.

Regards

Christian

-- 
Christian Theune - ct@gocept.com
gocept gmbh & co.kg - schalaunische strasse 6 - 06366 koethen/anhalt
tel.+49 3496 3099112 - fax.+49 3496 3099118 mob. - 0178 48 33 981

reduce(lambda x,y:x+y,[chr(ord(x)^42) for x in 'zS^BED\nX_FOY\x0b'])