Red Hat Bugzilla – Bug 1310302
[abrt] menulibre: MenulibreApplication.py:1421:add_launcher:TypeError: 'NoneType' object is not subscriptable
Last modified: 2016-11-24 14:41:48 EST
Description of problem:
1. Start menulibre
2. Unselect all entries by Ctrl-left click on the active entry
3. Click on "+" and select "Add launcher"
Version-Release number of selected component:
cmdline: /usr/bin/python3 /usr/bin/menulibre
runlevel: N 5
MenulibreApplication.py:1421:add_launcher:TypeError: 'NoneType' object is not subscriptable
Traceback (most recent call last):
File "/usr/lib/python3.4/site-packages/menulibre/MenulibreApplication.py", line 1632, in on_add_launcher_cb
File "/usr/lib/python3.4/site-packages/menulibre/MenulibreApplication.py", line 1421, in add_launcher
if row_data == MenuItemTypes.DIRECTORY:
TypeError: 'NoneType' object is not subscriptable
Local variables in innermost frame:
model: <TreeStore object at 0x7f09344defc0 (GtkTreeStore at 0x555612cbe2a0)>
icon: <ThemedIcon object at 0x7f09344e9048 (GThemedIcon at 0x555612bbe400)>
new_row_data: ['New Launcher', '', 0, <ThemedIcon object at 0x7f09344e9048 (GThemedIcon at 0x555612bbe400)>, 'application-default-icon', None]
self: <MenulibreWindow object at 0x7f09359b5dc8 (menulibre+MenulibreApplication+MenulibreWindow at 0x555612afcd00)>
name: 'New Launcher'
Created attachment 1128732 [details]
Created attachment 1128733 [details]
Hi Pavel. Thank you for the report. I am able to reproduce the problem and have submitted an update as version 2.1.2-4 to updates-testing. Please feel free to test it before it is pushed to the stable channel.
The new version fixes the crash. Unfortunately, two other issues are still present. I can select "Add launcher" without the selection, it's not disabled, but nothing happens. And the biggie - I don't see any way to create top-level launchers. Anyway, this bug is fixed, thank you!
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora 'version'
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.
Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 23 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.