Re: [Gimp-developer] 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 <houz gmx de> 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 <houz gmx de>
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
<mpaglia0 gmail com>

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

Attachment: gdb.txt
Description: Text document



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