Closed NWPlayer123 closed 5 years ago
Just a test case that fails, half of them don't decompile and then when it boots it gives an error
Traceback (most recent call last):
File "<unrpyc>", line 30, in decompile_game
File "<unrpyc>", line 22, in decompile_rpyc
File "<unrpyc>", line 17, in read_ast_from_file
File "<magic>", line 141, in safe_loads
File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/pickle.py", line 858, in load
File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/pickle.py", line 1133, in load_reduce
File "<magic>", line 24, in __new__
FakeUnpicklingError: <class 'collections.OrderedDict'> was instantiated with unexpected arguments ([],), {}
Thanks, I'll take a look at it. Seems interesting.
Should be fixed in v1.0.13 that was just published!
The log still spits out a bunch of errors. Tried 1.0.14
CRC32: E0135D7B
MD5: A532C2216FFF3229558F48734821467F
SHA-1: 719D1D5D9A99E944B96C32051CC7BD1FDC00DFC8
Here's some more files to check,
Failed at decompiling ch/audrey/images.rpyc
Traceback (most recent call last):
File "<unrpyc>", line 36, in decompile_game
File "<unrpyc>", line 28, in decompile_rpyc
File "<unrpyc>", line 23, in read_ast_from_file
File "<magic>", line 141, in safe_loads
File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/pickle.py", line 858, in load
File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/pickle.py", line 1133, in load_reduce
File "<magic>", line 24, in __new__
FakeUnpicklingError: <class 'collections.OrderedDict'> was instantiated with unexpected arguments ([[u'attribute_function', u'Picker(audrey)']],), {}
Failed at decompiling bg/gym.rpyc
Traceback (most recent call last):
File "<unrpyc>", line 36, in decompile_game
File "<unrpyc>", line 28, in decompile_rpyc
File "<unrpyc>", line 23, in read_ast_from_file
File "<magic>", line 141, in safe_loads
File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/pickle.py", line 858, in load
File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/pickle.py", line 1133, in load_reduce
File "<magic>", line 24, in __new__
FakeUnpicklingError: <class 'collections.OrderedDict'> was instantiated with unexpected arguments ([],), {}
Whoops, looks like I fixed in the command line tool but I typoed the fix in un.rpyc, Could you test if it works with https://github.com/CensoredUsername/unrpyc/releases/tag/v1.0.15 ? I don't have a recent enough game to test it with.
All better, thanks 👍
Do you have any list of features that need to be added or a test case that fails?