After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 671569 - Introspection bindings pass None as message to the signal cb method
Introspection bindings pass None as message to the signal cb method
Status: RESOLVED DUPLICATE of bug 631901
Product: GStreamer
Classification: Platform
Component: gst-python
0.10.35
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-03-07 16:01 UTC by Gonzalo Odiard
Modified: 2012-03-07 16:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
working Gtk2 example (1.76 KB, text/x-python)
2012-03-07 16:01 UTC, Gonzalo Odiard
Details
non working Gtk3 example (1.94 KB, text/x-python)
2012-03-07 16:02 UTC, Gonzalo Odiard
Details

Description Gonzalo Odiard 2012-03-07 16:01:56 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.
Comment 1 Gonzalo Odiard 2012-03-07 16:02:39 UTC
Created attachment 209181 [details]
non working Gtk3 example
Comment 2 Gonzalo Odiard 2012-03-07 16:10:21 UTC
A comment about the gtk3 code:
I have used the 'message' signal because 'message::element' is not triggered.
Comment 3 Tim-Philipp Müller 2012-03-07 16:15:18 UTC
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 ***
Comment 4 Gonzalo Odiard 2012-03-07 16:27:05 UTC
Thanks.

There are other option than stay in GTK2? 

Is planned to be working in F17?
Comment 5 Tim-Philipp Müller 2012-03-07 16:32:23 UTC
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.