Code Monkey home page Code Monkey logo

Comments (5)

CensoredUsername avatar CensoredUsername commented on September 14, 2024 1

Closing it then.

from unrpyc.

madeddy avatar madeddy commented on September 14, 2024

Reopening as its also with py3 now. Tested with the "OurBrightDays-0.1.3".

Decompiling /home/olli/.xlib/RPG/_test/OurBrightDays-0.1.3-pc/game/scripts/tags/atl.rpyc to /home/olli/.xlib/RPG/_test/OurBrightDays-0.1.3-pc/game/scripts/tags/atl.rpy...
Error while decompiling /home/olli/.xlib/RPG/_test/OurBrightDays-0.1.3-pc/game/script.rpyc:
Traceback (most recent call last):
File "/home/olli/Code/Git/unrpyc/unrpyc.py", line 260, in worker
return decompile_rpyc(filename, args.clobber, args.dump, no_pyexpr=args.no_pyexpr,
File "/home/olli/Code/Git/unrpyc/unrpyc.py", line 202, in decompile_rpyc
decompiler.pprint(out_file, ast, options)
File "/home/olli/Code/Git/unrpyc/decompiler/__init__.py", line 54, in pprint
Decompiler(out_file, options).dump(ast)
File "/home/olli/Code/Git/unrpyc/decompiler/__init__.py", line 109, in dump
super(Decompiler, self).dump(ast, skip_indent_until_write=True)
File "/home/olli/Code/Git/unrpyc/decompiler/util.py", line 49, in dump
self.print_nodes(ast)
File "/home/olli/Code/Git/unrpyc/decompiler/util.py", line 140, in print_nodes
self.print_node(node)
File "/home/olli/Code/Git/unrpyc/decompiler/__init__.py", line 122, in print_node
self.dispatch.get(type(ast), type(self).print_unknown)(self, ast)
File "/home/olli/Code/Git/unrpyc/decompiler/__init__.py", line 330, in print_label
self.print_nodes(ast.block, 1)
File "/home/olli/Code/Git/unrpyc/decompiler/util.py", line 140, in print_nodes
self.print_node(node)
File "/home/olli/Code/Git/unrpyc/decompiler/__init__.py", line 122, in print_node
self.dispatch.get(type(ast), type(self).print_unknown)(self, ast)
File "/home/olli/Code/Git/unrpyc/decompiler/__init__.py", line 288, in print_camera
self.write(" %s" % ast.name)
TypeError: not all arguments converted during string formatting

Edit: Correct file:
script.zip

from unrpyc.

CensoredUsername avatar CensoredUsername commented on September 14, 2024

Error while decompiling /home/olli/.xlib/RPG/_test/OurBrightDays-0.1.3-pc/game/script.rpyc:

I think you uploaded the wrong file ;)

from unrpyc.

CensoredUsername avatar CensoredUsername commented on September 14, 2024

Anyway, I think this is fixed in 4d0d80e , not sure why I used ast.name instead of ast.layer.

from unrpyc.

madeddy avatar madeddy commented on September 14, 2024

I think you uploaded the wrong file ;)

You are right. I think i looked on the wrong line in terminal... Fixed upload anyway. Maybe it comes up again.

Anyway, my tests came up clean. This seems fixed.

from unrpyc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.