Bug#740337: gnome-tweak-tool: AttributeError: 'gi.repository.Gtk' object has no attribute 'ListBox'

Sandro Tosi morph at debian.org
Fri Feb 28 10:17:29 UTC 2014


Package: gnome-tweak-tool
Version: 3.10.1-1
Severity: grave

Hello,
I just installed gnome-tweak-tool and launching it got this error:

$ gnome-tweak-tool
WARNING : Shell not installed or running
Traceback (most recent call last):
  File "/usr/bin/gnome-tweak-tool", line 84, in <module>
    from gtweak.app import GnomeTweakTool
  File "/usr/lib/python2.7/dist-packages/gtweak/app.py", line 25, in <module>
    from gtweak.tweakview import Window
  File "/usr/lib/python2.7/dist-packages/gtweak/tweakview.py", line 26, in <module>
    from gtweak.widgets import Title
  File "/usr/lib/python2.7/dist-packages/gtweak/widgets.py", line 207, in <module>
    class ListBoxTweakGroup(Gtk.ListBox, TweakGroup):
  File "/usr/lib/python2.7/dist-packages/gi/module.py", line 313, in __getattr__
    return getattr(self._introspection_module, name)
  File "/usr/lib/python2.7/dist-packages/gi/module.py", line 134, in __getattr__
    self.__name__, name))
AttributeError: 'gi.repository.Gtk' object has no attribute 'ListBox'

with this versin of python-gi

$ COLUMNS=80 dpkg -l python-gi | tail -n1
ii  python-gi      3.10.2-1     amd64        Python 2.x bindings for gobject-i

but also updating to the latest version in sid:

$ COLUMNS=80 dpkg -l python-gi | tail -n1
ii  python-gi      3.10.2-2+b1  amd64        Python 2.x bindings for gobject-i

Regards,
Sandro


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages gnome-tweak-tool depends on:
ii  gir1.2-gnomedesktop-3.0    3.8.4-2
ii  gir1.2-gtk-3.0             3.8.6-1
ii  gnome-shell-common         3.8.4-5
ii  gsettings-desktop-schemas  3.8.2-2
ii  python                     2.7.5-5
ii  python-gi                  3.10.2-1

gnome-tweak-tool recommends no packages.

gnome-tweak-tool suggests no packages.

-- no debconf information



More information about the pkg-gnome-maintainers mailing list