mailing list archives
Re: Zenmap dies on MacOS X 10.5.1
From: MadHat Unspecific <madhat () unspecific com>
Date: Tue, 04 Dec 2007 09:45:03 -0600
David Fifield wrote:
On Mon, Dec 03, 2007 at 05:01:08PM -0600, Lee Heath wrote:
David Fifield wrote:
On Sun, Dec 02, 2007 at 08:35:00PM -0800, Jay Chandler wrote:
Built from source just now via RC3.
Am I missing something obvious, before I start tearing into the code?
Traceback (most recent call last):
File "/usr/local/bin/zenmap", line 31, in <module>
from umitCore.Name import APP_NAME, APP_DISPLAY_NAME
ImportError: No module named umitCore.Name
Hmm, somehow Python isn't finding the packages. What does
python -c 'import sys; print "\n".join(sys.path)'
print out? And where did "make install" put the Zenmap packages
(umitCore and umitGUI in RC3)?
$ python -c 'import sys; print "\n".join(sys.path)'
Okay, and where are the files installed when you do "make install"? For
me it looks like
copying build/lib/zenmapCore/ScanProfileConf.py -> /usr/lib/python2.5/site-packages/zenmapCore
copying build/lib/zenmapCore/NmapCommand.py -> /usr/lib/python2.5/site-packages/zenmapCore
copying build/lib/zenmapCore/ServiceList.py -> /usr/lib/python2.5/site-packages/zenmapCore
copying build/lib/zenmapCore/DiffHtml.py -> /usr/lib/python2.5/site-packages/zenmapCore
copying build/lib/zenmapCore/__init__.py -> /usr/lib/python2.5/site-packages/zenmapCore
so they are installed in /usr/lib/python2.5/site-packages, which is also
in my sys.path. An import error would be caused if where they are
installed is not in sys.path.
If you find out that the installation directory is not in sys.path, can
you try setting the environment variable PYTHONPATH to the installation
directory? sys.path will include PYTHONPATH automatically. Something
Also, can you run Zenmap from its source tree (./zenmap)?
using the svn... svn up, make clean, make, etc...
$ PYTHONPATH="/usr/local/lib/python2.5/site-packages" zenmap
from the source dir.
I'll try and work with it more this afternoon.
Sent through the nmap-dev mailing list
Archived at http://SecLists.Org
Re: Zenmap dies on MacOS X 10.5.1 MadHat Unspecific (Dec 03)