[ZPatterns] Problem with ZPatterns.Expressions.py

Steve Spicklemire [email protected]
Thu, 31 Jan 2002 12:29:38 -0500


Hi Gerald,

Did you try the Transaction Agents release from SteveA? I've been using 
LoginManager with that successfully on 2.4.x.

-steve

On Thursday, January 31, 2002, at 11:14 AM, Gerald Urbas (by way of 
"Phillip J. Eby" <[email protected]>) wrote:

> Hi
>
> Im trying to setup Loginmanager and have the problem that Expression.py 
> imports some things of DocumentTemplate.TD_Util which is no longer 
> avaible.
>
> heres the Traceback (most recent call last):
>   File "/usr/local/zope/Zope-2.4.1-src/lib/python/OFS/Application.py", 
> line 558, in import_product
>     product=__import__(pname, global_dict, global_dict, silly)
>   File 
> "/usr/local/zope/Zope-2.4.1-src/lib/python/Products/LoginManager/__init__.py"
> , line 1, in ?
>     import LoginManager, LoginMethods, UserSources
>   File 
> "/usr/local/zope/Zope-2.4.1-src/lib/python/Products/LoginManager/LoginManager.
> py", line 8, in ?
>     from Products.ZPatterns.Specialists import Specialist
>   File 
> "/usr/local/zope/Zope-2.4.1-src/lib/python/Products/ZPatterns/__init__.py"
> , line 1, in ?
>     import Rack, Specialists, Customizers, AttributeProviders, 
> SheetProviders
>   File 
> "/usr/local/zope/Zope-2.4.1-src/lib/python/Products/ZPatterns/Rack.py", 
> line 1, in ?
>     from DataManagers import DataManager
>   File 
> "/usr/local/zope/Zope-2.4.1-src/lib/python/Products/ZPatterns/DataManagers.
> py", line 6, in ?
>     from AttributeProviders import AttributeProvider
>   File 
> "/usr/local/zope/Zope-2.4.1-src/lib/python/Products/ZPatterns/AttributeProviders.
> py", line 7, in ?
>     from Expressions import *
>   File 
> "/usr/local/zope/Zope-2.4.1-src/lib/python/Products/ZPatterns/Expressions.
> py", line 84, in ?
>   File 
> "/usr/local/zope/Zope-2.4.1-src/lib/python/Products/ZPatterns/Expressions.
> py", line 103, in Expression
> NameError: name 'expr_globals' is not defined
>
> You see in the last line that expr_globals isnt defined, I looked in 
> the CVS and saw that expr_globals was deleted 9 months ago.
>
> Do you have an Workaround, which you can send me or publich at your 
> site at zope.org?
>
> Im a little confused cause i dont want to rewrite to much cause i only 
> want to check out if Loginmanger matchs our needs
>
> thanks for all response - Gerald
>
> -------------------------------------------------------------------------------------------------------------
> Gerald Urbas
> 01 EDV-Consulting  und Development GmbH
> Linke Wienzeile 4/2/2
> A-1060 Wien / Austria
> http://www.nulleins.at
> Tel. +43 1 585 66 30-633
> Fax. +43 1 585 66 30-690
> [email protected]
> -------------------------------------------------------------------------------------------------------------
>        "Systeme von Zeichen helfen uns,die Unordnung zu ordnen."
>                      --> http://www.typemuseum.com <--
> -------------------------------------------------------------------------------------------------------------
>
>
> _______________________________________________
> ZPatterns mailing list
> [email protected]
> http://www.eby-sarna.com/mailman/listinfo/zpatterns