Thanks for the report. I didn't think of the case when there is an 
invalid/empty dependentAssembly element. I attached an updated patch to 
ticket #39 which should fix that issue (and also another one where loose 
assembly files were stil included without manifest in some cases).

Regards,

Florian

Laurent schrieb:
> Hello,
> 
> I had a .exe system working on python 2.5 an dsadly we've switch to
> python 2.6.
> I've readen the manifest file issue on internat and manage to make
> the .exe work with py2exe.
> Now i want to use pyinstaller (because I want to have a true singl
> e.exe file :) )
> 
> So, reading the diffeent amil, i've applied the patch in ticket 39.
> Still it does not work for me.
> It found the good manifest file but there is something wrong.
> I get this when running the .exe in one dir mode:
> 
> Traceback (most recent call last):
> ...
> ...
> ...
>   File ".\Manager_onedir\build\pyi.win32\Manager\outPYZ1.pyz/
> matplotlib.transforms", line 34, in <module>
>   File "C:\Project\Def\Soft\Scripts\external_apps\svn.pyinstaller.org
> \iu.py", line 439, in importHook
>     mod = _self_doimport(nm, ctx, fqname)
>   File "C:\Project\Def\Soft\Scripts\external_apps\svn.pyinstaller.org
> \iu.py", line 498, in doimport
>     mod = importfunc(nm)
>   File "C:\Project\Def\Soft\Scripts\external_apps\svn.pyinstaller.org
> \iu.py", line 300, in getmod
>     mod = owner.getmod(nm)
>   File "C:\Project\Def\Soft\Scripts\external_apps\svn.pyinstaller.org
> \archive.py", line 468, in getmod
>     return iu.DirOwner.getmod(self, self.prefix+'.'+nm)
>   File "C:\Project\Def\Soft\Scripts\external_apps\svn.pyinstaller.org
> \iu.py", line 109, in getmod
>     mod = imp.load_module(nm, fp, attempt, (ext, mode, typ))
> ImportError: DLL load failed: Le module spÚcifiÚ est introuvable.
> 
> If I copy the .dll + manifest files at the same place the .exe is I
> get a R6034 error ...
> 
> The init script is going well:
> Configuring pyinstaller...
> I: read old config from ..\external_apps\svn.pyinstaller.org
> \config.dat
> I: computing EXE_dependencies
> I: Analyzing C:\Python26\python.exe
> I: Dependent assemblies of C:\Python26\python.exe:
> I: x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_none
> I: Searching for assembly
> x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_none...
> I: Found manifest C:\Windows\WinSxS\Manifests
> \x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.8_none_bcb86ed6ac711f91.manifest
> I: Searching for file msvcr90.dll
> I: Found file C:\Windows\WinSxS
> \x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.8_none_bcb86ed6ac711f91\msvcr90.dll
> I: Searching for file msvcp90.dll
> I: Found file C:\Windows\WinSxS
> \x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.8_none_bcb86ed6ac711f91\msvcp90.dll
> I: Searching for file msvcm90.dll
> I: Found file C:\Windows\WinSxS
> \x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.8_none_bcb86ed6ac711f91\msvcm90.dll
> I: Adding Microsoft.VC90.CRT\Microsoft.VC90.CRT.manifest
> I: Adding Microsoft.VC90.CRT\msvcr90.dll
> I: Adding Microsoft.VC90.CRT\msvcp90.dll
> I: Adding Microsoft.VC90.CRT\msvcm90.dll
> ...
> ...
> 
> but building the file gave some error:
> 
> Analyzing: ..\Manager.py
> I: Analyzing C:\Python26\lib\site-packages\matplotlib\ttconv.pyd
> E: Cannot parse manifest resource 2, 1033 from
> E: C:\Python26\lib\site-packages\matplotlib\ttconv.pyd
> E: sequence item 1: expected string, NoneType found
> I: Adding python26.dll dependency of ttconv.pyd
> E: lib not found: MSVCP90.dll dependency of C:\Python26\lib\site-
> packages\matplotlib\ttconv.pyd
> E: lib not found: MSVCR90.dll dependency of C:\Python26\lib\site-
> packages\matplotlib\ttconv.pyd
> I: Skipping KERNEL32.dll dependency of ttconv.pyd
> I: Analyzing C:\Python26\lib\site-packages\scipy\sparse\linalg\isolve
> \_iterative.pyd
> I: Skipping KERNEL32.dll dependency of _iterative.pyd
> I: Skipping msvcrt.dll dependency of _iterative.pyd
> I: Skipping msvcrt.dll dependency of _iterative.pyd
> I: Analyzing C:\Python26\lib\site-packages\scipy\sparse\linalg\dsolve
> \_zsuperlu.pyd
> I: Skipping KERNEL32.dll dependency of _zsuperlu.pyd
> I: Skipping msvcrt.dll dependency of _zsuperlu.pyd
> I: Analyzing C:\Python26\lib\site-packages\matplotlib\_delaunay.pyd
> E: Cannot parse manifest resource 2, 1033 from
> E: C:\Python26\lib\site-packages\matplotlib\_delaunay.pyd
> E: sequence item 1: expected string, NoneType found
> E: lib not found: MSVCP90.dll dependency of C:\Python26\lib\site-
> packages\matplotlib\_delaunay.pyd
> E: lib not found: MSVCR90.dll dependency of C:\Python26\lib\site-
> packages\matplotlib\_delaunay.pyd
> 
> 
> Any idea how to workaround this?
> 
> Thx for any direction!
> 
> Laurent
> 
> --
> 
> 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.
> 
> 

--

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