Nmap Development mailing list archives
Re: Zenmap dies on MacOS X 10.5.1
From: David Fifield <david () bamsoftware com>
Date: Mon, 3 Dec 2007 16:39:24 -0700
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? bash-3.2# zenmap 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.NameHmm, 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)' /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python25.zip /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5 /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-darwin /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-mac /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-mac/lib-scriptpackages /System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-tk /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-dynload /Library/Python/2.5/site-packages /System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/PyObjC
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 like PYTHONPATH="/usr/local/python2.5/site-packages" zenmap Also, can you run Zenmap from its source tree (./zenmap)? David Fifield _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- Zenmap dies on MacOS X 10.5.1 Jay Chandler (Dec 02)
- Re: Zenmap dies on MacOS X 10.5.1 David Fifield (Dec 03)
- Re: Zenmap dies on MacOS X 10.5.1 Lee Heath (Dec 03)
- Re: Zenmap dies on MacOS X 10.5.1 David Fifield (Dec 03)
- Re: Zenmap dies on MacOS X 10.5.1 Jay Chandler (Dec 03)
- Re: Zenmap dies on MacOS X 10.5.1 MadHat Unspecific (Dec 04)
- Re: Zenmap dies on MacOS X 10.5.1 David Fifield (Dec 04)
- Re: Zenmap dies on MacOS X 10.5.1 Daniel Johnson (Dec 04)
- Re: Zenmap dies on MacOS X 10.5.1 David Fifield (Dec 04)
- Re: Zenmap dies on MacOS X 10.5.1 Daniel Johnson (Dec 04)
- Re: Zenmap dies on MacOS X 10.5.1 Jay Chandler (Dec 04)
- Re: Zenmap dies on MacOS X 10.5.1 Daniel Johnson (Dec 04)
- Re: Zenmap dies on MacOS X 10.5.1 Jay Chandler (Dec 04)
- Re: Zenmap dies on MacOS X 10.5.1 Lee Heath (Dec 03)
- Re: Zenmap dies on MacOS X 10.5.1 David Fifield (Dec 03)