Nmap Development mailing list archives

Re: Another Zenmap launch error


From: David Fifield <david () bamsoftware com>
Date: Fri, 12 Sep 2008 11:58:01 -0600

On Wed, Sep 10, 2008 at 07:29:16PM -0400, Mike Calmus wrote:
I am also getting an error when trying to launch Zenmap. This same error 
happened with 4.68. It seems to be a problem with PyGTK, but I really 
don't know what to do to fix it. Any help would be greatly appreciated.

  File "/usr/local/bin/zenmap", line 98, in <module>
    import zenmapGUI.App
  File "/usr/local/lib/python2.5/site-packages/zenmapGUI/App.py", line 
34, in <module>
    import gtk
  File "/Library/Python/2.5/site-packages/gtk-2.0/gtk/__init__.py", line 
38, in <module>
    import gobject as _gobject
  File "/Library/Python/2.5/site-packages/gtk-2.0/gobject/__init__.py", 
line 33, in <module>
    from glib import spawn_async, idle_add, timeout_add, timeout_add_seconds, \
  File "/Library/Python/2.5/site-packages/gtk-2.0/glib/__init__.py",  
line 30, in <module>
    from _glib import *
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/local/bin/zenmap", line 47, in excepthook
    import gtk
  File "/Library/Python/2.5/site-packages/gtk-2.0/gtk/__init__.py", line 
38, in <module>
    import gobject as _gobject
  File "/Library/Python/2.5/site-packages/gtk-2.0/gobject/__init__.py", 
line 33, in <module>
    from glib import spawn_async, idle_add, timeout_add, timeout_add_seconds, \
  File "/Library/Python/2.5/site-packages/gtk-2.0/glib/__init__.py",  
line 30, in <module>
    from _glib import *
ImportError:  
dlopen(/Library/Python/2.5/site-packages/gtk-2.0/glib/_glib.so, 2):  
Symbol not found: _PyGSource_Type
  Referenced from: /Library/Python/2.5/site-packages/gtk-2.0/glib/_glib.so
  Expected in: flat namespace

You appear to be running on Mac OS X. How did you install PyGTK? You
might try reinstalling it. Your Python and PyGTK versions might be out
of sync.

What happens if you open an interactive Python session (just type
"python" in the terminal) and then execute the statement "import gtk"?
Do you get the same error?

The executable Mac packages are built using a PyGTK provided by
MacPorts. I haven't tried building with a PyGTK from any other source.

David Fifield

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


Current thread: