[ZCM] [ZC] 2328/ 7 Comment "AssertionError"
"Collector: Zope Bugs, Features, and Patches ..." <[email protected]> Wed, 19 Sep 2007 20:45:26 -0400
| Newsgroups | gmane.comp.web.zope.devel.collector-monitor |
|---|---|
| Message-ID | <[email protected]> |
Issue #2328 Update (Comment) "AssertionError" Status Accepted, Zope/bug medium To followup, visit: http://www.zope.org/Collectors/Zope/2328 ============================================================== = Comment - Entry #7 by wichert on Sep 19, 2007 8:45 pm This may be fixed in Zope 2.10.4; there are several fixes in that release that help with ZEO and packages-as-products. ________________________________________ = Comment - Entry #6 by Biroto on Jun 11, 2007 1:31 pm "Please check if the problem persists and if it is reproducable" --> Yes it is, I've tried it on two different servers with Zope 2.9.5 and 2.9.7. I've just tried to remove Five and indeed I don't have the error anymore. ________________________________________ = Assign - Entry #5 by tseaver on Jun 9, 2007 5:09 am 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? ________________________________________ = Comment - Entry #4 by ajung on Jun 9, 2007 8:21 am Please check if the problem persists and if it is reproducable ________________________________________ = Edit - Entry #3 by ajung on Jun 9, 2007 8:20 am Changes: submitter email, edited transcript, importance (critical => medium) ________________________________________ = Request - Entry #1 by Biroto on May 24, 2007 6:20 pm >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://mail.zope.org/pipermail/zope3-users/2006-July/003833.html). I've tried like him to change at line 367 of lib/python/ZEO/cache.py the "cur_tid < tid" to "cur_tid <= tid" and now i don't have the assertionError anymore. >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._manager, line 96, in commit >Module transaction._transaction, line 380, in commit >Module transaction._transaction, line 378, in commit >Module transaction._transaction, line 441, in _commitResources >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 ==============================================================