Marshal Problems

Michael Hudson mwh at python.net
Wed May 23 14:13:29 EDT 2001


"Aaron Wilson" <david_pasiely at hotmail.com> writes:

> We've having a problem with some of our marshaled data. We're
> marshalling (largish) dictionary consisting of int id and list
> value, Occasionally (and unrepeatablely !) after marshalling the
> data we cannot unmarshal it.

How large is "largish"?  What's in the lists?

> Comparing files (one from backup) the problem seems to be that one
> byte of a string was omitted (and this consequently breaks the
> unmarshal) interestingly a junk byte is added to the end of the
> file.

Odd.  New to me.

> Unfortunately the data is confidential and so we cannot post the files !
> 
> Any thoughts/comments on what could be causing this and how to fix it ?

Not really.  Staring at marshal.c and looking for something really
stupid?  Bizarre OS I/O bugs?

Cheers,
M.

-- 
  ARTHUR:  Why should a rock hum?
    FORD:  Maybe it feels good about being a rock.
                    -- The Hitch-Hikers Guide to the Galaxy, Episode 8



More information about the Python-list mailing list