Your message dated Mon, 16 Sep 2013 20:21:49 -0500
with message-id <20130917012148.ga4...@piware.de>
and subject line Re: Bug#702504: python-gi: none
has caused the Debian Bug report #702504,
regarding python-gi: none
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
702504: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=702504
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python-gi
Version: 3.2.2-2
Severity: normal

Dear Maintainer,

The user_data property of the TreeIter is always set to None, when returning it 
from the do_get_iter function. Here a minimal example:

from gi.repository import Gtk, GObject 

class Model(GObject.Object, Gtk.TreeModel):
    def do_get_iter(self, path):
        it = Gtk.TreeIter()
        it.user_data = 23
        return (True, it)
    def do_get_value(self, it, column):
        return it.user_data

m = Model()
it = m.get_iter_first()
it.user_data  # returns None
m.get_value(it, 0)  # returns None

Bug seems to be known and fixed in newer versions, see also: 
http://old.nabble.com/Problem-understanding-how-to-port-GenericTreeModel-to-gi-td34846802.html


-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-gi depends on:
ii  gir1.2-glib-2.0        1.32.1-1
ii  libc6                  2.13-38
ii  libffi5                3.0.10-3
ii  libgirepository-1.0-1  1.32.1-1
ii  libglib2.0-0           2.33.12+really2.32.4-5
ii  python                 2.7.3-4

python-gi recommends no packages.

Versions of packages python-gi suggests:
ii  python-gi-cairo  3.2.2-2

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 3.4.0-1

deb...@gmx.com [2013-03-07 15:27 +0100]:
> The user_data property of the TreeIter is always set to None, when
> returning it from the do_get_iter function. Here a minimal example:

This was fixed long ago, closing. Thanks for your report!

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

--- End Message ---

Reply via email to