After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 643019 - gmenu-simple-editor bails out with TypeError after porting to pygobject-based introspection
gmenu-simple-editor bails out with TypeError after porting to pygobject-based...
Status: RESOLVED FIXED
Product: gnome-menus
Classification: Core
Component: general
2.91.x
Other Linux
: Normal major
: ---
Assigned To: gnome-menus dummy account
gnome-menus dummy account
Depends on:
Blocks:
 
 
Reported: 2011-02-22 23:29 UTC by Jan de Groot
Modified: 2011-02-23 01:56 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jan de Groot 2011-02-22 23:29:54 UTC
gmenu-simple-editor from gnome-menus 2.91.6 prints this backtrace on startup:

Traceback (most recent call last):
  • File "/usr/bin/gmenu-simple-editor", line 28 in <module>
    GMenuSimpleEditor.main.main (sys.argv[1:])
  • File "/usr/lib/python2.7/site-packages/GMenuSimpleEditor/main.py", line 49 in main
    dialog = maindialog.MenuEditorDialog (args)
  • File "/usr/lib/python2.7/site-packages/GMenuSimpleEditor/maindialog.py", line 44 in __init__
    self.menu_tree_model = menutreemodel.MenuTreeModel (menu_files)
  • File "/usr/lib/python2.7/site-packages/GMenuSimpleEditor/menutreemodel.py", line 116 in __init__
    self.__append_directory (tree.root, None, False, menu_file)
  • File "/usr/lib/python2.7/site-packages/GMenuSimpleEditor/menutreemodel.py", line 127 in __append_directory
    (has_iter, iter) = self.iter_children (parent_iter)
TypeError: 'NoneType' object is not iterable

This used to work in 2.32.x when it used PyGTK still.
Comment 1 Vincent Untz 2011-02-23 01:56:03 UTC
Thanks, fixed. PyGI changed some API...