0.13.2-2ubuntu4 : alacarte crashed with IOError in on_edit_properties_activate(): [Errno 2] No such file or dir: 'alacarte-made-1.directory'

Bug #948769 reported by dino99
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
alacarte (Ubuntu)
New
Undecided
Unassigned

Bug Description

Precise i386 logged as gnome-classic

was cleaning some deprecated entries into alacarte menu, but some entries refused to be wiped and got a crash instead.
this bug have already been reported a long time ago but never got attention: bug #355829 , hopes it will get fixed for this LTS.

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: alacarte 0.13.2-2ubuntu4
ProcVersionSignature: Ubuntu 3.2.0-18.28pre201203030400-generic-pae 3.2.9
Uname: Linux 3.2.0-18-generic-pae i686
NonfreeKernelModules: nvidia
ApportVersion: 1.94-0ubuntu2
Architecture: i386
Date: Wed Mar 7 08:44:22 2012
ExecutablePath: /usr/bin/alacarte
ExecutableTimestamp: 1328522175
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python -OOt /usr/bin/alacarte
ProcCwd: /home/oem
PythonArgs: ['/usr/bin/alacarte']
SourcePackage: alacarte
Title: alacarte crashed with IOError in on_edit_properties_activate(): [Errno 2] Aucun fichier ou dossier de ce type: 'alacarte-made-1.directory'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin audio avahi avahi-autoipd boinc cdrom couchdb crontab daemon debian-tor dialout disk fuse haldaemon klog kmem libuuid lpadmin mail messagebus mlocate mysql mythtv netdev ntp operator plugdev polkituser powerdev pulse root sambashare saned scanner shadow ssh ssl-cert sudo syslog tty users utmp vboxusers video voice whoopsie www-data

Revision history for this message
dino99 (9d9) wrote :
visibility: private → public
summary: 0.13.2-2ubuntu4 : alacarte crashed with IOError in
- on_edit_properties_activate(): [Errno 2] Aucun fichier ou dossier de ce
- type: 'alacarte-made-1.directory'
+ on_edit_properties_activate(): [Errno 2] No such file or dir: 'alacarte-
+ made-1.directory'
tags: added: 0.13.2-2ubuntu4
Revision history for this message
dino99 (9d9) wrote :

Traceback (most recent call last):
  File "/usr/share/alacarte/Alacarte/MainWindow.py", line 634, in on_properties_button_clicked
    self.on_edit_properties_activate(None)
  File "/usr/share/alacarte/Alacarte/MainWindow.py", line 375, in on_edit_properties_activate
    parser.write(open(file_path))
IOError: [Errno 2] Aucun fichier ou dossier de ce type: 'alacarte-made-1.directory'
Traceback (most recent call last):
  File "/usr/share/alacarte/Alacarte/MainWindow.py", line 95, in loadUpdates
    item_id = os.path.split(items[iter][3].get_desktop_file_path())[1]
  File "/usr/lib/python2.7/posixpath.py", line 83, in split
    i = p.rfind('/') + 1
AttributeError: 'NoneType' object has no attribute 'rfind'
Traceback (most recent call last):
  File "/usr/share/alacarte/Alacarte/MainWindow.py", line 636, in on_delete_button_clicked
    self.on_edit_delete_activate(None)
  File "/usr/share/alacarte/Alacarte/MainWindow.py", line 341, in on_edit_delete_activate
    self.editor.deleteMenu(item)
  File "/usr/share/alacarte/Alacarte/MenuEditor.py", line 343, in deleteMenu
    menu_xml = self.__getXmlMenu(self.__getPath(menu), dom, dom)
  File "/usr/share/alacarte/Alacarte/MenuEditor.py", line 447, in __getPath
    path = menu.tree.root.get_menu_id()
AttributeError: 'NoneType' object has no attribute 'root'

Revision history for this message
Apport retracing service (apport) wrote : This bug is a duplicate

Thank you for taking the time to report this crash and helping to make this software better. This particular crash has already been reported and is a duplicate of bug #355829, so is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

tags: removed: need-duplicate-check
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.