uncompyle6 questions

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

uncompyle6 questions

gianluca
Hi,

I should use uncompyle6, but I encounter these problems:


1- I can not find the right syntax to uncompyle a whole folder from the
terminal.

2- on some files I get an erro about charmap undefinited relate I
suppose to unicode chars. The strange thing is that if uncompyle the
file to normal stout it goes well and return no errors. If I try to save
the result on a file or use >file or |more I get the error.

Solutions?


thans to all


Gianluca


---
Questa e-mail è stata controllata per individuare virus con Avast antivirus.
https://www.avast.com/antivirus

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: uncompyle6 questions

Tim Roberts
gilucasa wrote:
>
> I should use uncompyle6, but I encounter these problems:

I'm not sure why you chose to post this in the wxPython list.  It's not
related to wxPython at all.


> 1- I can not find the right syntax to uncompyle a whole folder from
> the terminal.

It only expects a folder name if you supply the -r parameter. 


> 2- on some files I get an erro about charmap undefinited relate I
> suppose to unicode chars. The strange thing is that if uncompyle the
> file to normal stout it goes well and return no errors. If I try to
> save the result on a file or use >file or |more I get the error.

You must be running on Windows.  Uncompyle6 was designed by people who
focus on Linux.  If your source code contains strings with characters
outside the normal ASCII range, Uncompyle6 does not properly convert
them to a safe form.  Even if you have something like:
    return "\x66\x77\x88\x99"
it will fail trying to print the 88 and 99.  I poked around trying for a
simple fix, but I didn't find one.  Perhaps you should file a bug report
along with a simple sample.

--
Tim Roberts, [hidden email]
Providenza & Boekelheide, Inc.

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.