GNOME Bugzilla – Bug 590491
Alacarte crashes when global menu files do not exist.
Last modified: 2009-12-04 04:30:16 UTC
Steps to reproduce: 1. mv /etc/xdg/menus/applications.menu /etc/xdg/menus/applications.menu.tmp 2. Launch alacarte Stack trace: Traceback (most recent call last):
+ Trace 216743
main()
app = MainWindow(datadir, version, sys.argv)
self.editor = MenuEditor()
self.__loadMenus()
self.applications.path = os.path.join(util.getUserMenuPath(), self.applications.tree.get_menu_file())
if b.startswith('/'):
This happens because self.applications.tree.get_menu_file() returns None. Sure, missing menu files are a bad condition, but nevertheless the application should inform the user, not die without a whisper. Other information:
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of bug 592718 ***