Closed rstets closed 10 years ago
FYI there are already decompiled versions of the launchpad scripts... I can reply later with them if you want, can't really search at the moment.
I believe they are on github.
On 02/06/14 08:42 AM, Roman Stets wrote:
python --version Python 2.7.6 ./uncompyle2/scripts/uncompyle2 Launchpad.pyc 2014.06.02 15:40:21 EEST Can't uncompyle Launchpad.pyc Traceback (most recent call last): File "/Users/rstets/.pyenv/versions/2.7.6/lib/python2.7/site-packages/uncompyle2/*init*.py", line 197, in main uncompyle_file(infile, outstream, showasm, showast, deob) File "/Users/rstets/.pyenv/versions/2.7.6/lib/python2.7/site-packages/uncompyle2/*init*.py", line 129, in uncompyle_file version, co = /load_module(filename) File "/Users/rstets/.pyenv/versions/2.7.6/lib/python2.7/site-packages/uncompyle2/__init_/.py", line 74, in _load_module raise ImportError, "This is a Python %s file! Only Python 2.7 files are supported." % version ImportError: This is a Python 2.5 file! Only Python 2.7 files are supported. decompiled 0 files: 0 okay, 1 failed, 0 verify failed 2014.06.02 15:40:21 EEST
— Reply to this email directly or view it on GitHub https://github.com/Mysterie/uncompyle2/issues/22.
I know that. Thanks :) I was just testing out the uncompyle2 to see if it works with those compiled remote scripts.
are these the 9.x scripts or the 8.x scripts?
9.x
You forked the wrong project. Or you have installed 2 differents version of uncompile. Mine handle 2.5 to 2.7 PYC:
in uncompyle2/init.py:
Line 73, "raise ImportError, "This is a Python %s file! Only Python 2.5 to 2.7 files are supported." % version"
Check your files, and let me know when I can close this...
Indeed. Line numbers seem to be off. Not sure how that happened. Sorry.