After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 691829 - alacarte crashes with pygobject 3.7: cannot import name GError
alacarte crashes with pygobject 3.7: cannot import name GError
Status: RESOLVED FIXED
Product: alacarte
Classification: Applications
Component: general
unspecified
Other Linux
: Normal critical
: ---
Assigned To: Alacarte Maintainer(s)
Alacarte Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-01-16 06:21 UTC by Jeremy Bicha
Modified: 2013-01-19 06:14 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jeremy Bicha 2013-01-16 06:21:33 UTC
Originally reported at https://bugs.launchpad.net/ubuntu/+source/alacarte/+bug/1086369

Alacarte won't start with pygobject 3.7.2 or higher.

According to pitti, you should instead use 
from gi.repository.GLib import GError

Traceback (most recent call last):
  • File "/usr/bin/alacarte", line 23 in <module>
    from Alacarte.MainWindow import MainWindow
  • File "/usr/share/alacarte/Alacarte/MainWindow.py", line 32 in <module>
    from Alacarte.MenuEditor import MenuEditor
  • File "/usr/share/alacarte/Alacarte/MenuEditor.py", line 23 in <module>
    from Alacarte import util
  • File "/usr/share/alacarte/Alacarte/util.py", line 25 in <module>
    from gi._glib import GError  ImportError: cannot import name GError

Comment 1 Jeremy Bicha 2013-01-19 06:14:42 UTC
It looks like this was fixed with
http://git.gnome.org/browse/alacarte/commit/?id=2f2e0b