On Thu, Jul 14, 2011 at 3:23 PM, Hanno Schlichting <ha...@hannosch.eu> wrote:
> On Thu, Jul 14, 2011 at 5:38 PM, Andreas Jung <li...@zopyx.com> wrote:
>> For the sake of completeness: I found this
>> and will try it out .
> There's also instructions in my pastebin dump on how to do this - and
> quite a bit simpler than Chris version:
> from persistent import Persistent
> a = Persistent()
> a._p_oid = '\x00\x00\x00\x00\x00\xc9-w'
> a._p_jar = app._p_jar
> app._p_jar._added[a._p_oid] = a
> At Jarn we've used that trick many times to repair broken internals in
> the intid/keyreference data structures.
Do you have any theories why objects are going away for you?
The only time we've seen this is when we packed a multi-database incorrectly.
For more information about ZODB, see the ZODB Wiki:
ZODB-Dev mailing list - ZODB-Dev@zope.org