can not start zope with STUPID_LOG_FILE variable set
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. Any ideas? Robert
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'])
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 )
On Mon, 10 Jun 2002 11:37:54 +0200 "Robert Rottermann" <robert@redcor.ch> wrote:
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.
What's the value of the environment variable? is the file present? Try to create the file beforehand. HTH, __Janko -- i.A. Dr. Janko Hauser Software Engineering c o m . u n i t G m b H online-schmiede seit 1994 http://www.comunit.de/ mailto:jh@comunit.de Eiffestr. 598 20537 Hamburg | Germany Fon 040 | 21 11 05 25 Fax 040 | 21 11 05 26
[Robert Rottermann] 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. [Tom P] It might not be able to create or open a log file. Maybe there is a permission problem on the file, or a type in the path to the log file. Cheers, Tom P
participants (4)
-
Christian Theune -
Janko Hauser -
Robert Rottermann -
Thomas B. Passin