Re: GIMP-2.99 terminal complaints: python3, not finding Gegl v0.4, exceptions/tracebacks, various plug-ins

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

 



On 9/5/19 9:11 AM, Øyvind Kolås wrote:
At least there is problems related to python / gobject introspection
not finding the Gegl-0.4.typelib, on my system that file is in
$PREFIX/lib/x86_64-linux-gnu/girepository-1.0 and that path has to be
added to the little documented GI_TYPELIB_PATH. Gobject-introspection
seem to be refined for system installed libraries/scripts, but there
are more hoops we have to run through for people that are building and
installing in custom prefixes.



Hi Pippin, and thanks! for the typelib hints. Sadly that didn't fix the terminal complaints, so maybe I'm still doing something wrong, or maybe more paths are needed, or maybe the code itself has issues.

On Debian Sid in my GIMP-2.99 prefix, the babl/GEGL typelibs are here:

   $PREFIX/lib/x86_64-linux-gnu/girepository-1.0/

and the GIMP typelib is here:

   $PREFIX/lib/girepository-1.0

Unfortunately, setting up my prefix like this:

PREFIX=$HOME/code-install/gimp299/install
export SRC_DIR=/home/elle/code-build/gimp299/build
export PATH=$PREFIX/bin:$PATH
export ACLOCAL_FLAGS="-I $PREFIX/share/aclocal"
export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$PREFIX/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH
export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH
export PKG_CONFIG_PATH=$PREFIX/lib/x86_64-linux-gnu:$PKG_CONFIG_PATH
export PKG_CONFIG_PATH=$PREFIX/lib/x86_64-linux-gnu/pkgconfig:$PKG_CONFIG_PATH
export PKG_CONFIG_PATH=$PREFIX/share/pkgconfig:$PKG_CONFIG_PATH
export GI_TYPELIB_PATH=$PREFIX/lib/x86_64-linux-gnu/girepository-1.0:$PKG_CONFIG_PATH
export GI_TYPELIB_PATH=$PREFIX/lib/girepository-1.0:$PKG_CONFIG_PATH
export XDG_DATA_DIRS="$XDG_DATA_DIRS:$PREFIX/share:/usr/local/share/:/usr/share/"

and then rebuilding/installing babl/GEGL/GIMP-2.99 from scratch,

and then running GIMP-2.99, still results in typelib errors printed to the terminal (the other errors disappeared after updating GIMP yesterday, so not related to these remaining errors). Any ideas on what still needs to be changed? Did I set up the prefix correctly? Anything else needed?

Maybe there's an issue in the plug-in code for the affected plug-ins?

Maybe the python-related errors mean something needs to be added for python?

Best,
Elle

Here's the terminal output on starting the rebuilt/installed babl/GEGL/GIMP-2.99

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gi/importer.py", line 138, in load_module
    introspection_module = get_introspection_module(namespace)
File "/usr/lib/python3/dist-packages/gi/module.py", line 265, in get_introspection_module
    module = IntrospectionModule(namespace, version)
  File "/usr/lib/python3/dist-packages/gi/module.py", line 117, in __init__
    repository.require(namespace, version)
gi.RepositoryError: Typelib file for namespace 'Gegl', version '0.4' not found

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/elle/code-install/gimp299/install/lib/gimp/2.99/plug-ins/spyro-plus/spyro-plus.py", line 20, in <module>
    from gi.repository import Gimp
File "/usr/lib/python3/dist-packages/gi/importer.py", line 140, in load_module
    raise ImportError(e)
ImportError: Typelib file for namespace 'Gegl', version '0.4' not found
GIMP-WARNING: gimp-2.99: gimp_wire_read(): error

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gi/importer.py", line 138, in load_module
    introspection_module = get_introspection_module(namespace)
File "/usr/lib/python3/dist-packages/gi/module.py", line 265, in get_introspection_module
    module = IntrospectionModule(namespace, version)
  File "/usr/lib/python3/dist-packages/gi/module.py", line 117, in __init__
    repository.require(namespace, version)
gi.RepositoryError: Typelib file for namespace 'Gegl', version '0.4' not found

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/elle/code-install/gimp299/install/lib/gimp/2.99/plug-ins/py-slice/py-slice.py", line 30, in <module>
    from gi.repository import Gimp
File "/usr/lib/python3/dist-packages/gi/importer.py", line 140, in load_module
    raise ImportError(e)
ImportError: Typelib file for namespace 'Gegl', version '0.4' not found
GIMP-WARNING: gimp-2.99: gimp_wire_read(): error

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gi/importer.py", line 138, in load_module
    introspection_module = get_introspection_module(namespace)
File "/usr/lib/python3/dist-packages/gi/module.py", line 265, in get_introspection_module
    module = IntrospectionModule(namespace, version)
  File "/usr/lib/python3/dist-packages/gi/module.py", line 117, in __init__
    repository.require(namespace, version)
