RSS/Atom feed Twitter
Site is read-only, email is disabled

darktable plugin does not work

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

21 of 25 messages available
Toggle history

Please log in to manage your subscriptions.

darktable plugin does not work Maurizio Paglia via gimp-developer-list 09 Apr 06:09
  CAPdO9EUtMWQN82-i=4spg68yQ7... 18 Apr 13:23
   CAPdO9EUsTqv+_e7hSnXtBJFbp1... 18 Apr 13:23
    darktable plugin does not work Tobias Ellinghaus 18 Apr 13:22
     darktable plugin does not work Maurizio Paglia via gimp-developer-list 18 Apr 14:17
      darktable plugin does not work Tobias Ellinghaus 18 Apr 15:59
       darktable plugin does not work Maurizio Paglia via gimp-developer-list 18 Apr 20:25
  20473036.E2kDUBgY8M@liber 20 Apr 12:14
   CAPdO9EWxQ-oBn=Vh1q-o4G9L2T... 20 Apr 12:14
    darktable plugin does not work Tobias Ellinghaus 20 Apr 12:14
     darktable plugin does not work Maurizio Paglia via gimp-developer-list 20 Apr 12:49
      darktable plugin does not work Maurizio Paglia via gimp-developer-list 20 Apr 18:00
       darktable plugin does not work Maurizio Paglia via gimp-developer-list 21 Apr 20:06
  darktable plugin does not work Tobias Ellinghaus 09 Apr 07:32
   darktable plugin does not work Maurizio Paglia via gimp-developer-list 09 Apr 09:29
    darktable plugin does not work Tobias Ellinghaus 09 Apr 20:34
     darktable plugin does not work Maurizio Paglia via gimp-developer-list 09 Apr 21:08
      darktable plugin does not work Tobias Ellinghaus 11 Apr 07:22
       darktable plugin does not work Maurizio Paglia via gimp-developer-list 11 Apr 16:25
        darktable plugin does not work Tobias Ellinghaus 12 Apr 10:00
         darktable plugin does not work Maurizio Paglia via gimp-developer-list 12 Apr 21:21
          darktable plugin does not work Maurizio Paglia via gimp-developer-list 13 Apr 14:05
  darktable plugin does not work Tobias Jakobs via gimp-developer-list 09 Apr 09:55
   darktable plugin does not work Maurizio Paglia via gimp-developer-list 09 Apr 11:22
    darktable plugin does not work Paka 09 Apr 12:04
Maurizio Paglia via gimp-developer-list
2019-04-09 06:09:07 UTC (almost 5 years ago)

darktable plugin does not work

Since some time I cannot open raw files from GIMP. darktable is correctly selected as raw plugin from the preference window but - when I try to open a .NEF file - darktable starts but its window remains black and hangs.
When dt window is killed GIMP says the Nikon import plugin failed. I also launched GIMP from a terminal but cannot see any useful message...

Thanks, Maurizio

Tobias Ellinghaus
2019-04-09 07:32:07 UTC (almost 5 years ago)

darktable plugin does not work

Am Dienstag, 9. April 2019, 08:09:07 CEST schrieb Maurizio Paglia via gimp- developer-list:

Since some time I cannot open raw files from GIMP. darktable is correctly selected as raw plugin from the preference window but - when I try to open a .NEF file - darktable starts but its window remains black and hangs.
When dt window is killed GIMP says the Nikon import plugin failed. I also launched GIMP from a terminal but cannot see any useful message...

Does starting darktable directly, i.e., stand alone, work?

Thanks,
Maurizio

Tobias

Maurizio Paglia via gimp-developer-list
2019-04-09 09:29:04 UTC (almost 5 years ago)

darktable plugin does not work

Yes, sure! It works well as usual.

Il giorno mar 9 apr 2019 alle ore 09:32 Tobias Ellinghaus ha scritto:

Am Dienstag, 9. April 2019, 08:09:07 CEST schrieb Maurizio Paglia via gimp- developer-list:

