On Tuesday, January 25, 2011 10:05:20 PM UTC, Hartmut Goebel wrote:
>
> You may try to run
>
> LC_ALL=$LANG ./fse
>
> any maybe other LC_* variables. As I said: I'm not a locale guru.
>
> If this fails, too, it may be something very tricky. Please try to debug
> both python fse.py and ./fse via strace.
>
>
Hi - I'm hitting the sys.getfilesystemencoding() problem with pyinstaller
too, which is breaking saving unicode filenames in my PyQt program. Is this
fixed yet?
I've compared strace between the systems. The working system has this,
which the non-working system does not.
20188 open("/usr/local/lib/python2.7/encodings/__init__.pyc",
O_RDONLY|O_LARGEFILE) = 6
20188 fstat64(6, {st_mode=S_IFREG|0644, st_size=4394, ...}) = 0
20188 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0xb7f4a000
20188 read(6,
"\3\363\r\n@\250\203Mc\0\0\0\0\0\0\0\0\3\0\0\0@\0\0\0s\216\0\0\0d\0"...,
4096) = 4096
20188 fstat64(6, {st_mode=S_IFREG|0644, st_size=4394, ...}) = 0
20188 read(6,
"\1\4\3\t\1\22\1\"\1\3\1\3\1\26\1\24\1\24\1$\1$\0016\0016\1\3\1\3\1\26"...,
4096) = 298
20188 read(6, "", 4096) = 0
20188 close(6) = 0
So it looks like the program (after run through pyinstaller), is loading a
module from the Python directory, rather from its own dist directory.Should
pyinstaller be including the encodings module and it is not?
Jeremy
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/pyinstaller/-/jPswXYvUG7MJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pyinstaller?hl=en.