rocky / python-uncompyle6

A cross-version Python bytecode decompiler
GNU General Public License v3.0
3.79k stars 413 forks source link

Parse error at or near `COME_FROM' instruction #410

Closed dog8848 closed 2 years ago

dog8848 commented 2 years ago

hello,I am a personal developer. I lost my source code due to carelessness and want to use decompilation to recover it. I encountered this problem:

File "D:\PycharmProjects\NetworkProtocolScripts\venv\lib\site-packages\uncompyle6\parsers\reducecheck\ifelsestmt.py", line 176, in ifelsestmt if last_token == "COME_FROM" and tokens[first].offset > last_token.attr: Exception in ifelsestmt '>' not supported between instances of 'str' and 'int' rule: ifelsestmt ::= testexpr c_stmts_opt jump_forward_else else_suite \e__come_froms offsets 4584_4586 .. 4830_0

rocky commented 2 years ago

Sorry to hear about your loss. In order to work on this you need to read and follow instructions given in https://github.com/rocky/python-uncompyle6/issues/new?assignees=&labels=&template=bug-report.md