durusmail: durus-users: Pickle error - pytz
Pickle error - pytz
2005-01-01
Re: Pickle error - pytz
2005-01-01
2005-01-01
2005-01-01
2005-01-01
Pickle error - pytz
Michael Watkins
2005-01-01
Greetings - I'm running into a problem with Durus being unable to pickle
dates.

Environement:
- latest released Durus
- Python 2.3, 2.4
- standard datetime but with Stuart Bishop's pytz tzinfo classes)
http://pytz.sourceforge.net/

Can you suggest where I might continue digging base on this:

->> commit()
Traceback (most recent call last):
  File "", line 2, in ?
  File "/usr/local/lib/python2.4/site-packages/durus/connection.py", line
227, in commit
    data, refs = writer.get_state(obj)
  File "/usr/local/lib/python2.4/site-packages/durus/serialize.py", line
108, in get_state
    self.pickler.dump(obj.__getstate__())
PicklingError: Can't pickle : it's not
the same object as sous.pytz.zoneinfo.UTC.UTC

reply