Bug 192074

Summary: zope error in startup.py
Product: [Fedora] Fedora Reporter: jose carlos senciales <jcsenciales>
Component: zopeAssignee: Jonathan Steffan <jonathansteffan>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: extras-qa, jcsenciales
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-01-04 18:11:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description jose carlos senciales 2006-05-17 12:49:25 UTC
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

How reproducible:

 this error can be obtain easylly

Steps to Reproduce:
1.
2.
3.
  
Actual results:
a error

Expected results:

no errors

Additional info:
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.

 LOG('AccessControl', WARNING,
                    'A user object of type %s has no aq_parent.'
                    % str(type(auth_user)))


thanks..
bye.

Comment 1 Jonathan Steffan 2006-11-23 00:49:27 UTC
Zope was updated a long time ago. Is this still an issue? 
FC5 should now have zope 2.9.4.


Comment 2 Jonathan Steffan 2007-01-04 18:11:45 UTC
Due to a non-response I am closing this bug.