Since some time I cannot open raw files from GIMP. darktable is correctly selected as raw plugin from the preference window but - when I try to open a .NEF file - darktable starts but its window remains black and hangs.
When dt window is killed GIMP says the Nikon import plugin failed. I also launched GIMP from a terminal but cannot see any useful message...

Does starting darktable directly, i.e., stand alone, work?

Thanks,
Maurizio

Tobias_______________________________________________ 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

Tobias Jakobs via gimp-developer-list
2019-04-09 09:55:24 UTC (almost 5 years ago)

darktable plugin does not work

Hi,

then the usual questions: Gimp version?
Darktable version?
Operating System and Version?
If Linux X11 or Wayland?
Any thing else, that could help.

Regards, Tobias

Am Di., 9. Apr. 2019 um 08:09 Uhr schrieb Maurizio Paglia via gimp-developer-list :

Since some time I cannot open raw files from GIMP. darktable is correctly selected as raw plugin from the preference window but - when I try to open a .NEF file - darktable starts but its window remains black and hangs.
When dt window is killed GIMP says the Nikon import plugin failed. I also launched GIMP from a terminal but cannot see any useful message...

Thanks, Maurizio
_______________________________________________ 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

Maurizio Paglia via gimp-developer-list
2019-04-09 11:22:57 UTC (almost 5 years ago)

darktable plugin does not work

Hi Tobias,
please apologize for my poor accuracy... you are right. GIMP 2.10.10
darktable 2.6.2
OS Linux
Open SuSe Leap 15
X11 graphics

I upgraded GIMP yesterday from 2.10.4 to 2.10.10 and changed also the repository furnisher (from 'graphics' to 'opensuseitalia') but the problem was there also with GIMP 2.10.4 from 'graphics' repository.

Thanks!! Maurizio

Il giorno mar 9 apr 2019 alle ore 11:55 Tobias Jakobs < tobias.jakobs@gmail.com> ha scritto:

Hi,

then the usual questions: Gimp version?
Darktable version?
Operating System and Version?
If Linux X11 or Wayland?
Any thing else, that could help.

Regards, Tobias

Am Di., 9. Apr. 2019 um 08:09 Uhr schrieb Maurizio Paglia via gimp-developer-list :

Since some time I cannot open raw files from GIMP. darktable is correctly selected as raw plugin from the preference window but - when I try to open a .NEF file - darktable starts but its window remains black and hangs.
When dt window is killed GIMP says the Nikon import plugin failed. I also launched GIMP from a terminal but cannot see any useful message...

Thanks, Maurizio
_______________________________________________ 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

Paka
2019-04-09 12:04:17 UTC (almost 5 years ago)

darktable plugin does not work

* Maurizio Paglia via gimp-developer-list [04-09-19 07:25]:

Hi Tobias,
please apologize for my poor accuracy... you are right. GIMP 2.10.10
darktable 2.6.2
OS Linux
Open SuSe Leap 15
X11 graphics

I upgraded GIMP yesterday from 2.10.4 to 2.10.10 and changed also the repository furnisher (from 'graphics' to 'opensuseitalia') but the problem was there also with GIMP 2.10.4 from 'graphics' repository.

Thanks!! Maurizio

Il giorno mar 9 apr 2019 alle ore 11:55 Tobias Jakobs < tobias.jakobs@gmail.com> ha scritto:

Hi,

then the usual questions: Gimp version?
Darktable version?
Operating System and Version?
If Linux X11 or Wayland?
Any thing else, that could help.

Regards, Tobias

fwiw, I see the same

openSUSE Tumbleweed 20190403 gimp 2.10.10
darktable 2.7.0 git904.5db9e6d26-1135

and it did work at one time but has been several months ago.

I can provide a backtrace if needed as the failure is consistant.

