Is is ok to just run this anytime as a preventive measure? We had a POSkeyerror that would show up now and again but we could never nail it down.
Are there any drawbacks to running this on a production server?

Dieter Maurer wrote:
Rupesh P Raj wrote at 2008-12-2 13:46 +0530:
I am getting the following POSKeyError. Can anyone please tell me, what is
the reason for this error, and how can I rectify it:

2008-12-02T03:16:11 ERROR ZODB.Connection Couldn't load state for 0x18fb01
Traceback (most recent call last):
 File "/opt/Zope-2.8.8/lib/python/ZODB/", line 704, in
 File "/opt/Zope-2.8.8/lib/python/ZODB/", line 740, in
   p, serial = self._storage.load(obj._p_oid, self._version)
 File "/opt/Zope-2.8.8/lib/python/ZEO/", line 746, in load
   return self.loadEx(oid, version)[:2]
 File "/opt/Zope-2.8.8/lib/python/ZEO/", line 769, in
   data, tid, ver = self._server.loadEx(oid, version)
 File "/opt/Zope-2.8.8/lib/python/ZEO/", line 192, in loadEx
   return"loadEx", oid, version)
 File "/opt/Zope-2.8.8/lib/python/ZEO/zrpc/", line 536, in
   raise inst # error raised by server
POSKeyError: 0x18fb01

Your ZODB contains an object referencing another object with object id
"0x18fb01" but this object is missing (not in the ZODB).
I.e., you have a dangling (persistent) reference.

You can use the "fsrefs" utility to check for such dangling references.
It will tell you about the referencing object and its broken references.
You can fetch the referencing object and try to fix it (there is a
HowTo somewhere how you can approach this).

Zope maillist  -
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to