GNOME Bugzilla – Bug 671569
Introspection bindings pass None as message to the signal cb method
Last modified: 2012-03-07 16:32:23 UTC
Created attachment 209180 [details] working Gtk2 example I am porting a python program using gstreamer and the espeak plugin, to do text to speech from Gtk2 to Gtk3. The same code with the introspection bindings receive None in the message parameter when receive a message from the plugin through the gstreamer bus. I have prepared two minimal examples to show the problem, just need start and click the "Play/Resume" button.
Created attachment 209181 [details] non working Gtk3 example
A comment about the gtk3 code: I have used the 'message' signal because 'message::element' is not triggered.
Sorry, that's not going to work. Also see http://jeff.ecchi.ca/blog/2012/02/28/y-u-no-gtk3-yet/ *** This bug has been marked as a duplicate of bug 631901 ***
Thanks. There are other option than stay in GTK2? Is planned to be working in F17?
You'll have to take it up with the gobject-introspection / pygi people I'm afraid. There is nothing we can do in GStreamer (0.10) to fix this. It has to be done on their end. The alternative is to go for the still-in-development GStreamer 0.11, which should work fine (mostly) with pygi and pygtk3, but you'd probably need to port that espeak plugin then, and you'd be living on the edge, since no distros ship that yet, and won't for a while, so it's rather hasslesome.