Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error - Python 3.7 #5

Open
a1ch3mist opened this issue Feb 19, 2019 · 2 comments
Open

Error - Python 3.7 #5

a1ch3mist opened this issue Feb 19, 2019 · 2 comments

Comments

@a1ch3mist
Copy link

downloaded and just tried running "py python_exe_unpack.py" gives the following error on Win10:


Traceback (most recent call last):
File "C:\Users\user\AppData\Roaming\Python\Python37\site-packages\xdis\opcodes\base.py", line 209, in opcode_check
assert all(item in opmap.items() for item in l['opmap'].items())
AssertionError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "python_exe_unpack.py", line 16, in
import uncompyle6
File "C:\Users\user\AppData\Roaming\Python\Python37\site-packages\uncompyle6_init_.py", line 52, in
from uncompyle6.main import decompile_file
File "C:\Users\user\AppData\Roaming\Python\Python37\site-packages\uncompyle6\main.py", line 6, in
from uncompyle6.disas import check_object_path
File "C:\Users\user\AppData\Roaming\Python\Python37\site-packages\uncompyle6\disas.py", line 26, in
from xdis.main import disassemble_file as xdisassemble_file
File "C:\Users\user\AppData\Roaming\Python\Python37\site-packages\xdis\main.py", line 30, in
from xdis.op_imports import op_imports
File "C:\Users\user\AppData\Roaming\Python\Python37\site-packages\xdis\op_imports.py", line 22, in
from xdis.opcodes import opcode_37 as opcode_37
File "C:\Users\user\AppData\Roaming\Python\Python37\site-packages\xdis\opcodes\opcode_37.py", line 112, in
finalize_opcodes(l)
File "C:\Users\user\AppData\Roaming\Python\Python37\site-packages\xdis\opcodes\base.py", line 147, in finalize_opcodes
opcode_check(l)
File "C:\Users\user\AppData\Roaming\Python\Python37\site-packages\xdis\opcodes\base.py", line 214, in opcode_check
sys.version_info)
TypeError: not all arguments converted during string formatting

@MooseV2
Copy link

MooseV2 commented Feb 24, 2019

The requirements.txt file requests an outdated uncompyle6 version.

Upgrading the package should fix this:

pip install --upgrade uncompyle6

@yinhetest
Copy link

I encountered the same problem using python3.7 version on win10, the update is meaningless.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants