Hi Martin,

In my test-skript I only imported win32com
after removing the line from hook-pywintypes.py, the pywintypes27.dll is 
still available in mit dist dir.
So the importhook is unnecessary in this case.

But importing only pywintypes27.dll itself, the hook is still needed.

Taking a closer look a the imptracker.py it seems like pywintypes27.dll is 
put into the dist for multiple times from analyzing win32com, 
win32.com.client and win32com.server.

Could there be the source of the problem?

Greetings,
Simon

Am Dienstag, 13. November 2012 20:33:13 UTC+1 schrieb Martin Z:
>
> Could you try remove the following line from hook-pywintypes.py and let 
> me know if pywintypesXX.dll is still available in your dist dir? 
>
>   datas = [(get_module_file_attribute('pywintypes'), '.')] 
>
>
> simon2k píše v Út 13. 11. 2012 v 09:16 -0800: 
> > Hi all, 
> > 
> > got the same issue in here using the actual development revision. 
> > So I used the same fix for hook-pywintypes.py and it worked very well. 
> > So again the question: Will there soon be a better solution about this 
> > or should we write a official bug report? 
> > 
> > Greetings, 
> > Simon 
> > 
> > Am Montag, 17. September 2012 22:32:51 UTC+2 schrieb Grant 
> > Paton-Simpson: 
> >         Hi Martin, 
> >         
> >         I am reposting this under a fresh topic so it doesn't get 
> >         lost. 
> >         
> >         I can see from 
> >         
> https://github.com/pyinstaller/pyinstaller/commits/develop/PyInstaller/hooks/hook-pywintypes.pythat
>  you are the person who has been working on hook-pywintypes this year. 
> Thanks for your work to improve pyinstaller. 
> >         
> >         What would you advise I do to prevent the following error: 
> >         "WARNING: file already exists but should not: 
> >         C:/DOCUMEN~1/GRANTP~1/LOCALS~ 
> >         1/Temp/_MEI1922\.\pywintypes27.dll" ? Should I revert to the 
> >         version of hook-pywintypes.py in May 30th? 
> >         
> >         Or is there a better solution which you are planning to add to 
> >         the hook? 
> >         
> >         Sorry for being so persistent - I need the dev version of 
> >         pyinstaller to work so I can put out a release of my SOFA 
> >         Statistics application. If you recall, it seems that version 
> >         2.0 has been triggering anti-trojan warnings on a couple of 
> >         virus scanners. Thus my attempt to use the dev version. 
> >         
> >         All the best, 
> >         Grant 
>
>
>

-- 
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/-/H5NacvIfgQYJ.
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