Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:
edgeos



Nmap Development: PyGObject Zenmap problems

PyGObject Zenmap problems

From: David Fifield <david_at_bamsoftware.com>
Date: Sun, 9 Dec 2007 17:11:13 -0700

I'm forwarding this to the list. We figured out why Zenmap wasn't using
the correct Python (leftover build files), but now there's a strange
error about _PyGBoxed_Type. Does anyone know what this is about?

David Fifield

> > On Sat, Dec 08, 2007 at 05:14:00PM -0800, Jay Chandler wrote:
> > > David Fifield wrote:
> > > > What's the first line of /usr/local/bin/zenmap? Is it
> > > >
> > > > #!/opt/local/bin/python2.5
> > > >
> > > > or something else?
> > >
> > > #!/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python
> >
> > Thanks for your patience. Please try a "make distclean" and then a clean
> > build from scratch ("./configure PYTHON=/opt/local/bin/python2.5" etc.).
> > The former command will, in particular, run "setup.py clean --all" and
> > delete all the "built" Python files. I think that the files in your
> > build subdirectory are not being replaced because distutils considers
> > them up to date.
>
> You're correct.
> singularity:nmap jay$ head /usr/local/bin/zenmap
> #!/opt/local/bin/python2.5

Here's the new error.

> singularity:nmap jay$ zenmap
> Error in sys.excepthook:
> Traceback (most recent call last):
> File "/usr/local/bin/zenmap", line 59, in excepthook
> import gtk
> File
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-gtk/work/destroot/opt/local/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py",
> line 38, in <module>
> File
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-gobject/work/destroot/opt/local/lib/python2.5/site-packages/gtk-2.0/gobject/__init__.py",
> line 30, in <module>
> File
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-gobject/work/destroot/opt/local/lib/python2.5/site-packages/gtk-2.0/gobject/constants.py",
> line 22, in <module>
> ImportError:
> dlopen(/opt/local/lib/python2.5/site-packages/gtk-2.0/gobject/_gobject.so,
> 2): Symbol not found: _PyGBoxed_Type
> Referenced from:
> /opt/local/lib/python2.5/site-packages/gtk-2.0/gobject/_gobject.so
> Expected in: flat namespace
>
>
> Original exception was:
> Traceback (most recent call last):
> File "/usr/local/bin/zenmap", line 150, in <module>
> app.run()
> File "/usr/local/lib/python2.5/site-packages/zenmapGUI/App.py", line
> 96, in run
> self.__run_gui()
> File "/usr/local/lib/python2.5/site-packages/zenmapGUI/App.py", line
> 100, in __run_gui
> import gtk
> File
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-gtk/work/destroot/opt/local/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py",
> line 38, in <module>
> File
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-gobject/work/destroot/opt/local/lib/python2.5/site-packages/gtk-2.0/gobject/__init__.py",
> line 30, in <module>
> File
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-gobject/work/destroot/opt/local/lib/python2.5/site-packages/gtk-2.0/gobject/constants.py",
> line 22, in <module>
> ImportError:
> dlopen(/opt/local/lib/python2.5/site-packages/gtk-2.0/gobject/_gobject.so,
> 2): Symbol not found: _PyGBoxed_Type
> Referenced from:
> /opt/local/lib/python2.5/site-packages/gtk-2.0/gobject/_gobject.so
> Expected in: flat namespace
>
> singularity:nmap jay$

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

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