S
sosman
After pickling several lists of objects using protocol 2, when I
unpickle I get:
TypeError: ord() expected a character, but string of length 0 found
When I use protocol 0 (ascii) this doesn't occur.
Now it is almost certainly something I have stuffed up but it is not
obvious to me how to debug this kind of problem.
When I mean pickling several lists, I open a file, call dump for each
list of objects then close the file. Similarly for unpickling.
unpickle I get:
TypeError: ord() expected a character, but string of length 0 found
When I use protocol 0 (ascii) this doesn't occur.
Now it is almost certainly something I have stuffed up but it is not
obvious to me how to debug this kind of problem.
When I mean pickling several lists, I open a file, call dump for each
list of objects then close the file. Similarly for unpickling.