Falldog / pyconcrete

Protect your python script, encrypt it as .pye and decrypt when import it
Apache License 2.0
702 stars 150 forks source link

Bad Marshall data #39

Closed dtj20 closed 5 years ago

dtj20 commented 6 years ago

Running pyconcrete files gives me the following error "ValueError: bad marshal data (unknown type code)"

This happens with any file since I did a reinstall of pyconcrete to change the secret password. Before I did the reinstall I deleted all pyconcrete traces from the machine and deleted the generated pye files. Afterwards I ran the setup,py script and set a new passphrase, then recompiled the .py files to .pye file with following command

pyconcrete-admin.py compile --source=file.py --pye

and running the file with

pyconcrete file.pye

I'm using python (Python 2.7.12 (default, Dec 4 2017, 14:50:18) This is set as the machine default.

Falldog commented 6 years ago

How do you install pycocnrete? setup.py or pip? I can't reproduce the issue from my environment