Re: bad marshal data in site.py in fresh 2.5 install win

2007-01-03 Thread TiNo
Removing aliases.pyc solved it. Thank you. 2007/1/3, "Martin v. Löwis" <[EMAIL PROTECTED]>: > TiNo schrieb: > > File "F:\Python25\lib\encodings\__init__.py", line 32, in > >from encodings import aliases > > ValueError: bad marshal data >

Re: bad marshal data in site.py in fresh 2.5 install win

2007-01-03 Thread Martin v. Löwis
TiNo schrieb: > File "F:\Python25\lib\encodings\__init__.py", line 32, in >from encodings import aliases > ValueError: bad marshal data > > also removed site.pyc, and run it again, but with the same result. It's likely rather aliases.pyc which is bad, so

Re: bad marshal data in site.py in fresh 2.5 install win

2006-12-30 Thread TiNo
5\lib\site.py", line 356, in aliasmbcs import locale, codecs File "F:\Python25\lib\locale.py", line 14, in import sys, encodings, encodings.aliases File "F:\Python25\lib\encodings\__init__.py", line 32, in from encodings import aliases ValueError: bad mars

Re: bad marshal data in site.py in fresh 2.5 install win

2006-12-29 Thread Martin v. Löwis
TiNo schrieb: > # G:\Python25\lib\encodings\aliases.pyc matches [...] > File "F:\Python25\lib\encodings\__init__.py", line 32, in > > What can I do about this? Where does F:\Python25 come from? If you have set any PYTHON* environment variables (e.g. PYTHONPATH), unset them. Regards, Martin --

bad marshal data in site.py in fresh 2.5 install win

2006-12-29 Thread TiNo
n25\lib\locale.py", line 14, in import sys, encodings, encodings.aliases File "F:\Python25\lib\encodings\__init__.py", line 32, in ValueError: bad marshal data # G:\Python25\lib\warnings.pyc matches G:\Python25\lib\warnings.py import warnings # precompiled from G:\Python25

Re: Bad marshal data

2005-12-14 Thread Alex Martelli
Michael McGarry <[EMAIL PROTECTED]> wrote: > Pickle is working well for me. I do not need speed or small file size. > Flexibility is more important for me. If speed was important I would > write the app in C. Coding an app in C which writes very large text files would probably be the wrong choice

Re: Bad marshal data

2005-12-14 Thread Michael McGarry
Pickle is working well for me. I do not need speed or small file size. Flexibility is more important for me. If speed was important I would write the app in C. -- http://mail.python.org/mailman/listinfo/python-list

Re: Bad marshal data

2005-12-13 Thread Alex Martelli
Michael McGarry <[EMAIL PROTECTED]> wrote: > I am using the marshal module in python to save a data structure to a > file. It does not appear to be portable. The data is saved on a Linux > machine. Loading that same data on a Mac gives me the bad marshal data > message. If you&

Re: Bad marshal data

2005-12-13 Thread Paul Rubin
"Michael McGarry" <[EMAIL PROTECTED]> writes: > Marshal should save the data in a readable text format, but I guess it > does not. > > Any help would be appreciated, RTFM. Marshal is not intended for what you're doing. Use Pickle, which is. -- http://mail.python.org/mailman/listinfo/python-lis

Bad marshal data

2005-12-13 Thread Michael McGarry
Hi, I am using the marshal module in python to save a data structure to a file. It does not appear to be portable. The data is saved on a Linux machine. Loading that same data on a Mac gives me the bad marshal data message. Is this data really not portable or I am doing something wrong here. I