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

2005-09-04 Thread Martijn Pieters
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


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


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

2005-09-04 Thread Jake
The good news I figured it out (http://zopezone.com/discussions/ 
general/0168) the bad news is it is my Members folder which  
seems to contain the problem. I can't get the folder to list so I  
cannot get any of the members (3,500+) out of it.


Any ideas?

Jake

http://www.ZopeZone.com
Zoping for the rest of us



On Sep 3, 2005, at 6:34 PM, Martijn Pieters wrote:


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


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )




___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )