[Zope] can not start zope with STUPID_LOG_FILE variable set

Robert Rottermann robert@redcor.ch
Mon, 10 Jun 2002 11:37:54 +0200


Yes it does.
the only thing I do is seting the STUPID_LOG_FILE variable.
I even reinstalled a vanilla zope to test it.
With the environment variable Zope crashes, without it works.

Robert
----- Original Message -----
From: "Christian Theune" <ct@gocept.com>
To: <zope@zope.org>
Sent: Monday, June 10, 2002 9:07 AM
Subject: Re: [Zope] can not start zope with STUPID_LOG_FILE variable set


> 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'])
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>