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

Ok - if it is working in current stable versions, I am fine them
(yesterday I falied to build pygobject 2.28.6 on a first try, in a
clean prefix., will try harder later on).

On 29 November 2013 13:32, Daniel Sabo <danielsabo gmail com> wrote:
$ 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
params = Gegl.operation_list_properties("gegl:png-load")

(python:21947): GEGL-gegl-operations.c-WARNING **: Adding
GeglChantinvert-linear_c shadows GeglChantinvert_c for operation
/usr/lib64/python2.7/site-packages/gi/ Warning:
g_object_get_qdata: assertion 'G_IS_OBJECT (object)' failed
  return info.invoke(*args, **kwargs)
/usr/lib64/python2.7/site-packages/gi/ 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
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]