rocky / python-uncompyle6

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

Need help with decompilation #385

Closed Hollikill closed 2 years ago

Hollikill commented 2 years ago

Hello, I am new to using uncompyle6. I have a source file in this zip folder (the .pyc extension file). When I try to decompile it, it seems to work correctly up until it hits some sort of error, possibly file corruption. I would appreciate help with any of the following:

Full output in next post.

Hollikill commented 2 years ago

output file: https://drive.google.com/file/d/1QaLUsANHiwg9f2rJzQHha5aCn8wTSoJQ/view?usp=sharing

rocky commented 2 years ago

Hello,

Hello,

I am new to using uncompyle6.

Although a lot of people seem to have used it. It is used a lot also by people like yourself who are new to it.

I have a source file in this zip folder (the .pyc extension file). When I try to decompile it, it seems to work correctly up until it hits some sort of error, possibly file corruption. I would appreciate help with any of the following:

  • getting a .py file with the part that seems to decompile correctly
  • getting a full .py file
  • an explanation of how to fix this on my own

I looked at this briefly and it looks like a bug in uncompyle6. I imagine anyone who has any facility with Python would be able to figure out how to work around this.

Or better, fix it and submit a PR back, since this is open source code. In theory any of the millions of python programmers, or yourself, could fix.

In reality, if you look at all the tags with "Volunteer wanted to help user" or "volunteer" wanted you'll see amount of participation of people other than myself helping anyone else is roughly 0.

I could be wrong about someone else helping you out (and I hope I am), but if this is not the case, then you are basically asking me to do something and/or teach you to do something you can't do yourself.

Where I come from, this is what you pay people for.

Given this, if you sponsor the project, I'll take a look at it over some weekend to the level that I think warrants the amount of sponsorship.

Here is what I think is an analogous situation. Suppose I go to a junk shop and find a harmonic overthruster I want to use. I get that for free, go home and find that it works mostly but has a problem somewhere. Now I go back to the junk shop and announce to everyone, hey there are problems with harmonic overthrusters here. Can someone fix it, explain what is wrong and what they did, and then teach me how to fix it in the future?

Your intentions may be pure, and you might find someone. But if not, don't be disappointed; you may just have to figure this out for yourself.

rocky commented 2 years ago

Looks like no one is available to help you. :-(