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 690463 - PyGobject makes a difference between GObject.ParamSpec and GObject.GParamSpec
PyGobject makes a difference between GObject.ParamSpec and GObject.GParamSpec
Status: RESOLVED DUPLICATE of bug 682355
Product: pygobject
Classification: Bindings
Component: gobject
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks: 682886
 
 
Reported: 2012-12-18 23:17 UTC by Thibault Saunier
Modified: 2012-12-19 02:23 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Thibault Saunier 2012-12-18 23:17:05 UTC
In the GSTreamer Editing Services we have this API:

void ges_track_object_get_child_property_by_pspec (GESTrackObject * object, GParamSpec * pspec, GValue * value)

When trying to call it from PyGObject we get:

  • File "/home/thiblahute/devel/pitivi/1.0-uninstalled/pygobject/gi/types.py", line 47 in function
    return info.invoke(*args, **kwargs)
TypeError: argument pspec: Expected GObject.ParamSpec, but got gobject.GParamSpec

The only other API in GObject that is somehow similare is g_object_notify_by_pspec but it is currently disable (probably for that reason?) so I didn't find how to make a quick sample to help you reproduce. I guess you can figure out what is wrong even without reproducing anyway and you could prbably use that GObject method from within the testsuite.

Thanks for letting me know what other information you need.
Comment 1 Simon Feltman 2012-12-19 02:23:40 UTC
Hi, this looks like the same problem as bug 682355 which is also dependent on bug 631901.

*** This bug has been marked as a duplicate of bug 682355 ***