RuntimeError: Gtk couldn't be initialized

Bug #970712 reported by YannUbuntu on 2012-04-01
This bug affects 3 people
Affects Status Importance Assigned to Milestone

Bug Description

Bug reported by olivier-vopat (
under Ubuntu 11.10
Here is the return of the "os-uninstaller" command in a terminal:

File "/usr/bin/glade2script", line 49, in <module>
    from gi.repository import Gtk
  File "/usr/lib/python2.7/dist-packages/gi/", line 76, in
  File "/usr/lib/python2.7/dist-packages/gi/", line 224, in
    overrides_modules = __import__('gi.overrides',
  File "/usr/lib/python2.7/dist-packages/gi/overrides/", line
1404, in <module>
    raise RuntimeError("Gtk couldn't be initialized")
RuntimeError: Gtk couldn't be initialized

Remark: according to glade2script dev, this is a GTK problem.

YannUbuntu (yannubuntu) on 2012-04-01
description: updated
YannUbuntu (yannubuntu) on 2012-04-01
description: updated
Changed in glade2script:
status: New → Invalid
Olivier Vopat (olivier-vopat) wrote :

Here are the aswers to the following commands :

dpkg-query -W -f='${Version}' boot-sav
returns : 3.17-0ppa41~oneiric

dpkg-query -W -f='${Version}' os-uninstaller
returns : 3.16-0ppa8~oneiric

dpkg-query -W -f='${Version}' glade2script
returns :

dpkg-query -W -f='${Version}' glade2script-gtk2
returns : 0.0.1-0ppa4~oneiric

YannUbuntu (yannubuntu) wrote :

Thank you Olivier. You have the very last OS-Uninstaller version, using GTK3.

Let's see what the GTK3 devs say about these error messages.

Changed in os-uninstaller:
status: New → Triaged
YannUbuntu (yannubuntu) wrote :

Olivier reports that the bug disappeared after updating. Closing bug.

Changed in os-uninstaller:
status: Triaged → Invalid
no longer affects: gtk
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions