What is "marshal data"?
Werner Schiendl
ws-news at gmx.at
Fri Nov 16 06:45:14 EST 2001
Hi,
just a guess, but even if the magic id in the .pyc file is the same, does
this guarantee that the .pyc file is protable between different platforms?
Things as the size of a data type (like int or double), endian issues and so
on?
just a guess
Werner
"Soren Ragsdale" <soren at pobox.com> wrote in message
news:859c71be.0111151028.63227109 at posting.google.com...
> I'm testing some scripts with Python 2.1.1: we're upgrading from
> 1.5.2. I've been noticing this error, and the REAL problem is that
> I've never heard of "marshal data" before. This error is not
> reproducible: this script is part of a distributed program which runs
> on about 200 machines, and four of the scripts produced this error.
> The problem isn't isolated to individual machines:
>
> > /tip/td/python2-irix64/bin/python -u ren_blade.py 44
> Traceback (most recent call last):
> File "ren_blade.py", line 4, in ?
> import uh,gh
> ValueError: bad marshal data
>
> Possible sources of the problem: "uh.py" is imported from MANY
> programs on our network. It's being imported by Linux and Irix
> machines running 1.5.2 and 2.1.1 versions of Python. Could this be
> some sort of race condition, where one platform or version produces a
> .pyc file while the other platform or version is also writing the same
> .pyc file?
More information about the Python-list
mailing list