Nmap Development mailing list archives
Zenmap build error
From: Fyodor <fyodor () insecure org>
Date: Sat, 6 Sep 2008 01:46:39 -0700
The new Nmap release built fine on Linux and Windows, but when I tested the Windows installer there was a problem. When I try to run the Zenmap.exe, it reports that "The specified resouce type cannot be found in the image file. Could not locate script resource". So I looked at the Windows package build logs ('make' in mswin32/) and see this: Creating dist and dist\share directories... Copying GTK's share to dist directory... Compiling using py2exe... Traceback (most recent call last): File "setup.py", line 511, in <module> setup(**setup_args) File "C:\Python25\lib\distutils\core.py", line 151, in setup dist.run_commands() File "C:\Python25\lib\distutils\dist.py", line 974, in run_commands self.run_command(cmd) File "C:\Python25\lib\distutils\dist.py", line 994, in run_command cmd_obj.run() File "C:\Python25\lib\site-packages\py2exe\build_exe.py", line 223, in run self._run() File "C:\Python25\lib\site-packages\py2exe\build_exe.py", line 290, in _run self.create_binaries(py_files, extensions, dlls) File "C:\Python25\lib\site-packages\py2exe\build_exe.py", line 552, in create_binaries arcname, target.script) File "C:\Python25\lib\site-packages\py2exe\build_exe.py", line 785, in build_executable script_bytes = si + code_bytes + '\000\000' UnicodeDecodeError: 'ascii' codec can't decode byte 0xaa in position 23: ordinal not in range(128) Copying some more GTK files to dist directory... Removing the build directory... Done! cp -R ../zenmap/dist/* ../zenmap/COPYING* ../zenmap/README nmap-4.69BETA1/zenmap cp nsis/AddToPath.nsh nsis/Nmap.nsi nsis/shortcuts.ini nsis/final.ini nmap-4.69BETA1 This py2exe crash is a likely culprit. Anyone have ideas for fixing this? I verified that if I downgrade to -r8514 (e.g. 4.68 release), Nmap builds a working installer and does not give that Traceback. Cheers, -F _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- Zenmap build error Fyodor (Sep 06)
- Re: Zenmap build error David Fifield (Sep 06)