menulibre crashes on start on ubuntu 14.04

Bug #1320448 reported by Matthias Hillebrand
20
This bug affects 5 people
Affects Status Importance Assigned to Milestone
MenuLibre
Fix Released
Unknown

Bug Description

First I tried alacarte (which was offered by the repository, but apparently does not work). After the first start and trying to change some things it crashed and does not start any more. Maybe it broke something also for menulibre?

alacarte gives me following error:

(alacarte:14957): Gtk-CRITICAL **: gtk_accel_label_set_accel_closure: assertion 'gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed

(alacarte:14957): Gtk-CRITICAL **: gtk_accel_label_set_accel_closure: assertion 'gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed
Traceback (most recent call last):
  File "/usr/bin/alacarte", line 26, in <module>
    main()
  File "/usr/share/alacarte/Alacarte/MainWindow.py", line 471, in main
    app.setMenuBasename(basename)
  File "/usr/share/alacarte/Alacarte/MainWindow.py", line 66, in setMenuBasename
    self.editor = MenuEditor(menu_basename)
  File "/usr/share/alacarte/Alacarte/MenuEditor.py", line 36, in __init__
    self.load()
  File "/usr/share/alacarte/Alacarte/MenuEditor.py", line 49, in load
    if not self.tree.load_sync():
gi._glib.GError: Fehler in Zeile 1, Zeichen 1: Dokument ist leer oder enthält nur Leerraum

I gave menulibre a go. Unfortunately it never came up and keeps crashing with this report:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/menulibre/MenulibreApplication.py", line 2509, in do_activate
    self.win = MenulibreWindow(self)
  File "/usr/lib/python3/dist-packages/menulibre/MenulibreApplication.py", line 339, in __init__
    self.configure_application_treeview(builder)
  File "/usr/lib/python3/dist-packages/menulibre/MenulibreApplication.py", line 562, in configure_application_treeview
    treestore = MenuEditor.get_treestore()
  File "/usr/lib/python3/dist-packages/menulibre/MenuEditor.py", line 120, in get_treestore
    menu = get_menus()[0]
  File "/usr/lib/python3/dist-packages/menulibre/MenuEditor.py", line 182, in get_menus
    menu = MenuEditor()
  File "/usr/lib/python3/dist-packages/menulibre/MenuEditor.py", line 234, in __init__
    self.load()
  File "/usr/lib/python3/dist-packages/menulibre/MenuEditor.py", line 252, in load
    if not self.tree.load_sync():
gi._glib.GError: Fehler in Zeile 1, Zeichen 1: Dokument ist leer oder enthält nur Leerraum

Anything I could do or maybe even a glitch in menulibre?

thx in advance, Matthias

Revision history for this message
Georg Lipps (georg-lipps) wrote :

Same problem here (alacarte, ubuntu 14.04)
I guess the root of the problem is a file describing the structure of the startmenu. This file appears to be corrupt. I have not found a way to figure out which file this is and how to reset it.

Georg

Revision history for this message
Georg Lipps (georg-lipps) wrote :

Delete ~/.config/gnome-applications.menu and you may restart alacarte with default settings.

Georg

Changed in menulibre:
status: New → Confirmed
Sean Davis (bluesabre)
Changed in menulibre:
importance: Undecided → Unknown
status: Confirmed → Unknown
Changed in menulibre:
status: Unknown → New
Changed in menulibre:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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