AssertionError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 2 |
Confirmed
|
Medium
|
Rocky Burt |
Bug Description
>I have a Plone site that works well without using ZEO.
>Yet since I've installed ZEO I've got an assertion error message when I try to add plone pages in my folder.
I've tested it on two different servers with Zope 2.9.5 and I always get this error. If I keep the exact same config but remove the ZEO, it works again.
>
>I've read that someone had a similar error using Zope 3 (http://
>But I wonder if this is a reliable change.
>Traceback (innermost last):
>Module ZPublisher.Publish, line 121, in publish
>Module Zope2.App.startup, line 240, in commit
>Module transaction.
>Module transaction.
>Module transaction.
>Module transaction.
>Module ZODB.Connection, line 679, in tpc_finish
>Module ZEO.ClientStorage, line 974, in tpc_finish
>Module ZEO.ClientStorage, line 999, in _update_cache
>Module ZEO.cache, line 367, in invalidate
>AssertionError
Status: Pending => Accepted
Supporters added: rocky
This is a bug in the "python package as products" support currently
within Five: it is trying to commit transactions within the
'initialize' call of Five, which *must not happen.*
Rocky, can you work out out to preserve the real feature without
opening a new database connection?