[python] py2exe

vepro p.zlamal na gmail.com
Středa Březen 17 11:33:34 CET 2010


Tak jsem se opet dostal k reseni. Vcredist jsem nainstaloval uz drive, 
konkretne jak 2005 tak 2008 pro x64. Sxstrace dava tento vystup:

=================
Begin Activation Context Generation.
Input Parameter:
     Flags = 0
     ProcessorArchitecture = AMD64
     CultureFallBacks = en-US;en
     ManifestPath = D:\users\vepro\software\dist\vtkIO.dll
     AssemblyDirectory = D:\users\vepro\software\dist\
     Application Config File =
-----------------
INFO: Parsing Manifest File D:\users\vepro\software\dist\vtkIO.dll.
     INFO: Manifest Definition Identity is (null).
     INFO: Reference: 
Microsoft.VC90.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8"
     INFO: Reference: 
Microsoft.VC90.DebugCRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8"
INFO: Resolving reference 
Microsoft.VC90.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8".
     INFO: Resolving reference for ProcessorArchitecture amd64.
         INFO: Resolving reference for culture Neutral.
             INFO: Applying Binding Policy.
                 INFO: Find publisher policy at 
C:\Windows\WinSxS\manifests\amd64_policy.9.0.microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4926_none_accf10dbe1dc8ba2.manifest
                 INFO: Publisher Policy redirected assembly version.
                 INFO: Post policy assembly identity is 
Microsoft.VC90.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.30729.4926".
             INFO: Begin assembly probing.
                 INFO: Attempt to probe manifest at 
C:\Windows\WinSxS\manifests\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4926_none_08e1a05ba83fe554.manifest.
                 INFO: Manifest found at 
C:\Windows\WinSxS\manifests\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4926_none_08e1a05ba83fe554.manifest.
             INFO: End assembly probing.
INFO: Resolving reference 
Microsoft.VC90.CRT.mui,language="*",processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.30729.4926".
     INFO: Resolving reference for ProcessorArchitecture amd64.
         INFO: Resolving reference for culture en-US.
             INFO: Applying Binding Policy.
                 INFO: No publisher policy found.
                 INFO: No binding policy redirect found.
             INFO: Begin assembly probing.
                 INFO: Did not find the assembly in WinSxS.
                 INFO: Attempt to probe manifest at 
C:\Windows\assembly\GAC_64\Microsoft.VC90.CRT.mui\9.0.30729.4926_en-US_1fc8b3b9a1e18e3b\Microsoft.VC90.CRT.mui.DLL.
                 INFO: Did not find manifest for culture en-US.
             INFO: End assembly probing.
         INFO: Resolving reference for culture en.
             INFO: Applying Binding Policy.
                 INFO: No publisher policy found.
                 INFO: No binding policy redirect found.
             INFO: Begin assembly probing.
                 INFO: Did not find the assembly in WinSxS.
                 INFO: Attempt to probe manifest at 
C:\Windows\assembly\GAC_64\Microsoft.VC90.CRT.mui\9.0.30729.4926_en_1fc8b3b9a1e18e3b\Microsoft.VC90.CRT.mui.DLL.
                 INFO: Did not find manifest for culture en.
             INFO: End assembly probing.
INFO: Resolving reference 
Microsoft.VC90.DebugCRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8".
     INFO: Resolving reference for ProcessorArchitecture amd64.
         INFO: Resolving reference for culture Neutral.
             INFO: Applying Binding Policy.
                 INFO: No publisher policy found.
                 INFO: No binding policy redirect found.
             INFO: Begin assembly probing.
                 INFO: Did not find the assembly in WinSxS.
                 INFO: Attempt to probe manifest at 
C:\Windows\assembly\GAC_64\Microsoft.VC90.DebugCRT\9.0.21022.8__1fc8b3b9a1e18e3b\Microsoft.VC90.DebugCRT.DLL.
                 INFO: Attempt to probe manifest at 
D:\users\vepro\software\dist\Microsoft.VC90.DebugCRT.DLL.
                 INFO: Attempt to probe manifest at 
D:\users\vepro\software\dist\Microsoft.VC90.DebugCRT.MANIFEST.
                 INFO: Attempt to probe manifest at 
D:\users\vepro\software\dist\Microsoft.VC90.DebugCRT\Microsoft.VC90.DebugCRT.DLL.
                 INFO: Attempt to probe manifest at 
D:\users\vepro\software\dist\Microsoft.VC90.DebugCRT\Microsoft.VC90.DebugCRT.MANIFEST.
                 INFO: Did not find manifest for culture Neutral.
             INFO: End assembly probing.
     ERROR: Cannot resolve reference 
Microsoft.VC90.DebugCRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8".
ERROR: Activation Context generation failed.
End Activation Context Generation.


Jdu googlovat a snad to i nejak vyresim.
Vepro
On 03/12/2010 01:10 PM, rajcze wrote:
> Mno, co na to rika ta command-lite utilita sxstrace.exe, o ktere se
> ten vypis zminuje?
> Jinak ja tohle resil kdysi na XP, a chybelo mi MFC. Vyresit by to mela
> instalace vcredist, ale kazdopadne doporucuju dat sanci tomu trace
> nastroji.
>
> joza
>
> 2010/3/12 vepro<p.zlamal na gmail.com>:
>    
>> Pratele,
>> Spoustim (win7 64bit) "zkompilovany" pythoni skript pomoci py2exe, ktery mi
>> havaruje a do chyboveho logu vypise:
>>
>> Traceback (most recent call last):
>>   File "runSeg.py", line 7, in<module>
>>   File "mainMenu.pyc", line 7, in<module>
>>   File "imageFilesOperation.pyc", line 2, in<module>
>>   File "vtk\__init__.pyc", line 43, in<module>
>>   File "vtk\io.pyc", line 9, in<module>
>>   File "vtk\vtkIOPython.pyc", line 12, in<module>
>>   File "vtk\vtkIOPython.pyc", line 10, in __load
>> ImportError: DLL load failed: The application has failed to start because
>> its side-by-side configuration is incorrect. Please see the application
>> event log or use the command-line sxstrace.exe tool for more detail.
>>
>> Jedna se o jiny stroj, nez na kterem byl skript "zkompilovan". Na stroji
>> (take win7 64bit), kde byl skript kompilovan aplikace bezi bez problemu,
>> takze si myslim, ze v systemu chybi nejaka knihovna. Resil nekdo podobnou
>> zalezitost a umi poradit jak odstranit chybu?
>> Diky,
>> Vepro
>> _______________________________________________
>> Python mailing list
>> Python na py.cz
>> http://www.py.cz/mailman/listinfo/python
>>
>>      
>
>
>    



Další informace o konferenci Python