alacarte crashed with AttributeError in split()

Bug #510818 reported by Eric
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
alacarte (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: alacarte

Steps to reproduce:
1. Create a "New Menu"
2. Click the "Revert" button, and the new menu you made will be renamed to something like "alacarte-made-4"
3. Try to delete "alacarte-made-4" and you receive this error. Also, the program outputs to terminal this:
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/Alacarte/MainWindow.py", line 95, in loadUpdates
    item_id = os.path.split(items[iter][3].get_desktop_file_path())[1]
  File "/usr/lib/python2.6/posixpath.py", line 82, in split
    i = p.rfind('/') + 1
AttributeError: 'NoneType' object has no attribute 'rfind'

However, when alacarte next runs, the menu item will have been successfully deleted.

Additionally, attempting the "Properties" button on the menu item results in the following output:
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/Alacarte/MainWindow.py", line 625, in on_properties_button_clicked
    self.on_edit_properties_activate(None)
  File "/usr/lib/pymodules/python2.6/Alacarte/MainWindow.py", line 369, in on_edit_properties_activate
    parser.write(open(file_path))
IOError: [Errno 2] No such file or directory: 'alacarte-made-4.directory'

ProblemType: Crash
Architecture: i386
Date: Thu Jan 21 14:17:03 2010
DistroRelease: Ubuntu 10.04
ExecutablePath: /usr/bin/alacarte
InterpreterPath: /usr/bin/python2.6
Package: alacarte 0.12.4-1ubuntu1
PackageArchitecture: all
ProcCmdline: /usr/bin/python -OOt /usr/bin/alacarte
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=C
ProcVersionSignature: Ubuntu 2.6.32-11.15-genUser Name
PythonArgs: ['/usr/bin/alacarte']
SourcePackage: alacarte
Title: alacarte crashed with AttributeError in split()
Uname: Linux 2.6.32-11-generic i686
UserGroups: adm admin cdrom dialout lpadmin netdev plugdev sambashare

Revision history for this message
Eric (weisscoder) wrote :
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 Ubuntu better. This particular crash has already been reported and is a duplicate of bug #147414, 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
visibility: private → public
Revision history for this message
Eric (weisscoder) wrote :

I do not think this is a duplicate of the above mentioned bug, as that was apparently fixed a long time ago.

tags: added: regression-release
tags: added: regression-potential
removed: regression-release
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

Changed in alacarte (Ubuntu):
status: New → Invalid
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.