ValueError: insecure string pickle ?

Steve Holden steve at holdenweb.com
Tue Sep 11 20:50:42 CEST 2007


robert wrote:
> cPickle.loads  raised "ValueError: insecure string pickle".
> The error is from a log file and I cannot reproduce it (quickly). 
> What can be the cause for that error?
> 
> Robert

Make sure that your pickle files are being read and written in binary 
mode ("rb" and "wb" as the second argument to open()).

regards
  Steve
-- 
Steve Holden        +1 571 484 6266   +1 800 494 3119
Holden Web LLC/Ltd           http://www.holdenweb.com
Skype: holdenweb      http://del.icio.us/steve.holden
--------------- Asciimercial ------------------
Get on the web: Blog, lens and tag the Internet
Many services currently offer free registration
----------- Thank You for Reading -------------




More information about the Python-list mailing list