AttributeError when moving unsaved launcher

Bug #1349763 reported by Sean Davis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MenuLibre
Fix Released
High
Unassigned
menulibre (Ubuntu)
New
Undecided
Unassigned
Trusty
New
Undecided
Unassigned

Bug Description

If a launcher has not yet been saved, moving it will create the following crash:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/menulibre/MenulibreApplication.py", line 2006, in move_iter
    sibling_iter, relative_position)
  File "/usr/lib/python3/dist-packages/menulibre/MenulibreApplication.py", line 2103, in move_iter_down_level
    self.xdg_menu_install(model, new_iter, filename)
  File "/usr/lib/python3/dist-packages/menulibre/MenulibreApplication.py", line 2346, in xdg_menu_install
    if filename.endswith('.desktop'):
AttributeError: 'NoneType' object has no attribute 'endswith'

Related branches

Sean Davis (bluesabre)
Changed in menulibre:
importance: Undecided → High
Sean Davis (bluesabre)
Changed in menulibre:
status: New → Fix Committed
Sean Davis (bluesabre)
Changed in menulibre:
milestone: none → 2.0.5
status: Fix Committed → Fix Released
Revision history for this message
Chris J Arges (arges) wrote :

Hi,
Can you please fill in the SRU template to make this easier to review? Also please ensure this is fixed in the latest development release and mark the bug appropriately.
Thanks,

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.