On May 13, 1:54 pm, Giovanni Bajo <[email protected]> wrote:
>
> They look like different issues to me. I'll have a look at reproducing
> either later today.

I just did a test on Ubuntu Hardy/python2.5 - I turned debugging on in
iu.py and printed out sys.modules.keys in importHook. Here's what I
get:

importHook(encodings, __main__, locals, None)
sys/modules.keys: ['copy_reg', '__main__', 'iu', '__builtin__',
'encodings', 'encodings.encodings', 'archive', 'posixpath', 'errno',
'encodings.codecs', 'imp', 'types', 'UserDict', '_struct', 'stat',
'zipimport', 'warnings', 'encodings.types', '_codecs',
'encodings.utf_8', 'sys', 'codecs', 'os.path', 'struct', '_types',
'signal', 'linecache', 'posix', 'encodings.aliases', 'exceptions',
'os', 'marshal']
importernm __main__
 importHook trying encodings in None
sys.modules.get(encodings) -> <module 'encodings' from '/usr/lib/
python2.5/encodings/__init__.pyc'>
importHook done with encodings __main__ None (case 2)

So even on python2.5, we're picking up the encodings module from the
host system, not from the executable as we should be.

Regards,

Vinay Sajip
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to