[Zope] Re: Finding and killing the POSKeyError in ZODB

Martijn Pieters mj at zopatista.com
Sat Sep 3 18:34:10 EDT 2005


Jake wrote:
> I get:
> 
>  >>> obj = app._p_jar['\x00\x00\x00\x00\x00\x04\x9d#']
> Traceback (most recent call last):
>    File "<stdin>", line 1, in ?
> AttributeError: 'function' object has no attribute '_p_jar'

I think 'app' in your case is Zope.app (from Zope import app). You prolly
also have a 'root' object then; modify the above to read:

  >>> obj = root._p_jar['\x00\x00\x00\x00\x00\x04\x9d#']

and you should be fine.

Martijn Pieters




More information about the Zope mailing list