[ZCM] [ZC] 2328/ 2 Comment "AssertionError"
"Collector: Zope Bugs, Features, and Patches ..." <[email protected]> Sat, 09 Jun 2007 02:20:10 -0400
| Newsgroups | gmane.comp.web.zope.devel.collector-monitor |
|---|---|
| Message-ID | <[email protected]> |
Issue #2328 Update (Comment) "AssertionError" Status Pending, Zope/bug critical To followup, visit: http://www.zope.org/Collectors/Zope/2328 ============================================================== = Comment - Entry #2 by ajung on Jun 9, 2007 2:20 am Please check if the problem persists and if it is reproducable ________________________________________ = 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 ==============================================================