PyGObject - GI - Adventure (was: TypeError: Expected GObject.Object, but got GObjectMeta)
- From: tomw <tomw ubilix com>
- To: python-hackers-list gnome org, gtk-devel-list gnome org
- Subject: PyGObject - GI - Adventure (was: TypeError: Expected GObject.Object, but got GObjectMeta)
- Date: Fri, 10 Feb 2012 15:44:15 +0100
Sorry folks, I don't want to spam the lists here but I thought it may be
interesting as I'm certainly not the only one running into these issues.
The original initialization issue was obviously coming from using static
bindings and GI in parallel (which worked in the past). Moving to newer
versions (pygobject 3.1.1 and gobject-introspection 1.31.10) it
obviously does not work any longer.
So, after moving ALL static bindings to GI it seems to work now. The
last obstacle I had to take was to port the code using the static gst
bindings to GI, which is tricky as quite a few methods are marked as
introspectable=0.
I'm not sure whether there would have been another way to solve this,
but at least it works.
cheers,
--
tomw <tomw ubilix com>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]