Red Hat Bugzilla – Bug 192074
zope error in startup.py
Last modified: 2007-11-30 17:11:33 EST
Description of problem:
you obtain a error <Fault -1: u"Unexpected Zope exception: exceptions.NameError
- global name 'LOG' is not defined">
Version-Release number of selected component (if applicable):
zope-2.8.5-1.fc5.i386 actually downloaded with yum 17 may 2006
this error can be obtain easylly
Steps to Reproduce:
the error is in the file ' "/usr/lib/zope/lib/python/Zope2/App/startup.py", line
284, 'that is used to Initialize the Zope2 Package and provide a published module.
you must add a line to import LOG like this and the error is solved.
from zLOG import LOG, WARNING, INFO, BLATHER, log_time
or if you want to change the line 283 to call another function in logging module.
'A user object of type %s has no aq_parent.'
Zope was updated a long time ago. Is this still an issue?
FC5 should now have zope 2.9.4.
Due to a non-response I am closing this bug.