Re: [ZODB-Dev] Old transaction records with "bad" pickle data preventing packing

2010-06-14 Thread Jim Fulton
On Mon, Jun 14, 2010 at 3:43 AM, Jens Vagelpohl wrote: > Hi all, > > In a system using Zope 2.11 and ZODB 3.7.0b3 I'm having a problem with > old transaction records containing pickle data that fails on > cPickle.Unpickler.noload as employed by ZODB.serialize.referencesf, I > get an AttributeError

Re: [ZODB-Dev] Old transaction records with "bad" pickle data preventing packing

2010-06-14 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 6/14/10 10:19 , Shane Hathaway wrote: > On 06/14/2010 01:43 AM, Jens Vagelpohl wrote: >> My question: Is there any risk associated with ignoring the failure >> during packing? The latest object versions for the persistent objects in >> question do n

Re: [ZODB-Dev] Old transaction records with "bad" pickle data preventing packing

2010-06-14 Thread Shane Hathaway
On 06/14/2010 01:43 AM, Jens Vagelpohl wrote: > My question: Is there any risk associated with ignoring the failure > during packing? The latest object versions for the persistent objects in > question do not have the problematic attribute anymore, so the latest > records are "safe" and will not ca

[ZODB-Dev] Old transaction records with "bad" pickle data preventing packing

2010-06-14 Thread Jens Vagelpohl
Hi all, In a system using Zope 2.11 and ZODB 3.7.0b3 I'm having a problem with old transaction records containing pickle data that fails on cPickle.Unpickler.noload as employed by ZODB.serialize.referencesf, I get an AttributeError from inside the cPickle module: def referencesf(p, oids=None):