[Zope-PTK] Getting it all to work ;-)

Chris Withers chrisw@nipltd.com
Wed, 28 Jun 2000 14:27:28 +0100


So I'm on TeamPTK which, I guess, means I should at least have the PTK
up and running ;-)

Checkout the latest PTK CVS, fine...

Copy all the bits to the right places, fine...
-LoginManager (from PTK CVS)
-PTKBase
-PTKDemo

Get ZPatterns 0.4.0a4
-Built that DynPersist thing...

(If PTK depends on ZPatterns, this step needs to be eliminated before
PTK 1.0 ;-)

...fine, no complaints.

Restart Zope.. not fine...

LoginManager is broken (and hence PTKBase) with the following traceback:

Traceback (innermost last):
  File "/usr/local/zope/2-1-6/lib/python/OFS/Application.py", line 387,
in import_products
  File
"/usr/local/zope/hack/current/lib/python/Products/LoginManager/__init__.py",
line 1, in ?
    import LoginManager, LoginMethods, UserSources
  File
"/usr/local/zope/hack/current/lib/python/Products/LoginManager/LoginManager.py",
line 9, in ?
    from Products.ZPatterns.SheetProviders import SheetProviderContainer
ImportError: cannot import name SheetProviderContainer

Any ideas?

Chris

PS: What's the difference between LoginManager and LoginManager-in-PTK?
I hope nothing, in which case it should be removed from the PTK CVS and
any PTK distributions.
That said, I reckon LoginManager should probably work its way into the
Zope Core at some stage...