Problem with old Pickle file

C

Chris Stiles

Hi --

I have a problem where I have a database file containing pickled python
objects written with a previous version on python. Attempting to read it with
present system install results in the following error:

Traceback (most recent call last):
File "<stdin>", line 1, in ?
AttributeError: 'bool' object has no attribute '__dict__'

The pickled format used is the non binary variety. Is there any systematic
way of going about reading the pickles ? If i can do this at least, writing
them out so that they can be reimported should be fairly straightforward.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,169
Messages
2,570,920
Members
47,463
Latest member
FinleyMoye

Latest Threads

Top