#170: pycrypto egg with python 2.6 on win32 - UnboundLocalError
----------------------------------+-----------------------------------------
 Reporter:  michal....@…          |       Owner:  giovannibajo
     Type:  defect                |      Status:  new         
 Priority:  normal                |   Milestone:              
Component:  PyInstaller           |     Version:              
 Severity:  blocker               |    Keywords:              
----------------------------------+-----------------------------------------
 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

-- 
Ticket URL: <http://www.pyinstaller.org/ticket/170>
PyInstaller <http://www.pyinstaller.org>
PyInstaller Project

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