Home page logo

nmap-dev logo Nmap Development mailing list archives

Re: zenmap as root error
From: David Fifield <david () bamsoftware com>
Date: Tue, 22 Apr 2008 12:39:58 -0600

On Tue, Apr 01, 2008 at 10:52:02PM -0300, Guilherme Polo wrote:
For PyGtk 2.10 and newer, ImportError is actually a warning so the
code changes a bit:

import warnings
warnings.filterwarnings('error', module='gtk')
    import gtk
except Warning, w:
    print w

Thanks, Guilherme, I've committed something to this effect. The
segmentation fault seems to have been in PyGTK or GTK itself, and was
somehow caused by creating a bunch of widgets without having a display
to show them on.

David Fifield

Sent through the nmap-dev mailing list
Archived at http://SecLists.Org

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]