[Zope] can not start zope with STUPID_LOG_FILE variable set
Robert Rottermann
robert@redcor.ch
Mon, 10 Jun 2002 08:30:01 +0200
This is a multi-part message in MIME format.
------=_NextPart_000_0007_01C21059.037AABE0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Good Morning,
I try to start zope with the STUPID_LOG_FILE environment variable set =
like this:
set STUPID_LOG_FILE=3D"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.
Any ideas?
Robert
------=_NextPart_000_0007_01C21059.037AABE0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Good Morning,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I try to start zope with the =
STUPID_LOG_FILE=20
environment variable set like this:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>set=20
STUPID_LOG_FILE=3D"k:\programme\tempzope\stupid.log"<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>when this variable is set zope crashes =
when=20
starting up with:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>ope\z2.py" -D<BR>Traceback (most recent =
call=20
last):<BR> File "K:\Programme\tempzope\z2.py", line 540, in=20
?<BR> import ZServer<BR> File=20
"K:\PROGRA~1\tempzope\ZServer\__init__.py", line 80, in =
?<BR> =20
from HTTPServer import zhttp_server, zhttp_handler<BR> File=20
"K:\PROGRA~1\tempzope\ZServer\HTTPServer.py", line 56, in=20
?<BR> from zLOG import LOG, register_subsystem, =
BLATHER, INFO,=20
WARNING, ERROR<BR>ImportError: cannot import name LOG</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I am running Zope 2.5.1 on =
NT2000.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Any ideas?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Robert</DIV></FONT></BODY></HTML>
------=_NextPart_000_0007_01C21059.037AABE0--