Jim Fulton wrote:
2011-07-14 13:36:22 INFO Z2 Shutting down

That error message seems rather weird. WTF SIGINT?

Likely caused during the Zope shutdown amd unrelated).




Use multi-zodb-check-refs with the -r option to get a database of
reverse references.
Use that do figure out what's refering to the missing object and fix
that object(s) so that
it no longer does.

This gives me one reference:

plone@web1:~/poskeyerror-check$ cat Out
>>> for x in refs.items(): print x
...
('1', <BTrees.LOBTree.LOBTree object at 0xe7a850>)


I followed the documentation at

http://pastebin.com/bL0CbBm2

So what do I do with the oid 0xe7a850 in this case?

Trying to load the referenced object gives me of course a PosKey error:

>>> app = refs
>>> p64
<function p64 at 0x26ab2a8>
>>> app
{'Application': <persistent broken OFS.Application.Application instance '\x00\x00\x00\x00\x00\x00\x00\x01'>, 'ZGlobals': <BTrees.OOBTree.OOBTree object at 0x2a6f7d0>}
>>> app._p_jar.get(p64(0xe7a850))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
File "/export/plone/poskeyerror-check/lib/python2.6/site-packages/ZODB3-3.10.3-py2.6-linux-x86_64.egg/ZODB/Connection.py", line 248, in get
    p, serial = self._storage.load(oid, '')
File "/export/plone/poskeyerror-check/lib/python2.6/site-packages/ZODB3-3.10.3-py2.6-linux-x86_64.egg/ZODB/FileStorage/FileStorage.py", line 412, in load
    pos = self._lookup_pos(oid)
File "/export/plone/poskeyerror-check/lib/python2.6/site-packages/ZODB3-3.10.3-py2.6-linux-x86_64.egg/ZODB/FileStorage/FileStorage.py", line 403, in _lookup_pos
    raise POSKeyError(oid)
ZODB.POSException.POSKeyError: 0xe7a850


Andreas


<<attachment: lists.vcf>>

_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to