mate-desktop / mozo

Menu editor for MATE using the freedesktop.org menu specification
http://www.mate-desktop.org
GNU Lesser General Public License v2.1
28 stars 12 forks source link

MainWindow.py:89:loadUpdates:AttributeError: 'NoneType' object has no attribute 'get_selected' #22

Closed raveit65 closed 8 years ago

raveit65 commented 9 years ago

origin downstream report: https://bugzilla.redhat.com/show_bug.cgi?id=1202674

 v8414260 2015-03-17 03:59:58 EDT

Version-Release number of selected component:
mozo-1.8.0-2.fc21

Additional info:
reporter:       libreport-2.3.0
cmdline:        /usr/bin/python2.7 -OOt /usr/bin/mozo
executable:     /usr/bin/mozo
kernel:         3.18.9-200.fc21.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
MainWindow.py:89:loadUpdates:AttributeError: 'NoneType' object has no attribute 'get_selected'

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/Mozo/MainWindow.py", line 89, in loadUpdates
    items, iter = item_tree.get_selection().get_selected()
AttributeError: 'NoneType' object has no attribute 'get_selected'

Local variables in innermost frame:
item_tree: <gtk.TreeView object at 0x7f25e2a67dc0 (GtkTreeView at 0xe4c740)>
self: <Mozo.MainWindow.MainWindow instance at 0x7f25fb1218c0>
menu_tree: <gtk.TreeView object at 0x7f25e363ed20 (GtkTreeView at 0xe4c410)>

stacktrace from downstream report: https://bugzilla.redhat.com/attachment.cgi?id=1002672

infirit commented 9 years ago

This is probably fixed by https://github.com/infirit/mozo/commit/acf2f98ef3b07d837ee7520c650b8e2cc86e2a68

monsta commented 8 years ago

Looks like we can close it - I see that downstream report is closed and the update is mentioned there.

raveit65 commented 8 years ago

I asked XRaven about a while ago, we don't need this fix from infirit. Btw. i don't use this patch anymore in builds after gtk3 migration.

monsta commented 8 years ago

That's good :smile: