Nmap Development mailing list archives

Re: zenmap launch error


From: "sara fink" <sara.fink () gmail com>
Date: Fri, 12 Sep 2008 02:56:42 +0300

Hi David

Thanks for your reply. yes, it was installed in /usr/local/bin.  I deleted
zenmapGUI and zenmapCore and now it launches fine.

What bothers me, is that it shouldn't be there in my opinion. Maybe I am
wrong. In which directory you installed the new version?

Also, I extracted the new version in /usr/portage/distfiles wwhich shouldn't
be there. Only the bz2 should appear there.




On Thu, Sep 11, 2008 at 1:41 AM, David Fifield <david () bamsoftware com>wrote:

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


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


Current thread: