uncompyle6 questions

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

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, timr@probo.com
Providenza & Boekelheide, Inc.