Bug#648737: python-gobject: python cannot imports Gtk

Nicolas Évrard nicoe at no-log.org
Sat Nov 12 17:03:52 UTC 2011


Package: python-gobject
Version: 2.28.6-5
Severity: important

Dear Maintainer,

I tried the following one liner which should work with python-gobject:

    python -c 'from gi.repository import Gtk'

with the following error:

    ERROR:root:Could not find any typelib for Gtk
    Traceback (most recent call last):
    File "<string>", line 1, in <module>
    ImportError: cannot import name Gtk

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-gobject depends on:
ii  gir1.2-glib-2.0        0.10.8-2+b1
ii  libc6                  2.13-21    
ii  libffi5                3.0.10-3   
ii  libgirepository-1.0-1  0.10.8-2+b1
ii  libglib2.0-0           2.28.8-1   
ii  python                 2.7.2-9    
ii  python2.6              2.6.7-4    
ii  python2.7              2.7.2-7    

Versions of packages python-gobject recommends:
pn  python-gobject-cairo  <none>

Versions of packages python-gobject suggests:
pn  python-gobject-dbg  <none>

-- no debconf information






More information about the pkg-gnome-maintainers mailing list