(paka)Patrick Shanahan       Plainfield, Indiana, USA          @ptilopteri
http://en.opensuse.org    openSUSE Community Member    facebook/ptilopteri
Registered Linux User #207535                    @ http://linuxcounter.net
Photos: http://wahoo.no-ip.org/piwigo		    paka @ IRCnet freenode
Tobias Ellinghaus
2019-04-09 20:34:49 UTC (almost 5 years ago)

darktable plugin does not work

Am Dienstag, 9. April 2019, 11:29:04 CEST schrieb Maurizio Paglia:

Yes, sure! It works well as usual.

Well, then please try running GIMP like this:

DARKTABLE_DEBUG=green_is_my_pepper gimp

That should show some more debug prints.

Tobias

Il giorno mar 9 apr 2019 alle ore 09:32 Tobias Ellinghaus ha

scritto:

Am Dienstag, 9. April 2019, 08:09:07 CEST schrieb Maurizio Paglia via gimp-

developer-list:

Since some time I cannot open raw files from GIMP. darktable is correctly selected as raw plugin from the preference window but - when I try to open a .NEF file - darktable starts but its window remains black and hangs.
When dt window is killed GIMP says the Nikon import plugin failed. I also launched GIMP from a terminal but cannot see any useful message...

Does starting darktable directly, i.e., stand alone, work?

Thanks,
Maurizio

Tobias_______________________________________________ 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

Maurizio Paglia via gimp-developer-list
2019-04-09 21:08:54 UTC (almost 5 years ago)

darktable plugin does not work

Ciao Tobias,
here below the output for your knowledge.

mau@Zurg:~> DARKTABLE_DEBUG=green_is_my_pepper gimp Skipping duplicate plug-in: '/usr/lib64/gimp/2.0/plug-ins/gmic_gimp_qt' [file-darktable.c] trying to call 'darktable' [file-darktable.c] stdout:
this is darktable 2.6.2
copyright (c) 2009-2019 johannes hanika darktable-dev@lists.darktable.org

compile options: bit depth is 64 bit
normal build
SSE2 optimized codepath enabled
OpenMP support enabled
OpenCL support enabled
Lua support enabled, API version 5.0.1 Colord support enabled
gPhoto2 support enabled
GraphicsMagick support enabled
OpenEXR support enabled

[file-darktable.c] have_darktable: 1

Good night! Maurizio

Il giorno mar 9 apr 2019 alle ore 22:35 Tobias Ellinghaus ha scritto:

Am Dienstag, 9. April 2019, 11:29:04 CEST schrieb Maurizio Paglia:

Yes, sure! It works well as usual.

Well, then please try running GIMP like this:

DARKTABLE_DEBUG=green_is_my_pepper gimp

That should show some more debug prints.

Tobias

Il giorno mar 9 apr 2019 alle ore 09:32 Tobias Ellinghaus

ha

scritto:

Am Dienstag, 9. April 2019, 08:09:07 CEST schrieb Maurizio Paglia via gimp-

developer-list:

Since some time I cannot open raw files from GIMP. darktable is correctly selected as raw plugin from the preference

window

but - when I try to open a .NEF file - darktable starts but its

window

remains black and hangs.
When dt window is killed GIMP says the Nikon import plugin failed. I also launched GIMP from a terminal but cannot see any useful message...

Does starting darktable directly, i.e., stand alone, work?

Thanks,
Maurizio

Tobias_______________________________________________ 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

_______________________________________________ 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

Tobias Ellinghaus
2019-04-11 07:22:18 UTC (almost 5 years ago)

darktable plugin does not work

Am Dienstag, 9. April 2019, 23:08:54 CEST schrieb Maurizio Paglia:

Ciao Tobias,
here below the output for your knowledge.

[...]

[file-darktable.c] have_darktable: 1

That looks good. Is there any more if you try to open a raw file from GIMP?

Good night!
Maurizio

Tobias

[...]

Maurizio Paglia via gimp-developer-list
2019-04-11 16:25:52 UTC (almost 5 years ago)

