Nmap Development mailing list archives

Re: Big Zenmap news


From: David Fifield <david () bamsoftware com>
Date: Mon, 25 Aug 2008 23:37:56 -0600

On Tue, Aug 26, 2008 at 03:19:09AM +0100, jah wrote:
On 26/08/2008 02:53, Vladimir Mitrovic wrote:
Hi all,

I'm very happy to announce a couple of important Zenmap changes that
David and I worked hard to implement:

- The network inventory
- Graphical topology visualization 
Exciting!  I'm looking forward to trying this out.  I built r9372 on
win32 earlier and had this:

mkdir nmap-4.68/zenmap
cd ../zenmap && install_scripts/windows/copy_and_compile.bat
Setting installation variables...
Writing output to win_install.log
Removing old compilation...
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 510, 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 505, in
create_binaries    self.copy_dlls(dlls)
  File "C:\Python25\lib\site-packages\py2exe\build_exe.py", line 451, in
copy_dlls    self.patch_python_dll_winver(dst)
  File "C:\Python25\lib\site-packages\py2exe\build_exe.py", line 917, in
patch_python_dll_winver    for id, data in s.binary():
  File "C:\Python25\lib\site-packages\py2exe\resources\StringTables.py",
line 99, in binary    ustr = w32_uc(sect.get(i, ""))
  File "C:\Python25\lib\site-packages\py2exe\resources\StringTables.py",
line 60, in w32_uc    return unicode(text,
"unicode-escape").encode("utf-16-le")
TypeError: decoding Unicode is not supported
Copying some more GTK files to dist directory...
Removing the build directory...
Done!

Aside from this, do you expect it to build OK on windows?

Do you get the crash if you edit zenmapCore/Nmap.py and change the
Unicode strings to plain strings? So change

APP_NAME = u"zenmap"

to 

APP_NAME = "zenmap"

for all the strings. If so then the problem isn't Vladimir's fault, it's
something I did to try to fix the database file not being found on
Windows.

http://seclists.org/nmap-dev/2008/q3/0482.html

David Fifield

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: