fle3-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fle3-users] Errors on install


From: Tarmo Toikkanen
Subject: Re: [Fle3-users] Errors on install
Date: Sat, 23 Oct 2004 15:52:04 +0300
User-agent: Mutt/1.5.1i

The new error is:
Error Type: NameError
Error Value: global name 'security' is not defined

and the log is:
Traceback (innermost last):
 Module ZPublisher.Publish, line 101, in publish
 Module ZPublisher.mapply, line 88, in mapply
 Module ZPublisher.Publish, line 39, in call_object
 Module Products.FLE.FLE, line 796, in manage_addFLE
 Module OFS.ObjectManager, line 276, in _setObject
 Module Products.FLE.FLE, line 316, in manage_afterAdd
 Module Products.FLE.UserManager, line 626, in add_user
 Module Products.FLE.UserManager, line 644, in add_user_fle
 Module Products.FLE.UserInfo, line 112, in __init__
NameError: global name 'security' is not defined

Got it! At a certain Zope version, the framework apparently changed a
bit and Fle3 ran into some problems. These problems are fixed in later
versions, so you can either upgrade your Fle3, or just make a quick
patch to fix this problem:

In UserInfo.py, lines 112 and 114, that start with
  security.declareProtected
change them to start with
  UserInfo.security.declareProtected

(add the word "UserInfo." to the beginning of the line). This corrects
the reference to a class scope variable to match new Zope
interpretation, and fixes this problem.

--
Tarmo Toikkanen
http://www.iki.fi/tarmo/
The Fle3 Team
http://fle3.uiah.fi





reply via email to

[Prev in Thread] Current Thread [Next in Thread]