GObject set property warnings
Reported by Darren Hart | November 25th, 2008 @ 06:43 PM | in BrainDump 1.0
BrainDump prints several warnings like the following. They are often, but not always, associated with the treeview models, either setting them or refiltering them.
/usr/lib/python2.5/site-packages/braindump/gui/widgets.py:584:
Warning: unable to set property text' of
type
gchararray' from value of type PyObject'
self.widget.set_model(model)
I tried to trace this in the python debugger but quickly ran into the gobject C code and didn't see how to proceed from there...
Comments and changes to this ticket
-
Darren Hart November 25th, 2008 @ 06:45 PM
- Milestone set to BrainDump 1.0
-
Darren Hart November 25th, 2008 @ 06:50 PM
- State changed from new to open
-
Darren Hart July 26th, 2009 @ 09:15 PM
- State changed from open to resolved
- Tag set to defect
- Assigned user set to Darren Hart
Fixed w/ commit 6ab532669fea14ae28f6f04a90eb9761d79f71d5 "Reset combobox attributes". Glade does some initial setup of the widget before we get to it and make it PyObject unfriendly... been thinking about ditching Glade anyway.... Anyway, combobox.clear() seems to do the trick in the wrapped classes' init routines.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A context based task management system.