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 680324 - Gtk.py error on startup: ValueError: row sequence has the incorrect number of elements
Gtk.py error on startup: ValueError: row sequence has the incorrect number of...
Status: RESOLVED DUPLICATE of bug 680693
Product: gnome-tweak-tool
Classification: Applications
Component: general
3.4.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME Tweak Tool maintainer(s)
GNOME Tweak Tool maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2012-07-20 15:31 UTC by Kevin W Monroe
Modified: 2012-12-10 23:45 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Kevin W Monroe 2012-07-20 15:31:53 UTC
I'm running gnome3 on fedora 17 and see a Gtk.py error that prevents gnome-tweak-tool from launching. This is a powerpc box, so not a standard architecture, but I haven't noticed any other python apps that crash. Package version and stacktrace:

[root@devbox overrides]# rpm -q pygobject3 gnome-tweak-tool
pygobject3-3.2.2-1.fc17.ppc64
gnome-tweak-tool-3.4.0.1-2.fc17.noarch

[root@devbox overrides]# gnome-tweak-tool 

(gnome-tweak-tool:1330): Gtk-CRITICAL **: gtk_list_store_set_sort_column_id: assertion `header != NULL' failed

(gnome-tweak-tool:1330): Gtk-CRITICAL **: gtk_list_store_set_sort_column_id: assertion `header != NULL' failed
Traceback (most recent call last):
  • File "/bin/gnome-tweak-tool", line 76 in <module>
    MainWindow()
  • File "/usr/lib/python2.7/site-packages/gtweak/mainwindow.py", line 44 in __init__
    model)
  • File "/usr/lib/python2.7/site-packages/gtweak/tweakview.py", line 40 in __init__
    self._model.load_tweaks()
  • File "/usr/lib/python2.7/site-packages/gtweak/tweakmodel.py", line 135 in load_tweaks
    mods = __import__("gtweak.tweaks", globals(), locals(), tweak_files, 0)
  • File "/usr/lib/python2.7/site-packages/gtweak/tweaks/tweak_windows.py", line 42 in <module>
    WindowThemeSwitcher(group_name=TWEAK_GROUP_THEME),
  • File "/usr/lib/python2.7/site-packages/gtweak/tweaks/tweak_windows.py", line 32 in __init__
    **options)
  • File "/usr/lib/python2.7/site-packages/gtweak/widgets.py", line 208 in __init__
    *key_options)
  • File "/usr/lib/python2.7/site-packages/gtweak/widgets.py", line 80 in build_combo_box_text
    _iter = store.append( (val, name) )
  • File "/usr/lib64/python2.7/site-packages/gi/overrides/Gtk.py", line 979 in append
    return self._do_insert(-1, row)
  • File "/usr/lib64/python2.7/site-packages/gi/overrides/Gtk.py", line 970 in _do_insert
    row, columns = self._convert_row(row)
  • File "/usr/lib64/python2.7/site-packages/gi/overrides/Gtk.py", line 823 in _convert_row
    raise ValueError("row sequence has the incorrect number of elements %s and %s" % (len(row), n_columns))
ValueError: row sequence has the incorrect number of elements 2 and 0

Note I altered that last ValueError to show the row length and n_columns that were being compared.  As you can see, 2 != 0, which prevents gnome-tweak-tool from starting.
Comment 1 Kevin W Monroe 2012-12-10 23:45:08 UTC
Fixed in bug 680693 and available from fedora with pygobject3-3.2.2-6.fc17.

*** This bug has been marked as a duplicate of bug 680693 ***