Re: ValueError: insecure string pickle ?



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 -------------

.



Relevant Pages

  • Re: Mysterious Problem
    ... Robert ... > The KB article says "Restart IIS" and we do not use IIS. ... I restarted the machine and now I got a log file for ... Both files contain a log entry ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Unwanted Windows on startup
    ... Robert ... > the log file here. ... > Windows XP Troubleshooting ...
    (microsoft.public.windowsxp.general)
  • Re: KB920685 wont install
    ... Find the log file ...and can you post it here? ... Robert wrote: ... I have no idea how to troubleshoot this to get it installed. ... Error Code: 0x8007F01E ...
    (microsoft.public.windows.server.sbs)
  • Re: Thread-based Logging with log4j
    ... messages to seperate log file. ... Personally I'd prefer just writing the thread id to the log file. ...
    (comp.lang.java.programmer)
  • Walking backwards with a regex
    ... I have a log file that always ends with: ... I want to get at the info between the parens. ... Robert ... Prev by Date: ...
    (comp.lang.tcl)

Loading