AttributeError when moving unsaved launcher

Bug #1349763 reported by Sean Davis on 2014-07-29
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MenuLibre
High
Unassigned
menulibre (Ubuntu)
Undecided
Unassigned
Trusty
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) on 2014-07-29
Changed in menulibre:
importance: Undecided → High
Sean Davis (bluesabre) on 2014-08-03
Changed in menulibre:
status: New → Fix Committed
Sean Davis (bluesabre) on 2014-08-08
Changed in menulibre:
milestone: none → 2.0.5
status: Fix Committed → Fix Released
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  Edit
Everyone can see this information.

Other bug subscribers