Re: Pickling issue.

2020-12-23 Thread vincent . vandevyvre
On 22/12/20 01:57, Bob Gailer wrote: > > > On Mon, Dec 21, 2020, 3:03 PM Vincent Vande Vyvre > wrote: > > Hi, > > I've an object that I want to serialise with pickle. > When I reload the object the attributes of this object are correctly > fixed except one of these. > > This a

Re: Pickling issue.

2020-12-21 Thread Bob Gailer
On Mon, Dec 21, 2020, 3:03 PM Vincent Vande Vyvre < vincent.vande.vy...@telenet.be> wrote: > Hi, > > I've an object that I want to serialise with pickle. > When I reload the object the attributes of this object are correctly > fixed except one of these. > > This attribute (value) define a simple s

Pickling issue.

2020-12-21 Thread Vincent Vande Vyvre
Hi, I've an object that I want to serialise with pickle. When I reload the object the attributes of this object are correctly fixed except one of these. This attribute (value) define a simple string. Example: - tag =  XmpTag('Xmp.dc.format', 'image/

Re: Python Pickling Issue

2011-11-03 Thread Brandon Harris
After digging around a while I discovered I was attempting to pickle a third party class that can't be pickled. Initially I was removing it before pickling and everything was kosher, but at some point it got back onto the class. Apologies. Brandon L. Harris On 11/03/2011 09:42 AM, Brandon Ha

Python Pickling Issue

2011-11-03 Thread Brandon Harris
I have written a fairly large DAG with python and I've run into an issue when attempting to pickle the data to disk. It will pickle fine the first time, but if I call pickle again, it throws this error. /usr/lib64/python2.6/copy_reg.py in _reduce_ex(self, proto) 68 else: 69