You are not logged in.
Hi everyone,
it seems that alacarte (both the version from the extra repo and alacarte-git from AUR) won't work on my Arch install.
It keeps deleting my menu and I need to restore it using gmenu-simple-editor (and I'm not allowed to change every entry I have in my menu this way).
Is there a way to fix that?
Here is the output, to reproduce this I just need to start alacarte and click to hide/show a software.
$ alacarte
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 353, in on_item_tree_show_toggled
self.editor.setVisible(item, False)
File "/usr/lib/python2.7/site-packages/Alacarte/MenuEditor.py", line 193, in setVisible
self.save()
File "/usr/lib/python2.7/site-packages/Alacarte/MenuEditor.py", line 52, in save
fd.write(self.dom.toprettyxml())
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2122' in position 1590: ordinal not in range(128)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/Alacarte/MenuEditor.py", line 48, in menuChanged
self.load()
File "/usr/lib/python2.7/site-packages/Alacarte/MenuEditor.py", line 45, in load
raise ValueError("can not load menu tree %r" % (self.name,))
ValueError: can not load menu tree 'applications.menu'
** (alacarte:8406): CRITICAL **: gmenu_tree_get_root_directory: assertion `tree->loaded' failed
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 67, in menuChanged
self.loadUpdates()
File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 96, in loadUpdates
self.loadMenus()
File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 192, in loadMenus
self.loadMenu({ None: None })
File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 203, in loadMenu
name = cgi.escape(menu.get_name())
AttributeError: 'NoneType' object has no attribute 'get_name'
Thanks,
have a nice day.
Offline