bluesabre / menulibre

MenuLibre is an advanced menu editor that provides modern features in a clean, easy-to-use interface.
https://bluesabre.org/menulibre
GNU General Public License v3.0
212 stars 17 forks source link

LP#1349763 "AttributeError when moving unsaved launcher" #117

Open github-actions[bot] opened 2 years ago

github-actions[bot] commented 2 years ago

Reported first on Launchpad at https://bugs.launchpad.net/ubuntu/+source/menulibre/+bug/1349763

github-actions[bot] commented 2 years ago

LP#0: Sean Davis (bluesabre) wrote on 2014-07-29:

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'

github-actions[bot] commented 2 years ago

LP#1: Chris J Arges (arges) wrote on 2014-10-20:

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,