I can not edit menu entries in alacarte at random - Ubuntu Lucid (10.04)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
alacarte (Ubuntu) |
Expired
|
Low
|
Unassigned |
Bug Description
Binary package hint: alacarte
Hello,
Sometimes I am unable to edit a menu entry in alacarte, but sometimes I can. If I click on the properties button for the menu entries, it sometimes fails to open, however, If I continue to click on the properties button to other random menu entries, I will be able to edit the one I want to edit eventually. It seems that when I repeatedly click on the same properties button that failed to open, it makes the problem worse. This applies to Ubuntu Lucid Alpha 1.
Running alacarte in the terminal provides this output as soon as a properties button fails to open:
james@Lucid:~$ alacarte
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
undo_path = util.getUniqueU
File "/usr/lib/
filename, extension = os.path.
ValueError: need more than 1 value to unpack
james@Lucid:~$ lsb_release -rd
Description: Ubuntu lucid (development branch)
Release: 10.04
apt-cache policy alacarte
alacarte:
Installed: 0.12.4-1ubuntu1
Candidate: 0.12.4-1ubuntu1
Version table:
*** 0.12.4-1ubuntu1 0
500 http://
100 /var/lib/
james@Lucid:~$ apt-cache show alacarte
Package: alacarte
Priority: optional
Section: utils
Installed-Size: 1332
Maintainer: Ubuntu Desktop Team <email address hidden>
Original-
Architecture: all
Version: 0.12.4-1ubuntu1
Replaces: smeg
Provides: smeg
Depends: python (>= 2.4), python-support (>= 0.90.0), python-gtk2 (>= 2.13.0), python-gmenu (>= 2.27.92), gnome-menus (>= 2.27.92), python-gobject (>= 2.15.1)
Recommends: gnome-panel
Conflicts: smeg (<< 0.8-0ubuntu1)
Filename: pool/main/
Size: 58004
MD5sum: a69323948d770f6
SHA1: 50a5372e001097d
SHA256: c8eea88df662e7e
Description: easy GNOME menu editing tool
Alacarte is an easy-to-use menu editor for GNOME that can add
and edit new entries and menus. It works with the freedesktop.org
menu specification and should work with any desktop environment
that uses the spec.
Python-Version: 2.6
Bugs: https:/
Origin: Ubuntu
Task: ubuntu-desktop, edubuntu-desktop, xubuntu-desktop, mythbuntu-
ProblemType: Bug
Architecture: i386
Date: Wed Dec 23 03:44:09 2009
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha i386 (20091209)
NonfreeKernelMo
Package: alacarte 0.12.4-1ubuntu1
PackageArchitec
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: alacarte
Tags: lucid
Uname: Linux 2.6.32-7-generic i686
Changed in alacarte (Ubuntu): | |
importance: | Undecided → Low |
On my Lucid Alpha 1 (clean install, up-to-date as of today) I can't find any menu items which would trigger the described error messages.
ankspo71, was this a fresh install or an upgrade?
You could take a look at /usr/share/ desktop- directories and ~/.local/ share/desktop- directories/ and verify that they contain files with the .directory extension.
Do you get the exception also when trying to open properties of a launcher (not a folder)? If so, the exception should be a bit different.
You could add the statement: pymodules/ python2. 6/Alacarte/ MainWindow. py and see what file paths Alacarte prints out when you click on the "Properties" button. It looks like some of the file names lack an extension and cause the exception you described.
print file_path
above line 377 (and indented similarly to the surrounding lines) of /usr/lib/