darktable plugin does not work

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

Now dt window is opened but completely black. I force closing using the window bar. Other messages after dt window is killed

(darktable:3943): Gtk-WARNING **: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version

(darktable:3943): Gtk-WARNING **: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version

(darktable:3943): Gtk-WARNING **: Theme parsing error: gtk.css:71:36: The style property GtkCheckMenuItem:indicator-size is deprecated and shouldn't be used anymore. It will be removed in a future version

(darktable:3943): Gtk-WARNING **: Theme parsing error: gtk.css:76:30: The style property GtkExpander:expander-size is deprecated and shouldn't be used anymore. It will be removed in a future version

Thank you again, Maurizio

Il giorno gio 11 apr 2019 alle ore 09:22 Tobias Ellinghaus ha scritto:

Am Dienstag, 9. April 2019, 23:08:54 CEST schrieb Maurizio Paglia:

Ciao Tobias,
here below the output for your knowledge.

[...]

[file-darktable.c] have_darktable: 1

That looks good. Is there any more if you try to open a raw file from GIMP?

Good night!
Maurizio

Tobias

[...]_______________________________________________ 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

Tobias Ellinghaus
2019-04-12 10:00:46 UTC (almost 5 years ago)

darktable plugin does not work

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.

[...]

Maurizio Paglia via gimp-developer-list
2019-04-12 21:21:21 UTC (almost 5 years ago)

darktable plugin does not work

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 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

Maurizio Paglia via gimp-developer-list
2019-04-13 14:05:55 UTC (almost 5 years ago)

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 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 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

Tobias Ellinghaus
2019-04-18 13:22:45 UTC (almost 5 years ago)

darktable plugin does not work

Am Dienstag, 16. April 2019, 19:38:46 CEST schrieb Maurizio Paglia:

Ciao Tobias,
it works BUT I must remove tre space from the dir name i.e. change "2016-04 Mantova" in "2016-04_Mantova"

Sorry, my bad, the spaces are of course a problem when starting it from the shell directly. That shouldn't matter for the GIMP case though.

If I do this I can fount foo.exr in /tmp

Good. That still leaves the question what is happening when darktable turns black. Do you know how to attach gdb to a running process and get a backtrace?

Thanks,
Maurizio

Tobias

Il giorno mar 16 apr 2019 alle ore 11:52 Maurizio Paglia

ha scritto:

Thank you, I will try this evening at home. Just for your information, yesterday evening I opened a new thread on opensuse forum and discovered several users have the same problem on both Leap and Tumbleweed.
Ciao,
Maurizio

Il giorno mar 16 apr 2019 alle ore 10:30 Tobias Ellinghaus

ha scritto:

Am Freitag, 12. April 2019, 23:21:21 CEST schrieb Maurizio Paglia via gimp-

developer-list:

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 "("

Please try it like this:

darktable -d lua --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/foo.exr /home/mau/
Immagini/Archivio/2016-04 Mantova/_DSC0174.NEF

In theory it should export to /tmp/foo.exr once you close darktable.

