Ticket #170 (new defect)
pycrypto egg with python 2.6 on win32 - UnboundLocalError
| Reported by: | michal.dtz@gmail.com | Owned by: | giovannibajo |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | PyInstaller | Version: | |
| Severity: | blocker | Keywords: | |
| Cc: |
Description
Hi there,
I'm trying to build an application, that includes pycrypto, and I hit the following error. I don't know anything about PyInstaller? internals, nor I have time to learn it, so at least maybe the log file will help you fixing this bug...
I: Skipping mscoree.dll dependency of msvcm90.dll I: Analyzing C:\Windows\system32\python26.dll I: Dependent assemblies of C:\Windows\system32\python26.dll: I: x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_none I: Skipping KERNEL32.dll dependency of python26.dll I: Skipping USER32.dll dependency of python26.dll I: Skipping ADVAPI32.dll dependency of python26.dll I: Skipping SHELL32.dll dependency of python26.dll I: Analyzing C:\Python26\lib\site-packages\pycrypto-2.0.1-py2.6-win32.egg\Crypto /Cipher/AES.pyd Traceback (most recent call last):
File "Build.py", line 1291, in <module>
main(args[0], configfilename=opts.configfile)
File "Build.py", line 1269, in main
build(specfile)
File "Build.py", line 1232, in build
execfile(spec)
File "client\client.spec", line 3, in <module>
pathex=C:\\Users\\FHU Kagami\\Downloads\\branches\\py26win?)
File "Build.py", line 292, in init
self.postinit()
File "Build.py", line 243, in postinit
self.assemble()
File "Build.py", line 405, in assemble
platform=target_platform))
File "C:\Users\FHU Kagami\Downloads\branches\py26win\bindepend.py", line 310,
in Dependencies
for ftocnm, fn in selectAssemblies(pth):
File "C:\Users\FHU Kagami\Downloads\branches\py26win\bindepend.py", line 376,
in selectAssemblies
for assembly in getAssemblies(pth):
File "C:\Users\FHU Kagami\Downloads\branches\py26win\bindepend.py", line 344,
in getAssemblies
if RT_MANIFEST in res and len(res[RT_MANIFEST]):
UnboundLocalError?: local variable 'res' referenced before assignment
