[ZCM] [ZC] 2328/ 3 Edit "AssertionError"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Sat Jun 9 08:20:52 EDT 2007


Issue #2328 Update (Edit) "AssertionError"
 Status Pending, Zope/bug medium
To followup, visit:
  http://www.zope.org/Collectors/Zope/2328

==============================================================
= 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
==============================================================



More information about the Zope-Collector-Monitor mailing list