Hi,
didn't gen an answer so I will try to write it a bit easier. The problem 
is with comtypes.gen module. When I use wx.lib.iewin.IEHtmlWindow part 
of this module is generated during Build.py:

 'comtypes.gen': (True, 2143269L, 103),
 'comtypes.gen.SHDocVw': (False, 16313L, 250),
 'comtypes.gen._00020430_0000_0000_C000_000000000046_0_2_0': (False,
                                                              408083L,
                                                              3276),
 'comtypes.gen._99AB80C4_5E19_4FD5_B3CA_5EF62FC3F765_0_1_0': (False,
                                                              993143L,
                                                              2871),
 'comtypes.gen._EAB22AC0_30C1_11CF_A7EB_0000C05BAE0B_0_1_1': (False,
                                                              411359L,
                                                              13177),
 'comtypes.gen.myole4ax': (False, 1498577L, 255),

but some of the modules, as comtypes.gen.MSHTML is generated during 
runtime (to some temp directory) and pyinstaller raises Import error. 
The problem is that when python first time imports something from the 
directory - it's content (list of files) is cached (in function caseOk) 
and when it reaches for MSHTML module - it's not in cache (but is 
present on disk in the temp directory).

This issue can't be solved by regular hook, the only solution would be a 
runtime hook. I'm not sure if this is easily doable - we would have to 
create a special case of DirOwner that reads data from the directory 
without using cache.

regards,
Krzysztof


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