Re: ValueError: insecure pickle string

2011-03-28 Thread pradeepbpin
> For new data: an alternative is to open the file in binary mode for both > reading and writing on all platforms. This will also allow you to switch to > the more efficient binary pickle protocols. Writing and reading the pickled file in binary mode seems to be working. Thank you. -- http://ma

Re: ValueError: insecure pickle string

2011-03-28 Thread Steven D'Aprano
On Mon, 28 Mar 2011 08:53:35 -0700, pradeepbpin wrote: > I am encountering 'Value Error: insecure string pickle' when trying to > execute the script on Ubuntu. The same script and the pickled file works > without any problem in Windows. For working in Ubuntu I just copied both > the script file an

Re: ValueError: insecure pickle string

2011-03-28 Thread Peter Otten
pradeepbpin wrote: > I am encountering 'Value Error: insecure string pickle' when trying to > execute the script on Ubuntu. The same script and the pickled file > works without any problem in Windows. For working in Ubuntu I just > copied both the script file and pickled file from Windows. > > >