ZOPE2.8.1 - terrible AssertionError

Bug #143494 reported by Ronny Gey
2
Affects Status Importance Assigned to Milestone
Zope 2
Invalid
Medium
Unassigned

Bug Description

We decided upgrade from ZOPE2.6.4 to ZOPE 2.8.1,
because ZOPE2.6.4 had to be automaticly restartet till 90times a day.
We suggest that ZOPE hangs because of the implemented
SessionHandling. From the day we use Sessions in our Website,
hangs appeared. This was not noticed in development state.
Till the day we set up our LIVE-Server with 2.6.4,
and much traffic was made on the Server, it hangs around.

So now, we are glad about the more stable ZOPE2.8.1,
but here we noticed another Error in System:
Often we open a website,
an "AssertionError" raises.

Traceback (innermost last):
  Module ZPublisher.Publish, line 119, in publish
  Module Zope2.App.startup, line 215, in commit
  Module transaction._manager, line 84, in commit
  Module transaction._transaction, line 381, in commit
  Module transaction._transaction, line 379, in commit
  Module transaction._transaction, line 424, in _commitResources
  Module ZODB.Connection, line 462, in commit
  Module ZODB.Connection, line 483, in _commit
AssertionError

If this Error appears, we can press "F5" to reload the website,
and the website is shown without this AssertionError,
correct as like as expected.

Any Suggestions?

Tags: bug zope
Revision history for this message
Tim Peters (tim-one) wrote :

See

http://mail.zope.org/pipermail/zope/2005-August/161120.html

for what appears to be the same symptom, and a discussion -- something is trying to commit an object without an oid (object id), and ZODB doesn't know what to do with such a thing.

Revision history for this message
Tim Peters (tim-one) wrote :

It would be helpful if someone who sees this problem added some prints at the point of the failing assert, so we could at least learn the type/class of the object without an oid.

Revision history for this message
Tres Seaver (tseaver) wrote :

Can you reproduce the symptom using a "stock" Zope (e.g., without
LFS or the ZMySQLDA involved?)

Revision history for this message
Tres Seaver (tseaver) wrote :

Changes: submitter email, edited transcript, importance (critical => medium), new comment

Not a release blocker.

Revision history for this message
Ronny Gey (mrronsen) wrote :

This error occurs because the LFS(LocalFileSystem)-Product does not work in ZOPE 2.8.1 as it should.
When i creat or change a LFS-File the Assertion-Error occurs.
Reading the a LFS-File is no problem.

(our website uses LFS for store/cache complete websites,
 own development)

LFS-function test:
1)
creating an LFS-Object via ZMI:
works

2)
update a existing Item/File in LFS via ZMI:
AssertionError,
but the File was correctly updated!

3)
create a new File in LFS via ZMI:
AssertionError,
but the File was correctly created!

4)
call objectItems of an LFS-Object raises no error,
but gives back an empty list, even though
the LFS-Object contains serveral items.

5)
Delete an item in the LFS-Object via ZMI:
works, without error

6)
access an Object/Items in the LFS directly via ID and read
its content:
works

The AssertionError can not be catched via try/except.

Revision history for this message
Hanno Schlichting (hannosch) wrote :

This turned out to be a problem in the LocalFileSystem product and not in Zope itself.

Changed in zope2:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.