[Zope-PTK] Membership system without demoportal (again)

Fabio Forno sciasbat@inorbit.com
Tue, 18 Jul 2000 16:51:35 +0000


kamon ayeva wrote:
> 
> Hi,
> 
> It seems that this problem could be solved by using the last
> ZPatterns-0-4-0a5. I just downloaded it but I am still unable to complete my
> test because the DynPersist C extension requires to be built and I cannot
> run the setup file on my Windows 2000 at work. So I have to wait and try it
> on my Linux box at home tonight.
>

I've been trying to put all togheter
(Membership+LoginManager+ZPatterns+DemoPortal) for a while, but since
Zope 2.2 is out I've always failed. 
ZPatterns-0-4-0a5 seems fixing the TypeError, but there're still
problems when creating a new Portal object using the LoginManager. 
Using the pdb I've figured out that, when committing all the transaction
after the install process, 
SpecialistPlugIns calls _chekpoint and the same function of its parent's
parent, which is missin in the Portal object.

Here is the traceback. Any hint to fix it or to find a combination of
all the products working fine with Zope 2.2?

/home/sciasbat/zope/Zope-2.2.0-src/ZServer/PubCore/ZServerPublisher.py(95)__init__()
-> response=response)
 
/home/sciasbat/zope/Zope-2.2.0-src/lib/python/ZPublisher/Publish.py(222)publish_module()
-> response = publish(request, module_name, after_list, debug=debug)
 
/home/sciasbat/zope/Zope-2.2.0-src/lib/python/ZPublisher/Publish.py(175)publish()
-> if transactions_manager: transactions_manager.commit()
 
/home/sciasbat/zope/Zope-2.2.0-src/lib/python/Zope/__init__.py(235)commit()
-> get_transaction().commit()
 
/home/sciasbat/zope/Zope-2.2.0-src/lib/python/ZODB/Transaction.py(251)commit()->
j.commit(o,self)
 
/home/sciasbat/Zope/lib/python/Products/ZPatterns/Transactions.py(118)commit()->
self.client._checkpoint()
 
/home/sciasbat/Zope/lib/python/Products/ZPatterns/DataManagers.py(85)_checkpoint()
-> ob.__of__(self)._checkpoint()
> /home/sciasbat/Zope/lib/python/Products/ZPatterns/Providers.py(233)_checkpoint()
-> import pdb; pdb.set_trace()
  /var/tmp/python-root/usr/lib/python1.5/pdb.py(868)set_trace()->None
-> Pdb().set_trace()

ByE,
Fabio Forno