Re: [Gimp-developer] pathon-scripts with GEGL?



$ python
Python 2.7.3 (default, Jul 24 2012, 11:41:40)
[GCC 4.6.3 20120306 (Red Hat 4.6.3-2)] on linux2
from gi.repository import Gegl
Gegl.init([])[]
params = Gegl.operation_list_properties("gegl:png-load")

(python:21947): GEGL-gegl-operations.c-WARNING **: Adding
GeglChantinvert-linear_c shadows GeglChantinvert_c for operation
gegl:invert
/usr/lib64/python2.7/site-packages/gi/types.py:43: Warning:
g_object_get_qdata: assertion 'G_IS_OBJECT (object)' failed
  return info.invoke(*args, **kwargs)
/usr/lib64/python2.7/site-packages/gi/types.py:43: Warning:
g_object_ref_sink: assertion 'G_IS_OBJECT (object)' failed
  return info.invoke(*args, **kwargs)

** (python:21947): CRITICAL **: pygobject_register_wrapper: assertion
'PyObject_TypeCheck(self, &PyGObject_Type)' failed
dir(params[0])
Segmentation fault (core dumped)
$

There are bugs is older versions of pygobject related to dir() and tab
completion in the interactive interpreter, I suspect you're hitting
one of those.

I can't replicate this crash when using pygobject 2.28.6 and
gobject-introspection 1.38.0, but I have seen similar issues on Ubuntu
12.04 which uses gobject-introspection 1.32.0.

The warning about "GeglChantinvert-linear_c shadows GeglChantinvert_c"
means you have old files in your $PREFIX/lib/gegl-0.3/ directory you
should probably delete.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]