My ~/.config/menus path contained following after this failure: pat...@esp-patben-lin:~/.config/menus$ ls -lR .: razem 12 -rw-r--r-- 1 patben patben 366 2010-08-04 10:27 applications.menu drwxr-xr-x 2 patben patben 4096 2010-08-04 09:38 applications-merged -rw-r--r-- 1 patben patben 404 2010-08-04 10:27 settings.menu
./applications-merged: razem 0 pat...@esp-patben-lin:~/.config/menus$ And my applications.menu file contained only the following: pat...@esp-patben-lin:~/Backup/.config/menus$ cat applications.menu <!DOCTYPE Menu PUBLIC '-//freedesktop//DTD Menu 1.0//EN' 'http://standards.freedesktop.org/menu-spec/menu-1.0.dtd'> <Menu> <Name>Applications</Name> <MergeFile type="parent">/etc/xdg/menus/applications.menu</MergeFile> <Menu> <Name>Development</Name> <Include> <Filename>SQuirreL SQL Client.desktop</Filename> </Include> </Menu> <Deleted/> </Menu> After additional search I have copied /etc/xdg/menus/applications.menu to ~/.config/menus. After that, all menu entries has appeared back... together with "" (empty name) entry. Alacarte has started properly, I have moved squirrel SQL shortcut again to "Programming" entry. Now I payed more attention, when "(empty)" was selected "Delete" button was greyed out. I have clicked "squirrel" shortcut in menu entry and deleted it - went fine. I have clicked "(empty)" - "delete" button was still grey. I tried to move "(empty)" to subsection of "Accessories" with hope i will be able to delete it. Then all menu entries has disappeared and after I closed it, terminal contained: pat...@esp-patben-lin:/etc/xdg/menus$ alacarte ** (alacarte:3726): WARNING **: Error loading menu layout from "/home/patben/.config/menus/applications.menu": Line 6 character 9: Element <Old> is required to contain text and was empty Traceback (most recent call last): File "/usr/lib/pymodules/python2.6/Alacarte/MainWindow.py", line 112, in loadUpdates self.loadMenus() File "/usr/lib/pymodules/python2.6/Alacarte/MainWindow.py", line 213, in loadMenus self.loadMenu(iters, menu) File "/usr/lib/pymodules/python2.6/Alacarte/MainWindow.py", line 228, in loadMenu iters[depth] = self.menu_store.append(None, (icon, cgi.escape(parent.get_name()), parent)) AttributeError: 'NoneType' object has no attribute 'get_name' Conclusion: previously I have accidentally moved "(empty)" menu entry to another section, which has triggered disappearance of all menu entries. Should this be reported as separate bug? I remind you, that this bug concerns crash of alacarte, when there are no menu entries. -- alacarte crashes on startup, when all menu entries are not present https://bugs.launchpad.net/bugs/613358 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to alacarte in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs