Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#466595: zenmap: No module named gtk error

260 views
Skip to first unread message

Sheridan Hutchinson

unread,
Feb 19, 2008, 4:20:07 PM2/19/08
to
Package: zenmap
Version: 4.53-1
Severity: important

Hi,

I'm a KDE man and I'm using Lenny with the absolute minimum of GTK stuff
installed.

Zenmap's dependencies though are probably not as aggressive as they
should be because I get the following error:


sheridan@D2:~$ zenmap
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/bin/zenmap", line 59, in excepthook
import gtk
ImportError: No module named gtk

Original exception was:
Traceback (most recent call last):
File "/usr/bin/zenmap", line 150, in ?
app.run()
File "/usr/lib/python2.4/site-packages/zenmapGUI/App.py", line 96, in
run
self.__run_gui()
File "/usr/lib/python2.4/site-packages/zenmapGUI/App.py", line 100, in
__run_gui
import gtk
ImportError: No module named gtk


-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages zenmap depends on:
ii nmap 4.53-1 The Network Mapper
ii python 2.4.4-6 An interactive high-level object-o
ii python-central 0.5.15-0.1 register and build utility for Pyt
ii python-pysqlite2 2.4.0-2 python interface to SQLite 3

Versions of packages zenmap recommends:
pn gksu <none> (no description available)

-- no debconf information

--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Fyodor

unread,
Feb 19, 2008, 4:40:18 PM2/19/08
to
On Tue, Feb 19, 2008 at 09:07:09PM +0000, Sheridan Hutchinson wrote:
>
> I'm a KDE man and I'm using Lenny with the absolute minimum of GTK stuff
> installed.
>
> Zenmap's dependencies though are probably not as aggressive as they
> should be because I get the following error:

In case this is useful for improving the Debian package (if
necessary), here is the dependency string we use for the Nmap RPM
distribution of Zenmap:

Requires: python >= 2.4, nmap, pygtk2, python-sqlite2

Cheers,
-F

Sheridan Hutchinson

unread,
Feb 19, 2008, 10:40:08 PM2/19/08
to
Fyodor wrote:
> On Tue, Feb 19, 2008 at 09:07:09PM +0000, Sheridan Hutchinson wrote:
>> I'm a KDE man and I'm using Lenny with the absolute minimum of GTK stuff
>> installed.
>>
>> Zenmap's dependencies though are probably not as aggressive as they
>> should be because I get the following error:
>
> In case this is useful for improving the Debian package (if
> necessary), here is the dependency string we use for the Nmap RPM
> distribution of Zenmap:
>
> Requires: python >= 2.4, nmap, pygtk2, python-sqlite2
>
> Cheers,
> -F

Wow, a reply from Fyodor himself!; it's not everyday that I speak to a
celebrity :D

I installed python-gtk2 and everything works perfectly. This dependency
is necessary for QT people like myself to solve this bug.

Thank you for your assistance.

--
Regards,
Sheridan Hutchinson
Sher...@Shezza.org

LaMont Jones

unread,
Feb 19, 2008, 11:10:13 PM2/19/08
to
On Tue, Feb 19, 2008 at 01:26:21PM -0800, Fyodor wrote:
> In case this is useful for improving the Debian package (if
> necessary), here is the dependency string we use for the Nmap RPM
> distribution of Zenmap:
> Requires: python >= 2.4, nmap, pygtk2, python-sqlite2

yeah - definitely just a packaging issue...

thanks for the pointers, I'll get that uploaded shortly.

lamont

0 new messages