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 680693 - ValueError: row sequence has the incorrect number of elements
ValueError: row sequence has the incorrect number of elements
Status: RESOLVED FIXED
Product: pygobject
Classification: Bindings
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
: 680324 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-07-27 08:19 UTC by Matthias Clasen
Modified: 2012-12-10 23:45 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Matthias Clasen 2012-07-27 08:19:59 UTC
Originally filed here: https://bugzilla.redhat.com/show_bug.cgi?id=842880

---

[root@sharpie ~]# cat << __EOF__ | python -
from gi.repository import Gtk
store = Gtk.ListStore(int, int)
store.append([1, 2])
__EOF__
Traceback (most recent call last):
  • File "<stdin>", line 1 in <module>
  • 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')
ValueError: row sequence has the incorrect number of elements

Comment 1 Matthias Clasen 2012-07-27 08:20:38 UTC
(this is on ppc64)
Comment 2 Paolo Borelli 2012-08-06 09:04:10 UTC
we will probably need help with these ppc64 specific bugs...

Does g-i testsuite pass? Does the pygobject testsuite pass?
Comment 3 Martin Pitt 2012-08-20 09:30:58 UTC
Fixed in trunk. Please see Fedora bug for the details of the discussion.

http://git.gnome.org/browse/pygobject/commit/?id=266d37719bb54e6f04d23ff21bcceb9514e20ff2
Comment 4 Kevin W Monroe 2012-12-10 23:45:08 UTC
*** Bug 680324 has been marked as a duplicate of this bug. ***