Alacarte crashes and missed menus

Bug #79205 reported by michelem
38
This bug affects 3 people
Affects Status Importance Assigned to Milestone
alacarte (Ubuntu)
Invalid
Undecided
Travis Watkins

Bug Description

Binary package hint: alacarte

After last Feisty Fawn upgrade Alacarte crashes and there are several menus items missed like: the entire Applications menu and the system -> preferences and system -> administrator replaced by GNOME Control Center

mik@goa:~$ alacarte
/var/lib/python-support/python2.4/gtk-2.0/bonobo/__init__.py: inconsistent use of tabs and spaces in indentation
Traceback (most recent call last):
  File "/usr/bin/alacarte", line 36, in ?
    main()
  File "/usr/bin/alacarte", line 32, in main
    app = MainWindow(datadir, version, sys.argv)
  File "/usr/lib/python2.4/site-packages/Alacarte/MainWindow.py", line 49, in __init__
    self.editor = MenuEditor()
  File "/usr/lib/python2.4/site-packages/Alacarte/MenuEditor.py", line 36, in __init__
    self.__loadMenus()
  File "/usr/lib/python2.4/site-packages/Alacarte/MenuEditor.py", line 46, in __loadMenus
    self.applications.dom = xml.dom.minidom.parse(self.applications.path)
  File "/usr/lib/python2.4/site-packages/_xmlplus/dom/minidom.py", line 1915, in parse
    return expatbuilder.parse(file)
  File "/usr/lib/python2.4/site-packages/_xmlplus/dom/expatbuilder.py", line 926, in parse
    result = builder.parseFile(fp)
  File "/usr/lib/python2.4/site-packages/_xmlplus/dom/expatbuilder.py", line 211, in parseFile
    parser.Parse("", True)
xml.parsers.expat.ExpatError: no element found: line 1, column 0

Revision history for this message
michelem (michele-marcucci) wrote :
description: updated
description: updated
Revision history for this message
Travis Watkins (amaranth) wrote :

You seem to have corrupted your applications.menu somehow. `rm ~/.config/menus/applications.menu` should fix that. The replacement of Preferences and Administration with GNOME Control Center has nothing to do with alacarte.

Please tell me if this fixes your problem.

Changed in alacarte:
assignee: nobody → amaranth
status: Unconfirmed → Needs Info
Revision history for this message
Andrea Olivato (andreaolivato) wrote :

Same problem here. Tried what travis said but nothing changed...here's my report

Revision history for this message
Andrea Olivato (andreaolivato) wrote :

Solved here.

Bug was causated by wrong permission in folder .local in my home

Revision history for this message
michelem (michele-marcucci) wrote :

Thank you Travis the workaround fixes my problem

Revision history for this message
Travis Watkins (amaranth) wrote :

Alright, closing bug as rejected as it was not a problem with alacarte.

Changed in alacarte:
status: Needs Info → Rejected
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.