CensoredUsername / unrpyc

A ren'py script decompiler
Other
824 stars 149 forks source link

AttributeError: 'RevertableList' object has no attribute 'append' #162

Closed KennedyMcMillan closed 1 year ago

KennedyMcMillan commented 1 year ago

Hello guys. I'm decompile game script "script.rpyc" in game "The Elevator Game with Catgirls" with using tool "unrpyc-py3" and i get error: ~/Desktop/unrpyc-py3: python unrpyc.py -d script.rpyc
Decompiling script.rpyc to script.txt... Error while decompiling script.rpyc: Traceback (most recent call last): File "/home/christopher/Desktop/unrpyc-py3/unrpyc.py", line 200, in worker return decompile_rpyc(filename, args.clobber, args.dump, decompile_python=args.decompile_python, File "/home/christopher/Desktop/unrpyc-py3/unrpyc.py", line 164, in decompile_rpyc ast = read_ast_from_file(in_file) File "/home/christopher/Desktop/unrpyc-py3/unrpyc.py", line 137, in read_ast_from_file data, stmts = magic.safe_loads(raw_contents, class_factory, {"_ast", "collections"}) File "/home/christopher/Desktop/unrpyc-py3/decompiler/magic.py", line 602, in safe_loads encoding=encoding, errors=errors).load() File "/usr/lib/python3.10/pickle.py", line 1213, in load dispatchkey[0] File "/usr/lib/python3.10/pickle.py", line 1681, in load_appends append = list_obj.append AttributeError: 'RevertableList' object has no attribute 'append'

Anyone help pls?