Re: [Gimp-developer] darktable plugin does not work



Done another attempt.
If I launch
dofile('/usr/share/gimp/2.0/file-raw/file-darktable-export-on-exit.lua')
from a lua shell I obtain a lot of messages:
.../gimp/2.0/file-raw/file-darktable-export-on-exit.lua:32: module
'darktable' not found:
        no field package.preload['darktable']
        no file './darktable.lua'
        no file '/usr/local/share/lua/5.1/darktable.lua'
        no file '/usr/local/share/lua/5.1/darktable/init.lua'
        no file '/usr/local/lib64/lua/5.1/darktable.lua'
        no file '/usr/local/lib64/lua/5.1/darktable/init.lua'
        no file '/usr/share/lua/5.1/darktable.lua'
        no file '/usr/share/lua/5.1/darktable/init.lua'
        no file './darktable.so'
        no file '/usr/local/lib64/lua/5.1/darktable.so'
        no file '/usr/lib64/lua/5.1/darktable.so'
        no file '/usr/local/lib64/lua/5.1/loadall.so'
stack traceback:
        [C]: in function 'require'
        .../gimp/2.0/file-raw/file-darktable-export-on-exit.lua:32: in main
chunk
        [C]: in function 'dofile'
        stdin:1: in main chunk
        [C]: ?


Il giorno ven 12 apr 2019 alle ore 23:21 Maurizio Paglia <mpaglia0 gmail com>
ha scritto:

Hi,
last tests results:

When dt is open with the black window there is no consumption of both RAM
and CPU

If I launch
mau@Zurg:~> darktable -d lua --library :memory: --luacmd
dofile('/usr/share/gimp/2.0/file-raw/file-darktable-export-on-exit.lua')

the terminal says
syntax error rean unexpected token "("

:-(
Maurizio




Il giorno ven 12 apr 2019 alle ore 12:01 Tobias Ellinghaus <houz gmx de>
ha scritto:

Am Donnerstag, 11. April 2019, 18:25:52 CEST schrieb Maurizio Paglia:
Ciao,
here below messages I see when I try to open a raw file

[file-darktable.c] trying to call
    darktable
    --library

    :memory:
    --luacmd

 dofile('/usr/share/gimp/2.0/file-raw/file-darktable-export-on-exit.lua')
--conf
    plugins/lighttable/export/icctype=3
    --conf

 lua/export_on_exit/export_filename=/tmp/gimp/2.10/gimp-temp-39040.exr
    /home/mau/Immagini/Archivio/2016-04 Mantova/_DSC0174.NEF

That looks fine.

Now dt window is opened but completely black.

Does dt consume CPU while sitting there?

I force closing using the window bar.
Other messages after dt window is killed

[GTK css errors]

Do you maybe have a version of dt that was compiled for another version
of GTK
than what you have installed? Maybe something that was intended for
another
release of your distro?

That being said, could you try to run the same command as lined out in
the top
of the mail? With all the --conf arguments, ...? Maybe add a "-d lua" to
it,
too.

Thank you again,
Maurizio

Tobias

PS: No need to mail me directly, I am on the mailing list.

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




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