[ZCM] [ZC] 852/ 6 Comment "ZODB Transaction error hangs Zope: AttributeError: Surrogate instance has no attribute '_p_oid'"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Sat Jan 17 16:29:28 EST 2004


Issue #852 Update (Comment) "ZODB Transaction error hangs Zope: AttributeError: Surrogate instance has no attribute '_p_oid'"
 Status Pending, Zope/bug critical
To followup, visit:
  http://collector.zope.org/Zope/852

==============================================================
= Comment - Entry #6 by jeremy on Jan 17, 2004 4:29 pm

How would I go about reproducing the bug?  The report doesn't have a recipe right now, so I've got no idea how to start looking into it.  What's a Surrogate object?

________________________________________
= Comment - Entry #5 by koschinh on Jan 2, 2004 4:36 am

I confirm this problem with Zope2.6.2, Python 2.1.3, zodb-3.1, ZEO.

It's really strange - does anybody know if there is a fix inside?
________________________________________
= Comment - Entry #4 by zettai on Nov 19, 2003 3:27 pm

I am getting this with Zope 2.6.2 and Python 2.1.3 on FreeBSD 5.0, fwiw.
________________________________________
= Comment - Entry #3 by ctbk on Oct 28, 2003 5:41 am

I confirm this issue: debian linux 2.4.20 zope 2.6.2 python 2.2.3;
Don't know what to do: the entire site hangs, the only solution is to restart. Don't know if I can afford a Zope downgrade. What should I do (apart from automatically restart Zope every 20 minutes)?
________________________________________
= Comment - Entry #2 by hg_zen on Apr 2, 2003 12:23 pm

Found a Workaround:
Using Zope 2.6.0 does not raise the error.
________________________________________
= Request - Entry #1 by hg_zen on Mar 14, 2003 7:24 pm

Get the following error in the Zope log:
2003-03-14T16:10:43 ERROR(200) ZODB A storage error occured during transaction abort.  This shouldn't happen.
Traceback (innermost last):
  File /usr/www/xxxx/Zope-2.6.1-src/lib/python/ZODB/Transaction.py, line 261, in commit
  File /usr/www/xxxx/Zope-2.6.1-src/lib/python/ZODB/Transaction.py, line 392, in _commit_error
AttributeError: Surrogate instance has no attribute '_p_oid'

---
After that error occurs, requests to Zope hang without returning any data or errors.  We've had to restart the server several times a day to combat this problem.  We don't know what's causing the error that causes this.
==============================================================




More information about the Zope-Collector-Monitor mailing list