:-(

Maurizio

Tobias

Maurizio Paglia via gimp-developer-list
2019-04-18 14:17:26 UTC (almost 5 years ago)

darktable plugin does not work

Never done before :-(
If I search with Google:

Linux/BSD Users

1. Open your favorite Terminal program

2. Change to the directory containing the executable:

cd $HOME/myprograms/project1 {press enter}

3. Load your program with GDB:

gdb project1 {press enter}

Il giorno gio 18 apr 2019 alle ore 15:23 Tobias Ellinghaus ha scritto:

Am Dienstag, 16. April 2019, 19:38:46 CEST schrieb Maurizio Paglia:

Ciao Tobias,
it works BUT I must remove tre space from the dir name i.e. change

"2016-04

Mantova" in "2016-04_Mantova"

Sorry, my bad, the spaces are of course a problem when starting it from the shell directly. That shouldn't matter for the GIMP case though.

If I do this I can fount foo.exr in /tmp

Good. That still leaves the question what is happening when darktable turns black. Do you know how to attach gdb to a running process and get a backtrace?

Thanks,
Maurizio

Tobias

Il giorno mar 16 apr 2019 alle ore 11:52 Maurizio Paglia

ha scritto:

Thank you, I will try this evening at home. Just for your information, yesterday evening I opened a new thread on opensuse forum and discovered several users have the same problem on

both

Leap and Tumbleweed.
Ciao,
Maurizio

Il giorno mar 16 apr 2019 alle ore 10:30 Tobias Ellinghaus <

houz@gmx.de>

ha scritto:

Am Freitag, 12. April 2019, 23:21:21 CEST schrieb Maurizio Paglia via gimp-

developer-list:

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 "("

Please try it like this:

darktable -d lua --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/foo.exr /home/mau/
Immagini/Archivio/2016-04 Mantova/_DSC0174.NEF

In theory it should export to /tmp/foo.exr once you close darktable.

:-(

Maurizio

Tobias

_______________________________________________ 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

Tobias Ellinghaus
2019-04-18 15:59:49 UTC (almost 5 years ago)

darktable plugin does not work

Am Donnerstag, 18. April 2019, 16:17:26 CEST schrieb Maurizio Paglia via gimp- developer-list:

Never done before :-(
If I search with Google:

Linux/BSD Users

1. Open your favorite Terminal program

2. Change to the directory containing the executable:

cd $HOME/myprograms/project1 {press enter}

3. Load your program with GDB:

gdb project1 {press enter}

Almost. This should (more or less) work:

1. Start GIMP and open a raw file in there.

2. Wait for darktable to hang.

3. find the PID of darktable using "pidof" (or "ps").

4. run "gdb darktable 12345" with the PID instead of 12345.

5. Hit ctrl-c, you'll get a "(gdb) " prompt.

6. Enter this:

set pagination off set logging file gdb.txt
set logging on
thread apply all bt full
quit
y

7. Send me the file "gdb.txt" that was created.

Tobias

Il giorno gio 18 apr 2019 alle ore 15:23 Tobias Ellinghaus ha

scritto:

Am Dienstag, 16. April 2019, 19:38:46 CEST schrieb Maurizio Paglia:

Ciao Tobias,
it works BUT I must remove tre space from the dir name i.e. change

"2016-04

Mantova" in "2016-04_Mantova"

Sorry, my bad, the spaces are of course a problem when starting it from the
shell directly. That shouldn't matter for the GIMP case though.

If I do this I can fount foo.exr in /tmp

Good. That still leaves the question what is happening when darktable turns
black. Do you know how to attach gdb to a running process and get a backtrace?

Thanks,
Maurizio

Tobias

Il giorno mar 16 apr 2019 alle ore 11:52 Maurizio Paglia

ha scritto:

Thank you, I will try this evening at home. Just for your information, yesterday evening I opened a new thread on opensuse forum and discovered several users have the same problem on

both

Leap and Tumbleweed.
Ciao,
Maurizio

Il giorno mar 16 apr 2019 alle ore 10:30 Tobias Ellinghaus <

houz@gmx.de>

ha scritto:

Am Freitag, 12. April 2019, 23:21:21 CEST schrieb Maurizio Paglia via gimp-

developer-list:

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 "("

Please try it like this:

darktable -d lua --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/foo.exr /home/mau/
Immagini/Archivio/2016-04 Mantova/_DSC0174.NEF

In theory it should export to /tmp/foo.exr once you close darktable.

:-(

Maurizio

Tobias

_______________________________________________ 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

_______________________________________________ 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

Maurizio Paglia via gimp-developer-list
2019-04-18 20:25:11 UTC (almost 5 years ago)

darktable plugin does not work

Hi Tobias,
thank you so much for your help.
Attached the debugger file

Maurizio

Il giorno gio 18 apr 2019 alle ore 18:00 Tobias Ellinghaus ha scritto:

Am Donnerstag, 18. April 2019, 16:17:26 CEST schrieb Maurizio Paglia via gimp-
developer-list:

Never done before :-(
If I search with Google:

Linux/BSD Users

1. Open your favorite Terminal program

2. Change to the directory containing the executable:

cd $HOME/myprograms/project1 {press enter}

3. Load your program with GDB:

gdb project1 {press enter}

Almost. This should (more or less) work:

1. Start GIMP and open a raw file in there.

2. Wait for darktable to hang.

3. find the PID of darktable using "pidof" (or "ps").

4. run "gdb darktable 12345" with the PID instead of 12345.

5. Hit ctrl-c, you'll get a "(gdb) " prompt.

6. Enter this:

set pagination off set logging file gdb.txt
set logging on
thread apply all bt full
quit
y

7. Send me the file "gdb.txt" that was created.

Tobias

Il giorno gio 18 apr 2019 alle ore 15:23 Tobias Ellinghaus

ha

scritto:

Am Dienstag, 16. April 2019, 19:38:46 CEST schrieb Maurizio Paglia:

Ciao Tobias,
it works BUT I must remove tre space from the dir name i.e. change

"2016-04

Mantova" in "2016-04_Mantova"

Sorry, my bad, the spaces are of course a problem when starting it from the
shell directly. That shouldn't matter for the GIMP case though.

If I do this I can fount foo.exr in /tmp

Good. That still leaves the question what is happening when darktable turns
black. Do you know how to attach gdb to a running process and get a backtrace?

Thanks,
Maurizio

Tobias

Il giorno mar 16 apr 2019 alle ore 11:52 Maurizio Paglia

ha scritto:

Thank you, I will try this evening at home. Just for your information, yesterday evening I opened a new thread

on

opensuse forum and discovered several users have the same problem

on

both

Leap and Tumbleweed.
Ciao,
Maurizio

Il giorno mar 16 apr 2019 alle ore 10:30 Tobias Ellinghaus <

houz@gmx.de>

ha scritto:

Am Freitag, 12. April 2019, 23:21:21 CEST schrieb Maurizio Paglia

via

gimp-

developer-list:

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 "("

Please try it like this:

darktable -d lua --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/foo.exr /home/mau/
Immagini/Archivio/2016-04 Mantova/_DSC0174.NEF

In theory it should export to /tmp/foo.exr once you close

darktable.

:-(

Maurizio

Tobias

_______________________________________________ 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

_______________________________________________ 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

_______________________________________________ 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

Tobias Ellinghaus
2019-04-20 12:14:02 UTC (almost 5 years ago)

darktable plugin does not work

Am Freitag, 19. April 2019, 23:55:24 CEST schrieb Maurizio Paglia:

Yes, I have a very long ~/.config/darktable/luarc file.
You can find it enclosed.

I tried it with your file, and I can confirm that it hangs. However, for me it also hangs when I call darktable directly using the long command line I gave you. And I see several warnings printed. It seems this extension manager script is exposing some bugs in dt's Lua code. For the time being I'd not use it.

Thanks,
Maurizio

Tobias

[...]

Maurizio Paglia via gimp-developer-list
2019-04-20 12:49:04 UTC (almost 5 years ago)

darktable plugin does not work

OK Tobias, thank you very much

Il giorno sab 20 apr 2019 alle ore 14:14 Tobias Ellinghaus ha scritto:

Am Freitag, 19. April 2019, 23:55:24 CEST schrieb Maurizio Paglia:

Yes, I have a very long ~/.config/darktable/luarc file.
You can find it enclosed.

I tried it with your file, and I can confirm that it hangs. However, for me it
also hangs when I call darktable directly using the long command line I gave
you. And I see several warnings printed. It seems this extension manager script is exposing some bugs in dt's Lua code. For the time being I'd not use
it.

Thanks,
Maurizio

Tobias

[...]
_______________________________________________ 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

Maurizio Paglia via gimp-developer-list
2019-04-20 18:00:59 UTC (almost 5 years ago)

darktable plugin does not work

Hi!
More information.
My ~/.config/darktable/luarc is very articulated because it has been modified in order to use the Script Manager by Bill Ferguson. If I rename luarc in luarc.orig (so dt will ignore it on load) then GIMP opens dt and dt will load the NEF file correctly! When I exit GIMP the EXR file is created but GIMP will crash with the following errors:

gimp:3034): GLib-ERROR **: gmem.c:100: failed to allocate 18446743819891776031 bytes
(file-exr:3230): LibGimpBase-WARNING **: file-exr: gimp_wire_read(): error (file-darktable:3077): LibGimpBase-WARNING **: file-darktable: gimp_wire_read(): error
(script-fu:3067): LibGimpBase-WARNING **: script-fu: gimp_wire_read(): error

Il giorno sab 20 apr 2019 alle ore 14:49 Maurizio Paglia ha scritto:

OK Tobias, thank you very much

Il giorno sab 20 apr 2019 alle ore 14:14 Tobias Ellinghaus ha scritto:

Am Freitag, 19. April 2019, 23:55:24 CEST schrieb Maurizio Paglia:

Yes, I have a very long ~/.config/darktable/luarc file.
You can find it enclosed.

I tried it with your file, and I can confirm that it hangs. However, for me it
also hangs when I call darktable directly using the long command line I gave
you. And I see several warnings printed. It seems this extension manager script is exposing some bugs in dt's Lua code. For the time being I'd not use
it.

Thanks,
Maurizio

Tobias

[...]
_______________________________________________ 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

Maurizio Paglia via gimp-developer-list
2019-04-21 20:06:17 UTC (almost 5 years ago)

darktable plugin does not work

Hi,
finally all works now!
Start GIMP
File -> Open (select a raw file)
darktable is launched and the raw file opened Close dt
GIMP loads the file.

I renamed my ~/.config/darktable/luarc in ~/.config/darktable/luarc.orig so dt do not load it at startup.
This is the ONLY way I fund in order to solve the problem. Not loading the luarc file means I cannot use some lua utilities in dt like enfuse, pano, etc.

Thanks,
Maurizio

Il giorno sab 20 apr 2019 alle ore 20:00 Maurizio Paglia ha scritto:

Hi!
More information.
My ~/.config/darktable/luarc is very articulated because it has been modified in order to use the Script Manager by Bill Ferguson. If I rename luarc in luarc.orig (so dt will ignore it on load) then GIMP opens dt and dt will load the NEF file correctly! When I exit GIMP the EXR file is created but GIMP will crash with the following errors:

gimp:3034): GLib-ERROR **: gmem.c:100: failed to allocate 18446743819891776031 bytes
(file-exr:3230): LibGimpBase-WARNING **: file-exr: gimp_wire_read(): error (file-darktable:3077): LibGimpBase-WARNING **: file-darktable: gimp_wire_read(): error
(script-fu:3067): LibGimpBase-WARNING **: script-fu: gimp_wire_read(): error

Il giorno sab 20 apr 2019 alle ore 14:49 Maurizio Paglia < mpaglia0@gmail.com> ha scritto:

OK Tobias, thank you very much

Il giorno sab 20 apr 2019 alle ore 14:14 Tobias Ellinghaus ha scritto:

Am Freitag, 19. April 2019, 23:55:24 CEST schrieb Maurizio Paglia:

Yes, I have a very long ~/.config/darktable/luarc file.
You can find it enclosed.

I tried it with your file, and I can confirm that it hangs. However, for me it
also hangs when I call darktable directly using the long command line I gave
you. And I see several warnings printed. It seems this extension manager script is exposing some bugs in dt's Lua code. For the time being I'd not use
it.

Thanks,
Maurizio

Tobias

[...]
_______________________________________________ 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