Re: [Gimp-developer] darktable plugin does not work
Tobias Ellinghaus <[email protected]>
| Newsgroups | gmane.comp.video.gimp.devel |
|---|---|
| Message-ID | <18521354.P0I07kHfiE@liber> |
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 <[email protected]> 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
> > > <[email protected]>
> > >
> > > 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 <
> >
> > [email protected]>
> >
> > > > 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: [email protected]
> > 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: [email protected]
> 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: [email protected]
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives: https://mail.gnome.org/archives/gimp-developer-list
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEECoi7y9N/7kPOsTdimNQuWstUSOgFAly4nvUACgkQmNQuWstU SOhzsw//T/1DHi2b1ZJyFZGlZ/e6piYn+llp/FrLG6p9bsgFj/2bKsDrej56KMa1 1dKtC/j7t0gPy+bnD8ZKEs1CbXrXQIQ10QRf94l7ta1cQ9zIppJwrmSrUY5BhJFR 5Ms/TE1DPlcBMHRO7PDVVW935BCRAjXnKvaA1+dGR3fLqzEo5lF7hBiMtRq0KZAD nyTsgumLaoWm0UqMV/xugH/2bQE/VSpk/gnFW+Mo1VZZpZML4Hw9BayFiJHI54PO 5c3J+zQ9IJHc6BIMWUSEEL3dOPUM6Ug85QzOuOymOmgfYuHEKmsmGKSurfF/HSJ6 OSXiv2lV9e+lVG26wH7ZVejf41bT+ydPpyszafk5g0JYiP5BzvKvlZOOxYn6+J1f 5Z7FXUgCc2s07RfQALxElqwDE8EGE1cq6ynw5W+4CErozxasUQUJ1IM0JbDpQF/2 1SBBF6XA/MESfdrtuo6B6z5U8s/xHG03XqL7DPGYT2CIfpTPTqq+3da9s6pqoo1H x/tlhXPfLpvskFIJbijZx6hZsu8Q87pBASDld0Q+K1Vl2svpD0w6v5wAoPNAxJpy +dSkKPKGWZpNQjsOaFnFf/14uaLVkam5OCRaBtr7Q7BuejqJS5UZHYWKt9vrbg1I lvB6iIunRAHsKui4YhaqhOUOichGcKpip1wlOcV2mWCu6QFULRM= =RPFb -----END PGP SIGNATURE-----