Hi,

it looks in the right directory (bincache* in pyinstaller), but it seems win32api.LoadLibraryEx wants absolute paths. Please try the latest commit, that should have it fixed.

Am 03.05.2010 15:36, schrieb DArt:
Hi,

With Revision 824 of Py2.6 win branch, I have no problem, but with
next delivery, r825 (concerning Build.py) I have errors with some path
of temp file:

This file is created for the manifest:
I: Updating manifest from L:\trunk\tools\pyinstaller_script
\msvc90dep.manifest in c:\docume~1\dart\locals~1\temp\tmpzi59ch

but the next lines crash with:

I: Dependent assemblies of C:\Python26\python.exe:
I: x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww
Traceback (most recent call last):
   File "Build.py", line 1357, in<module>
     main(args[0], configfilename=opts.configfile)
   File "Build.py", line 1335, in main
     build(specfile)
   File "Build.py", line 1298, in build
     execfile(spec)
   File "../tools/pyinstaller_script/dist/lotatc/
lotatc_server_win.spec", line 57, in<module>
     console=False , manifest=os.path.abspath(os.path.join( '..',
'tools', 'pyinstaller_script','msvc90dep.manifest' ) ) )
   File "Build.py", line 790, in __init__
     self.__postinit__()
   File "Build.py", line 256, in __postinit__
     self.assemble()
   File "Build.py", line 928, in assemble
     exe = checkCache(exe, self.strip, self.upx and config['hasUPX'])
   File "Build.py", line 573, in checkCache
     fnm = checkCache(fnm, 1, 0)
   File "Build.py", line 595, in checkCache
     res = winmanifest.GetManifestResources(cachedfile)
   File "L:\trunk\pyinstaller\winmanifest.py", line 986, in
GetManifestResources
     return winresource.GetResources(filename, [RT_MANIFEST], names,
languages)
   File "L:\trunk\pyinstaller\winresource.py", line 183, in
GetResources
     hsrc = win32api.LoadLibraryEx(filename, 0,
LOAD_LIBRARY_AS_DATAFILE)
pywintypes.error: (2, 'LoadLibraryEx', 'Le fichier sp\xe9cifi\xe9 est
introuvable.')

I check on "L:\trunk\pyinstaller\winresource.py", line 183, in
GetResources and it try to find the c:\docume~1\dart\locals~1\temp
\tmpzi59ch in bincache01...

I use Python 2.6.5 (same problem with 2.6.4) and PyQt4.7.3-2 on
Windows XP. The spec file can be found here (very customized
file :) ):
http://lotatc.dartsite.org/browser/trunk/tools/pyinstaller_script/dist/lotatc/lotatc_server_win.spec

Thanks.

DArt


--
Florian Höch

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