[Gimp-developer] No Lua or Python in Gimp 2.99



When I start a freshy pulled/compiled 2.99 on my Ubuntu 19.10, I get:

For Lua:

    luajit:
...mp/2.99/plug-ins/goat-exercise-lua/goat-exercise-lua.lua:22: module
'lgi' not found:
        no field package.preload['lgi']
        no file './lgi.lua'
        no file '/usr/share/luajit-2.1.0-beta3/lgi.lua'
        no file '/usr/local/share/lua/5.1/lgi.lua'
        no file '/usr/local/share/lua/5.1/lgi/init.lua'
        no file '/usr/share/lua/5.1/lgi.lua'
        no file '/usr/share/lua/5.1/lgi/init.lua'
        no file './lgi.so'
        no file '/usr/local/lib/lua/5.1/lgi.so'
        no file '/usr/lib/x86_64-linux-gnu/lua/5.1/lgi.so'
        no file '/usr/local/lib/lua/5.1/loadall.so'
    stack traceback:
        [C]: in function 'require'
...mp/2.99/plug-ins/goat-exercise-lua/goat-exercise-lua.lua:22: in main
chunk
        [C]: at 0x55864ba6d1d0
    GIMP-WARNING: gimp-2.99: gimp_wire_read(): error

As far as I can tell, I have lua5.1, liblua5.2-0:amd64, libluajit-5.1-2,
libluajit-5.1-common, lua5.1,luajit. I maybe missing lgi, but I cannot
find a  likely installation candidate for it?

For Python:

    Traceback (most recent call last):
    File
"/Gimp-dev/2.99/run/lib/x86_64-linux-gnu/gimp/2.99/plug-ins/goat-exercise-py3/goat-exercise-py3.py",
line 17, in <module>
        gi.require_version('Gimp', '3.0')
    File "/usr/lib/python3/dist-packages/gi/__init__.py", line 129, in
require_version
        raise ValueError('Namespace %s not available' % namespace)
    ValueError: Namespace Gimp not available

This looks more like an environment problem (path?)

Any hints?






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