By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,682 Members | 1,105 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,682 IT Pros & Developers. It's quick & easy.

cPickle from 2.2 to 2.1

P: n/a
hi list,

I use cPickle in a small .cgi to save data. It run's fine on python
2.2.3 (used for development) but fails on 2.1.1 (webserver) with:

File "spyblog.py", line 543, in __init__
self.entry = cPickle.load(open(log + self.filename, 'r+'))
SystemError: Failed to import class _reconstructor from module copy_reg
If I create the file on the webserver everything works, so apparently
the 2.1.1 version of cPickle can't read files generated with the newer
one. Does it mean the cPickle format is not compatible across versions?

thx
Paul

Jul 18 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.