A folder full of images is getting this error when trying to access its contents in ZMI: Error Type: POSKeyError Error Value: 00000000000d0fa7 Traceback (innermost last): File /var/www/zope/mainzope/lib/python/ZPublisher/Publish.py, line 150, in publish_module File /var/www/zope/mainzope/lib/python/ZPublisher/Publish.py, line 114, in publish File /var/www/zope/mainzope/lib/python/Zope/__init__.py, line 159, in zpublisher_exception_hook (Object: images) File /var/www/zope/mainzope/lib/python/ZPublisher/Publish.py, line 98, in publish File /var/www/zope/mainzope/lib/python/ZPublisher/mapply.py, line 88, in mapply (Object: manage_main) File /var/www/zope/mainzope/lib/python/ZPublisher/Publish.py, line 39, in call_object (Object: manage_main) File /var/www/zope/mainzope/lib/python/Shared/DC/Scripts/Bindings.py, line 252, in __call__ (Object: manage_main) File /var/www/zope/mainzope/lib/python/Shared/DC/Scripts/Bindings.py, line 283, in _bindAndExec (Object: manage_main) File /var/www/zope/mainzope/lib/python/App/special_dtml.py, line 172, in _exec (Object: manage_main) File /var/www/zope/mainzope/lib/python/DocumentTemplate/DT_In.py, line 637, in renderwob (Object: objectItems) File /var/www/zope/mainzope/lib/python/DocumentTemplate/DT_In.py, line 763, in sort_sequence (Object: objectItems) File /var/www/zope/mainzope/lib/python/ZODB/Connection.py, line 447, in setstate File /var/www/zope/mainzope/lib/python/ZEO/ClientStorage.py, line 365, in load (Object: ('ip.ip.ip.ip', 7700)) File /var/www/zope/mainzope/lib/python/ZEO/zrpc.py, line 239, in __call__ POSKeyError: (see above) Until today, you could add images from my application but today I get the error when the upload page tries to send the image in. The upload process used to work fine even when getting this error trying to view the contents. HELP! (IP Address above change to protect the innocent...) RH7.2 Zope 2.5.1 w/ZEO & SQUID -Allen
On Wednesday 24 Jul 2002 1:17 pm, Schmidt, Allen J. wrote:
A folder full of images is getting this error when trying to access its contents in ZMI:
Error Type: POSKeyError Error Value: 00000000000d0fa7
You have a dangling reference. ZODB reported that it doesnt contain an object (the object with that oid), but another object contains a reference to it. This should not happen. Unless youve been writing any low level ZODB code, this isnt your fault.
Until today, you could add images from my application but today I get the error when the upload page tries to send the image in. The upload process used to work fine even when getting this error trying to view the contents. HELP! (IP Address above change to protect the innocent...)
RH7.2 Zope 2.5.1 w/ZEO & SQUID
ZEO 1 or 2? What storage inside the ZEO server? Anything interesting in the ZEO log? If your ZEO server is using FileStorage, I suggest: 1. stop the ZEO server and Zope processes 2. archive your data.fs and data.fs.index files. (they may be useful for debugging how you got in this state) 3. remove the data.fs.index file. 4. start the ZEO server. this may take a while. 5. delete any client caches 6. start Zope The data.fs.index file is a cache of the in-memory index mapping oid to file seek position. Zope 2.5.1 uses BTrees for this index, but there are some known BTree-corrupting bugs. If you are feeling brave, you might want to consider upgrading to the current cvs version. Alternatively, remove the fsIndex.py file to downgrade to using a dictionary instead of BTrees for this index. This is safer, but has much higher emmory usage.
participants (2)
-
Schmidt, Allen J. -
Toby Dickenson