On 09-02-11 13:23, Adam Tauno Williams wrote:
Are there flags, etc... I can provide in/to a PyGTK application to
increase debugging messages? For example, when I start my app I see a
message -
main.py:27: Warning: unable to set property `text' of type `gchararray'
from value of type `PyObject'
gtk.main()
Which isn't terribly helpful.
When I run a certain dialog [designed in Glade, using Builder] I see a
message like -
Warning: unable to set property `text' of type `gchararray' from value
of type `PyObject'
self.dialog.run()
What is the best way to track down where these errors/warnings are
actually coming from?
Agreed that these aren't that useful, but they do give a hint on where
to look. Check your code where you try to set a property with type str
(gobject.TYPE_STRING) to an object (gobject.TYPE_PYOBJECT).
Cheers,
Timo
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/