wibiti / evedec

Eve Online decrypter/decompiler

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

All files decompilation failed

archonoff opened this issue · comments

commented

Hi
I have an issue
After script finishes I see a message: "decompiled 5434 files: 0 okay, 5434 failed"
What could be a reason and how to fix?

python 2.7.15,

Hi. I'm not sure what the reason is.
Do you have https://github.com/wibiti/uncompyle2 installed?

commented

Yes, uncompyle2 is installed.
May be the last eve-version can't be decompiled with your tool anymore?

I just checked with the latest version of eve, and it's still working on my computer.

Does it create any files? If it isn't creating any files at the store_path, then it may not be able to call uncompyle2 successfully or it is unable to create files at the store_path.

I probably should add a verbose mode to evedec to help diagnose this type of situation.

commented

Yeap, it creates a lot of files in my store_path (eve-16.05.1356219)
But each file has *.py_failed extension and contains strings like # Embedded file name: C:\BuildAgent\<path to *.py file with the same name>

Interesting. I made some changes to uncompyle2 recently through github's webui. I may have made a mistake in that process. I'll have to verify that the uncompyle2 files on my machine are the same as what is in the github repository.

commented

Wait a second. I didn't notice you pointed uncompyle2 on your github account. I installed it through pip. So here is my pip freeze:

(venv) D:\evedec-master>pip freeze
click==6.7
spark-parser==1.8.7
uncompyle2==2.0.0
uncompyle6==3.2.3
xdis==3.8.6

Can it be a reason of this issue?

That might be the problem. I only test evedec with my version of uncompyle2.

commented

EDIT: installed uncompyle2 from your repository instead of using pip, and reverted back imports from modified uncompyle6 back to uncompyle2, and it worked :)

Same here. I had to change uncompyle2 to uncompyle2 in evedec.py because uncompyle2 was throwing an error 'no module found uncompyle2'. Then the same result: some hundreds of decompile failed errors, and a directory full of empy files.

commented

I comes to this issues for the same problem. after installed your version of uncompyle2, it decompiles successfully
version 17.03.1482909

just leave a note here for these comes later
python2.7 -m pip install git+https://github.com/wibiti/uncompyle2