gi.RepositoryError: Typelib file for namespace 'Gegl', version '0.4' not found

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/elle/code-install/gimp299/install/lib/gimp/2.99/plug-ins/palette-to-gradient/palette-to-gradient.py", line 18, in <module>
    from gi.repository import Gimp
File "/usr/lib/python3/dist-packages/gi/importer.py", line 140, in load_module
    raise ImportError(e)
ImportError: Typelib file for namespace 'Gegl', version '0.4' not found
GIMP-WARNING: gimp-2.99: gimp_wire_read(): error

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gi/importer.py", line 138, in load_module
    introspection_module = get_introspection_module(namespace)
File "/usr/lib/python3/dist-packages/gi/module.py", line 265, in get_introspection_module
    module = IntrospectionModule(namespace, version)
  File "/usr/lib/python3/dist-packages/gi/module.py", line 117, in __init__
    repository.require(namespace, version)
gi.RepositoryError: Typelib file for namespace 'Gegl', version '0.4' not found

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/elle/code-install/gimp299/install/lib/gimp/2.99/plug-ins/foggify/foggify.py", line 19, in <module>
    from gi.repository import Gimp
File "/usr/lib/python3/dist-packages/gi/importer.py", line 140, in load_module
    raise ImportError(e)
ImportError: Typelib file for namespace 'Gegl', version '0.4' not found
GIMP-WARNING: gimp-2.99: gimp_wire_read(): error

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gi/importer.py", line 138, in load_module
    introspection_module = get_introspection_module(namespace)
File "/usr/lib/python3/dist-packages/gi/module.py", line 265, in get_introspection_module
    module = IntrospectionModule(namespace, version)
  File "/usr/lib/python3/dist-packages/gi/module.py", line 117, in __init__
    repository.require(namespace, version)
gi.RepositoryError: Typelib file for namespace 'Gegl', version '0.4' not found

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/elle/code-install/gimp299/install/lib/gimp/2.99/plug-ins/palette-offset/palette-offset.py", line 18, in <module>
    from gi.repository import Gimp
File "/usr/lib/python3/dist-packages/gi/importer.py", line 140, in load_module
    raise ImportError(e)
ImportError: Typelib file for namespace 'Gegl', version '0.4' not found
GIMP-WARNING: gimp-2.99: gimp_wire_read(): error

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gi/importer.py", line 138, in load_module
    introspection_module = get_introspection_module(namespace)
File "/usr/lib/python3/dist-packages/gi/module.py", line 265, in get_introspection_module
    module = IntrospectionModule(namespace, version)
  File "/usr/lib/python3/dist-packages/gi/module.py", line 117, in __init__
    repository.require(namespace, version)
gi.RepositoryError: Typelib file for namespace 'Gegl', version '0.4' not found

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/elle/code-install/gimp299/install/lib/gimp/2.99/plug-ins/file-openraster/file-openraster.py", line 18, in <module>
    from gi.repository import Gimp
File "/usr/lib/python3/dist-packages/gi/importer.py", line 140, in load_module
    raise ImportError(e)
ImportError: Typelib file for namespace 'Gegl', version '0.4' not found
GIMP-WARNING: gimp-2.99: gimp_wire_read(): error

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gi/importer.py", line 138, in load_module
    introspection_module = get_introspection_module(namespace)
File "/usr/lib/python3/dist-packages/gi/module.py", line 265, in get_introspection_module
    module = IntrospectionModule(namespace, version)
  File "/usr/lib/python3/dist-packages/gi/module.py", line 117, in __init__
    repository.require(namespace, version)
gi.RepositoryError: Typelib file for namespace 'Gegl', version '0.4' not found

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/elle/code-install/gimp299/install/lib/gimp/2.99/plug-ins/python-console/python-console.py", line 21, in <module>
    from gi.repository import Gimp
File "/usr/lib/python3/dist-packages/gi/importer.py", line 140, in load_module
    raise ImportError(e)
ImportError: Typelib file for namespace 'Gegl', version '0.4' not found
GIMP-WARNING: gimp-2.99: gimp_wire_read(): error

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gi/importer.py", line 138, in load_module
    introspection_module = get_introspection_module(namespace)
File "/usr/lib/python3/dist-packages/gi/module.py", line 265, in get_introspection_module
    module = IntrospectionModule(namespace, version)
  File "/usr/lib/python3/dist-packages/gi/module.py", line 117, in __init__
    repository.require(namespace, version)
gi.RepositoryError: Typelib file for namespace 'Gegl', version '0.4' not found

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/elle/code-install/gimp299/install/lib/gimp/2.99/plug-ins/goat-exercise-py3/goat-exercise-py3.py", line 18, in <module>
    from gi.repository import Gimp
File "/usr/lib/python3/dist-packages/gi/importer.py", line 140, in load_module
    raise ImportError(e)
ImportError: Typelib file for namespace 'Gegl', version '0.4' not found
GIMP-WARNING: gimp-2.99: gimp_wire_read(): error

_______________________________________________
gimp-developer-list mailing list
List address:    gimp-developer-list@xxxxxxxxx
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list




[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux