Installing LoginManager with Zope 2.5 and ZPatterns 0-4-3 beta2
Hi, I've been trying to install LoginManager (version 0.8.8 beta 1, and then version 0.8.6, ie: the last non-beta) on Zope 2.5 with ZPatterns 0.4.3 Beta 2 on Windows 2000. LoginManager shows up as a broken product. Here's the traceback I've been getting: Traceback (most recent call last): File "D:\Zope\lib\python\OFS\Application.py", line 531, in import_product product=__import__(pname, global_dict, global_dict, silly) File "D:\Zope\lib\python\Products\LoginManager\__init__.py", line 1, in ? import LoginManager, LoginMethods, UserSources File "D:\Zope\lib\python\Products\LoginManager\LoginManager.py", line 7, in ? from Products.ZPatterns.PlugIns import PlugInGroup File "D:\Zope\lib\python\Products\ZPatterns\__init__.py", line 1, in ? import Rack, Specialists, Customizers, AttributeProviders, SheetProviders File "D:\Zope\lib\python\Products\ZPatterns\Rack.py", line 1, in ? from DataManagers import DataManager File "D:\Zope\lib\python\Products\ZPatterns\DataManagers.py", line 6, in ? from AttributeProviders import AttributeProvider File "D:\Zope\lib\python\Products\ZPatterns\AttributeProviders.py", line 7, in ? from Expressions import * File "D:\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 Does anyone know of a fix, or failing that a stable combination of LoginManager and ZPatterns which runs on Zope 2.5? Thanks Ross
I don't know if you are still trying to get this, but Login Manager seems to work with the ZPatterns that comes in TransactionAgents. I can't vouch for stability, since I've just barely got it running myself. http://www.cat-box.net/steve/TransactionAgents-0.0.1a.tar.gz You'll need to compile the DynPersist.c with a source dist of zope. I'll probably move away from LoginManager in the future, but if this lets me upgrade some sites, then it should be good enough for now. -Paul Ross Balmer wrote:
Hi,
I've been trying to install LoginManager (version 0.8.8 beta 1, and then version 0.8.6, ie: the last non-beta) on Zope 2.5 with ZPatterns 0.4.3 Beta 2 on Windows 2000. LoginManager shows up as a broken product. Here's the traceback I've been getting:
Traceback (most recent call last): File "D:\Zope\lib\python\OFS\Application.py", line 531, in import_product product=__import__(pname, global_dict, global_dict, silly) File "D:\Zope\lib\python\Products\LoginManager\__init__.py", line 1, in ? import LoginManager, LoginMethods, UserSources File "D:\Zope\lib\python\Products\LoginManager\LoginManager.py", line 7, in ? from Products.ZPatterns.PlugIns import PlugInGroup File "D:\Zope\lib\python\Products\ZPatterns\__init__.py", line 1, in ? import Rack, Specialists, Customizers, AttributeProviders, SheetProviders File "D:\Zope\lib\python\Products\ZPatterns\Rack.py", line 1, in ? from DataManagers import DataManager File "D:\Zope\lib\python\Products\ZPatterns\DataManagers.py", line 6, in ? from AttributeProviders import AttributeProvider File "D:\Zope\lib\python\Products\ZPatterns\AttributeProviders.py", line 7, in ? from Expressions import * File "D:\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
Does anyone know of a fix, or failing that a stable combination of LoginManager and ZPatterns which runs on Zope 2.5?
Thanks Ross
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Hi Paul, Ross, This is a really old version of Transaction Agents. To get the latest you might try: http://www.cat-box.net/steve/TransactionAgents Also.. there is a howto on zopeonarope about this that might be useful: http://www.zopeonarope.com/ch13/installLoginManager/view -steve On Saturday, March 2, 2002, at 04:41 PM, Paul Erickson wrote:
I don't know if you are still trying to get this, but Login Manager seems to work with the ZPatterns that comes in TransactionAgents. I can't vouch for stability, since I've just barely got it running myself.
http://www.cat-box.net/steve/TransactionAgents-0.0.1a.tar.gz
You'll need to compile the DynPersist.c with a source dist of zope.
I'll probably move away from LoginManager in the future, but if this lets me upgrade some sites, then it should be good enough for now.
-Paul
Ross Balmer wrote:
Hi,
I've been trying to install LoginManager (version 0.8.8 beta 1, and then version 0.8.6, ie: the last non-beta) on Zope 2.5 with ZPatterns 0.4.3 Beta 2 on Windows 2000. LoginManager shows up as a broken product. Here's the traceback I've been getting:
Traceback (most recent call last): File "D:\Zope\lib\python\OFS\Application.py", line 531, in import_product product=__import__(pname, global_dict, global_dict, silly) File "D:\Zope\lib\python\Products\LoginManager\__init__.py", line 1, in ? import LoginManager, LoginMethods, UserSources File "D:\Zope\lib\python\Products\LoginManager\LoginManager.py", line 7, in ? from Products.ZPatterns.PlugIns import PlugInGroup File "D:\Zope\lib\python\Products\ZPatterns\__init__.py", line 1, in ? import Rack, Specialists, Customizers, AttributeProviders, SheetProviders File "D:\Zope\lib\python\Products\ZPatterns\Rack.py", line 1, in ? from DataManagers import DataManager File "D:\Zope\lib\python\Products\ZPatterns\DataManagers.py", line 6, in ? from AttributeProviders import AttributeProvider File "D:\Zope\lib\python\Products\ZPatterns\AttributeProviders.py", line 7, in ? from Expressions import * File "D:\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
Does anyone know of a fix, or failing that a stable combination of LoginManager and ZPatterns which runs on Zope 2.5?
Thanks Ross
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (3)
-
Paul Erickson -
Ross Balmer -
Steve Spicklemire