[pygtk] gobject.Warnings with GtkTreeModelFilter
Darren Hart
darren at dvhart.com
Mon Sep 8 02:41:12 WST 2008
I've been running into this problem trying to eliminate an apparently harmless
Warning message from my application. It appears in a number of locations:
gui_datastores.py:66: Warning: unable to set property `text' of type
`gchararray' from value of type `PyObject'
braindump.py:259: Warning: unable to set property `text' of type
`gchararray' from value of type `PyObject'
gui_datastores.py:66 is running "f.refilter()" on a GtkTreeModelFilter
braindump.py:259 is running the ever so explicit "gtk.main()" :-(
I've loaded the app in the python debugger and set breakpoints at these lines
and have stepped through, but I never end up in the gtk or gobject code, so the
error has gone and went by the time I notice it. Two questions:
1) Does anyone know offhand why these errors occur?
2) How can I determine what the PyObject is that the Warnings refer to?
--
Darren Hart
More information about the pygtk
mailing list