Nmap Development mailing list archives

Re: zenmap launch error


From: David Fifield <david () bamsoftware com>
Date: Wed, 10 Sep 2008 16:41:25 -0600

On Tue, Sep 09, 2008 at 10:55:02PM +0300, sara fink wrote:
I installed today nmap 4.75. Zenmap throws this error:
# nmapfe
  File "/usr/local/bin/nmapfe", line 101, in <module>
    zenmapGUI.App.run()
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/local/bin/nmapfe", line 52, in excepthook
    from zenmapGUI.higwidgets.higdialogs import HIGAlertDialog
ImportError: No module named higwidgets.higdialogs

Original exception was:
Traceback (most recent call last):
  File "/usr/local/bin/nmapfe", line 101, in <module>
    zenmapGUI.App.run()
AttributeError: 'module' object has no attribute 'run'

Someone knows how to solve it. using linux gentoo.

It looks like you are using the /usr/local/bin/zenmap script from 4.75
but the modules from an earlier version. higwidgets was made a
subpackage of zenmapGUI in 4.75, and run became a function in the App
module rather than a method in an App.App class.

If you installed in /usr/local it's possible Python is still using old
Zenmap modules in /usr. Try deleting the zenmapGUI and zenmapCore
directories from /usr/lib/python2.5/site-packages or install Zenmap in
the prefix /usr, where you might have installed it before.

David Fifield

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


Current thread: