unrpyc icon indicating copy to clipboard operation
unrpyc copied to clipboard

Error decompile screens.rpyc from girls loveline

Open KennedyMcMillan opened this issue 1 year ago • 6 comments

I got the following error from this vn: https://joonery.itch.io/girls-loveline

Decompiling screens.rpyc to screens.rpy... Error while decompiling screens.rpyc: Traceback (most recent call last): File "unrpyc.py", line 211, in worker try_harder=args.try_harder, sl_custom_names=args.sl_custom_names) File "unrpyc.py", line 148, in decompile_rpyc decompiler.pprint(out_file, ast, options) File "/home/christopher/Desktop/Ren'Py_SDK's/unrpyc_renpy_6-7/decompiler/init.py", line 57, in pprint Decompiler(out_file, options).dump(ast) File "/home/christopher/Desktop/Ren'Py_SDK's/unrpyc_renpy_6-7/decompiler/init.py", line 121, in dump super(Decompiler, self).dump(ast, skip_indent_until_write=True) File "/home/christopher/Desktop/Ren'Py_SDK's/unrpyc_renpy_6-7/decompiler/util.py", line 70, in dump self.print_nodes(ast) File "/home/christopher/Desktop/Ren'Py_SDK's/unrpyc_renpy_6-7/decompiler/util.py", line 161, in print_nodes self.print_node(node) File "/home/christopher/Desktop/Ren'Py_SDK's/unrpyc_renpy_6-7/decompiler/init.py", line 134, in print_node self.dispatch.get(type(ast), type(self).print_unknown)(self, ast) File "/home/christopher/Desktop/Ren'Py_SDK's/unrpyc_renpy_6-7/decompiler/init.py", line 529, in print_init self.print_nodes(ast.block) File "/home/christopher/Desktop/Ren'Py_SDK's/unrpyc_renpy_6-7/decompiler/util.py", line 161, in print_nodes self.print_node(node) File "/home/christopher/Desktop/Ren'Py_SDK's/unrpyc_renpy_6-7/decompiler/init.py", line 134, in print_node self.dispatch.get(type(ast), type(self).print_unknown)(self, ast) File "/home/christopher/Desktop/Ren'Py_SDK's/unrpyc_renpy_6-7/decompiler/init.py", line 841, in print_screen self.indent_level, self.linenumber, self.skip_indent_until_write File "/home/christopher/Desktop/Ren'Py_SDK's/unrpyc_renpy_6-7/decompiler/sl2decompiler.py", line 41, in pprint ast, indent_level, linenumber, skip_indent_until_write) File "/home/christopher/Desktop/Ren'Py_SDK's/unrpyc_renpy_6-7/decompiler/util.py", line 70, in dump self.print_nodes(ast) File "/home/christopher/Desktop/Ren'Py_SDK's/unrpyc_renpy_6-7/decompiler/util.py", line 161, in print_nodes self.print_node(node) File "/home/christopher/Desktop/Ren'Py_SDK's/unrpyc_renpy_6-7/decompiler/sl2decompiler.py", line 59, in print_node self.dispatch.get(type(ast), type(self).print_unknown)(self, ast) File "/home/christopher/Desktop/Ren'Py_SDK's/unrpyc_renpy_6-7/decompiler/sl2decompiler.py", line 79, in print_screen self.print_keyword_or_child(line) File "/home/christopher/Desktop/Ren'Py_SDK's/unrpyc_renpy_6-7/decompiler/sl2decompiler.py", line 569, in print_keyword_or_child self.print_node(item[2]) File "/home/christopher/Desktop/Ren'Py_SDK's/unrpyc_renpy_6-7/decompiler/sl2decompiler.py", line 59, in print_node self.dispatch.get(type(ast), type(self).print_unknown)(self, ast) File "/home/christopher/Desktop/Ren'Py_SDK's/unrpyc_renpy_6-7/decompiler/sl2decompiler.py", line 292, in print_displayable self.print_keyword_or_child(line) File "/home/christopher/Desktop/Ren'Py_SDK's/unrpyc_renpy_6-7/decompiler/sl2decompiler.py", line 569, in print_keyword_or_child self.print_node(item[2]) File "/home/christopher/Desktop/Ren'Py_SDK's/unrpyc_renpy_6-7/decompiler/sl2decompiler.py", line 59, in print_node self.dispatch.get(type(ast), type(self).print_unknown)(self, ast) File "/home/christopher/Desktop/Ren'Py_SDK's/unrpyc_renpy_6-7/decompiler/sl2decompiler.py", line 292, in print_displayable self.print_keyword_or_child(line) File "/home/christopher/Desktop/Ren'Py_SDK's/unrpyc_renpy_6-7/decompiler/sl2decompiler.py", line 569, in print_keyword_or_child self.print_node(item[2]) File "/home/christopher/Desktop/Ren'Py_SDK's/unrpyc_renpy_6-7/decompiler/sl2decompiler.py", line 59, in print_node self.dispatch.get(type(ast), type(self).print_unknown)(self, ast) File "/home/christopher/Desktop/Ren'Py_SDK's/unrpyc_renpy_6-7/decompiler/sl2decompiler.py", line 262, in print_displayable ast.children[0].location[1] > ast.keyword[-1][1].linenumber) and AttributeError: 'NoneType' object has no attribute 'linenumber'

Have any ideas? I using unrpyc-legacy 6-7 VN written on Ren'Py SDK 7.4.6 P.S. I can leave a link to GDrive with this file P.P.S Thank you in advance!

KennedyMcMillan avatar Aug 14 '24 13:08 KennedyMcMillan