Your message dated Thu, 05 Jun 2014 13:17:30 +0400
with message-id <20140605091730.14687.56341@mitya57.local>
and subject line Re: alacarte empties gnome-applications.menu
has caused the Debian Bug report #717240,
regarding alacarte empties gnome-applications.menu
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
717240: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717240
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: alacarte
Version: 3.5.3-1
Severity: grave
Tags: upstream
Justification: renders package unusable
When trying to hide Icedove entry, the left panel of alacarte empties and the
console displays :
Traceback (most recent call last):
File "/usr/share/alacarte/Alacarte/MainWindow.py", line 367, in
on_item_tree_show_toggled
self.editor.setVisible(item, False)
File "/usr/share/alacarte/Alacarte/MenuEditor.py", line 195, in setVisible
self.save()
File "/usr/share/alacarte/Alacarte/MenuEditor.py", line 54, in save
fd.write(self.dom.toprettyxml())
UnicodeEncodeError: 'ascii' codec can't encode character u'\xc9' in position
835: ordinal not in range(128)
Traceback (most recent call last):
File "/usr/share/alacarte/Alacarte/MenuEditor.py", line 50, in menuChanged
self.load()
File "/usr/share/alacarte/Alacarte/MenuEditor.py", line 47, in load
raise ValueError("can not load menu tree %r" % (self.name,))
ValueError: can not load menu tree 'gnome-applications.menu'
** (alacarte:21123): CRITICAL **: gmenu_tree_get_root_directory: assertion
`tree->loaded' failed
Traceback (most recent call last):
File "/usr/share/alacarte/Alacarte/MainWindow.py", line 69, in menuChanged
self.loadUpdates()
File "/usr/share/alacarte/Alacarte/MainWindow.py", line 98, in loadUpdates
self.loadMenus()
File "/usr/share/alacarte/Alacarte/MainWindow.py", line 194, in loadMenus
self.loadMenu({ None: None })
File "/usr/share/alacarte/Alacarte/MainWindow.py", line 205, in loadMenu
name = cgi.escape(menu.get_name())
AttributeError: 'NoneType' object has no attribute 'get_name'
At next launches, alacarte will fail saying :
Traceback (most recent call last):
File "/usr/bin/alacarte", line 37, in <module>
main()
File "/usr/bin/alacarte", line 33, in main
app = MainWindow(datadir, version)
File "/usr/share/alacarte/Alacarte/MainWindow.py", line 43, in __init__
self.editor = MenuEditor()
File "/usr/share/alacarte/Alacarte/MenuEditor.py", line 33, in __init__
self.load()
File "/usr/share/alacarte/Alacarte/MenuEditor.py", line 47, in load
raise ValueError("can not load menu tree %r" % (self.name,))
ValueError: can not load menu tree 'gnome-applications.menu'
When checked, the gnome-applications.menu file has been emptied, and I have to
restore it from a backup — happily, this backup is launched daily —.
I saw the #630017 bug, but the error messages seemed very different, so I
opened this new bug report, but I may be mistaken.
-- System Information:
Debian Release: 7.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.9.6 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages alacarte depends on:
ii gir1.2-gdkpixbuf-2.0 2.26.1-1
ii gir1.2-glib-2.0 1.32.1-1
ii gir1.2-gmenu-3.0 3.4.2-5
ii gir1.2-gtk-3.0 3.4.2-6
ii python 2.7.3-4
ii python-gi 3.2.2-2
Versions of packages alacarte recommends:
ii gnome-panel 3.4.2.1-4
alacarte suggests no packages.
-- no debconf information
*** /home/penegal/.config/menus/gnome-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/gnome-
applications.menu</MergeFile>
<Menu>
<Name>Games</Name>
<Include>
<Filename>alacarte-made.desktop</Filename>
</Include>
</Menu>
<Menu>
<Name>Other</Name>
<Exclude>
<Filename>alacarte-made-1.desktop</Filename>
</Exclude>
<AppDir>/home/penegal/.local/share/applications</AppDir>
<Exclude>
<Filename>gnome-font-viewer.desktop</Filename>
</Exclude>
<Exclude>
<Filename>gmenu-simple-editor.desktop</Filename>
</Exclude>
<Exclude>
<Filename>TrueCrypt.desktop</Filename>
</Exclude>
<Exclude>
<Filename>Evolution.desktop</Filename>
</Exclude>
<Exclude>
<Filename>Éditeur de menus.desktop</Filename>
</Exclude>
<Exclude>
<Filename>nautilus-autorun-software.desktop</Filename>
</Exclude>
</Menu>
<Menu>
<Name>Graphics</Name>
<Include>
<Filename>evince.desktop</Filename>
</Include>
<AppDir>/home/penegal/.local/share/applications</AppDir>
<Include>
<Filename>kde4-kcolorchooser.desktop</Filename>
</Include>
</Menu>
<Menu>
<Name>Internet</Name>
<Exclude>
<Filename>mail-notification.desktop</Filename>
</Exclude>
<AppDir>/home/penegal/.local/share/applications</AppDir>
<Include>
<Filename>alacarte-made-2.desktop</Filename>
</Include>
<Exclude>
<Filename>WebHTTrack-Websites.desktop</Filename>
</Exclude>
<Exclude>
<Filename>Internet-WebHTTrack-
Websites.desktop</Filename>
</Exclude>
<Include>
<Filename>Internet-WebHTTrack.desktop</Filename>
</Include>
<Include>
<Filename>Gip IP Address
Calculator-1.desktop</Filename>
</Include>
<Exclude>
<Filename>googleearth.desktop</Filename>
</Exclude>
<Exclude>
<Filename>Evolution.desktop</Filename>
</Exclude>
</Menu>
<Menu>
<Name>System</Name>
<Include>
<Filename>gnome-power-statistics.desktop</Filename>
</Include>
<AppDir>/home/penegal/.local/share/applications</AppDir>
<Exclude>
<Filename>gdmflexiserver-xnest.desktop</Filename>
</Exclude>
<Include>
<Filename>TrueCrypt-1.desktop</Filename>
</Include>
<Exclude>
<Filename>TrueCrypt.desktop</Filename>
</Exclude>
<Exclude>
<Filename>Gip IP Address Calculator.desktop</Filename>
</Exclude>
</Menu>
<Menu>
<Name>Development</Name>
<Include>
<Filename>python2.6.desktop</Filename>
</Include>
<AppDir>/home/penegal/.local/share/applications</AppDir>
</Menu>
<Menu>
<Name>Multimedia</Name>
<Include>
<Filename>kde4-k3b.desktop</Filename>
</Include>
<AppDir>/home/penegal/.local/share/applications</AppDir>
</Menu>
<Menu>
<Name>wine-wine</Name>
<DirectoryDir>/home/penegal/.local/share/desktop-
directories</DirectoryDir>
</Menu>
<Menu>
<Name>Office</Name>
<Include>
<Filename>Afficheur de polices.desktop</Filename>
</Include>
<Exclude>
<Filename>evolution.desktop</Filename>
</Exclude>
<AppDir>/home/penegal/.local/share/applications</AppDir>
<Exclude>
<Filename>Evolution-1.desktop</Filename>
</Exclude>
</Menu>
<Menu>
<Name>Accessories</Name>
<Exclude>
<Filename>truecrypt.desktop</Filename>
</Exclude>
<AppDir>/home/penegal/.local/share/applications</AppDir>
<Exclude>
<Filename>gip.desktop</Filename>
</Exclude>
<Include>
<Filename>Éditeur de menus-1.desktop</Filename>
</Include>
--- End Message ---
--- Begin Message ---
Version: 3.9.91-1
Hi,
There was a major code refactoring in alacarte 3.7.x and 3.9.x, so I have all
reasons to believe that this bug no longer exists (at least the line it crashes
in was changed in 3.7.90).
Please reopen if you still get it with the latest version from unstable
(3.11.91).
--
Dmitry Shachnev
signature.asc
Description: OpenPGP digital signature
--- End Message ---