Crash while trying to edit menus

Bug #1098676 reported by dino99
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
alacarte (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

on RR i386, alacarte 3.6.1-0ubuntu2 crash when right clicking on Applications menu, then selecting "Edit menus"
Apport refuse to report pointing to an unknown previous report bug #1098475

Title is: alacarte crashed with ImportError in /usr/share/alacarte/Alacarte/util.py : cannot import name GError

and this is logged:
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
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
INFO: Lightspark plugin shutdown

Tags: crash i386 raring
Revision history for this message
dino99 (9d9) wrote :
tags: added: crash i386 raring
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in alacarte (Ubuntu):
status: New → Confirmed
Revision history for this message
ek0892 (kranich) wrote :

me too. for fix / resolv , this is my solution :

in the terminal :

sudo sed -i -e '/from gi._glib/ s/^from */### from/' /usr/share/alacarte/Alacarte/util.py

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.