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 719488 - AttributeError: 'TreeStore' object has no attribute 'insert_with_values'
AttributeError: 'TreeStore' object has no attribute 'insert_with_values'
Status: RESOLVED DUPLICATE of bug 713044
Product: pygobject
Classification: Bindings
Component: gobject
3.11.x
Other Linux
: Normal major
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2013-11-28 12:54 UTC by Giuseppe Scrivano
Modified: 2013-12-01 23:39 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
reproducer (132 bytes, text/x-python)
2013-11-28 12:54 UTC, Giuseppe Scrivano
Details

Description Giuseppe Scrivano 2013-11-28 12:54:18 UTC
Created attachment 263020 [details]
reproducer

an user originally reported this problem for virt-manager:

https://bugzilla.redhat.com/show_bug.cgi?id=1024569 

It seems that the problem is in Gtk.TreeStore.append method.

I've attached a reproducer script and this is the traceback I get:

Traceback (most recent call last):
  • File "/tmp/tree.py", line 4 in <module>
    store.append(None, ["hello"])
  • File "/usr/lib64/python2.7/site-packages/gi/overrides/Gtk.py", line 1194 in append
    return self._do_insert(parent, -1, row)
  • File "/usr/lib64/python2.7/site-packages/gi/overrides/Gtk.py", line 1187 in _do_insert
    treeiter = self.insert_with_values(parent, position, columns, row)
AttributeError: 'TreeStore' object has no attribute 'insert_with_values'


This is the pygobject version I have installed:

pygobject3.x86_64                      3.11.1-1.fc21            @rawhide/rawhide
pygobject3-base.x86_64                 3.11.1-1.fc21            @rawhide/rawhide
Comment 1 Simon Feltman 2013-12-01 23:26:56 UTC
This is caused by an out of date GObject-Introspection not picking up the new syntax for "rename-to" used in GTK+. Updating GI should fix the problem.

*** This bug has been marked as a duplicate of bug 711341 ***
Comment 2 Simon Feltman 2013-12-01 23:39:28 UTC
Changing to resolved as duplicate of needed version bump.

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