[Zope] LoginManager

D. Rick Anderson ruger@comnett.net
Thu, 18 Jul 2002 12:22:39 -0700


I'm not sure that this is the right mail forum, but is anybody using 
LoginManager? We're trying to change from GUF to LoginManager and I'm 
having some problems with it. I spent forever just trying to get 
ZPatterns to work right, but that seems like it's installed ok now. 
Here's what I'm using:

Zope 2.4.3 on RH 7.1
ZPatterns 0.4.3b1
LoginManager 0.8.6 and/or 0.8.8b1 (they both do the same thing)

LoginManager just shows up in the Product Management as a Broken Product 
and this is what it gives for traceback:

Traceback (most recent call last):

  File "/usr/local/Zope/lib/python/OFS/Application.py", line 563, in import_product
    product=__import__(pname, global_dict, global_dict, silly)
  File "/usr/local/Zope/lib/python/Products/LoginManager/__init__.py", line 1, in ?
    import LoginManager, LoginMethods, UserSources
  File "/usr/local/Zope/lib/python/Products/LoginManager/LoginManager.py", line 7, in ?
    from Products.ZPatterns.PlugIns import PlugInGroup
  File "/usr/local/Zope/lib/python/Products/ZPatterns/__init__.py", line 1, in ?
    import Rack, Specialists, Customizers, AttributeProviders, SheetProviders
  File "/usr/local/Zope/lib/python/Products/ZPatterns/Rack.py", line 1, in ?
    from DataManagers import DataManager
  File "/usr/local/Zope/lib/python/Products/ZPatterns/DataManagers.py", line 6, in ?
    from AttributeProviders import AttributeProvider
  File "/usr/local/Zope/lib/python/Products/ZPatterns/AttributeProviders.py", line 7, in ?
    from Expressions import *
  File "/usr/local/Zope/lib/python/Products/ZPatterns/Expressions.py", line 38, in ?
    from DocumentTemplate.DT_Util import Eval, expr_globals, TemplateDict, \
ImportError: cannot import name expr_globals

Both versions that I've tried do this. I've checked permissions and 
tried re-compiling ZPatterns, but it always shows up like this. Any ideas?

TIA

Rick