On Apr 15, 3:12 am, Giovanni Bajo <[EMAIL PROTECTED]> wrote:
> On 14/04/2007 14.19, palo wrote:
>
> >> First, can you run ArchiveViewer onto the final executable, type "O 
> >> out1.pyz"
> >> to open the internal PYZ file, and then see if the encodings packages is
> >> present in the list? I'll paste my session to show you what I mean:
> >> [snip]
>
> > Yes, I  have all the encoding packages there.
>
> Can you compare the full list of modules I posted to the mailing list to the> 
> list of modules produced on your computer? Is there any difference?
>
> Go to iu.py, importHook() function at line 274. There are several commented
> print statements in the function. Uncomment them, rebuild the executable, and
> show the full output produced by it.
>
> Thanks!
> --
> Giovanni Bajo


The list of modules is identical. Here is what I get with those print
statements uncommented:

importHook(encodings, __main__, locals, None)
 importHook trying encodings in None
importHook(imp, archive, locals, None)
 importHook trying imp in None
importHook done with imp archive None (case 2)
importHook(os, __main__, locals, None)
 importHook trying os in None
importHook(imp, archive, locals, None)          <-----here
 importHook trying imp in None
importHook done with imp archive None (case 2)
importHook(os, __main__, locals, None)
 importHook trying os in None
Traceback (most recent call last):
  File "<string>", line 3, in ?
  File "F:\pyinstaller\iu.py", line 334, in importHook
    raise ImportError, "No module named %s" % fqname
ImportError: No module named encodings

Don't know if it helps, but when python2.4 is installed on the
computer (and thus everything works), the marked line is
importHook done with os __main__ None (case 2)

I noticed that in support\rthooks there is a file opengl.py and it is
not compiled to a pyc, so it was never imported (does it mean that I
forgot some switch?).

Best regards
P.


--~--~---------~--~----~------------~-------~--~----~
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