I've used dt-curve-tool (followed the instructions
https://github.com/darktable-org/darktable/tree/master/tools/basecurve)
to create a basecurve and tonecurve for my camera, but when trying to
insert them into the database I'm getting an error.
The script is:
#!/bin/sh
# to test your new basecurve, copy/paste the following line into your shell.
# note that it is a smart idea to backup your database before messing with it
on this level.
# (you have been warned :) )
echo "INSERT INTO presets
(name,description,operation,op_version,op_params,enabled,blendop_params,blendop_version,multi_priority,multi_name,model,maker,lens,iso_min,iso_max,exposure_min,exposure_max,aperture_min,aperture_max,focal_length_min,focal_length_max,writeprotect,autoapply,filter,def,format)
VALUES('X-T1','','basecurve',2,X'00000000000000001146033a7a69ee36ed51a73bfcf2153bad8aaa3c15cf063dffca193d1b1df83d28339c3d89b3943eee072c3e4b53113f4181893e2e09333f912fc63e475b4d3fb849023f0f93653fb766563fe4d67c3f0000803f0000803f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000020000000000000000000000',1,X'00000000180000000000C842000000000000000000000000000000000000000000000000000000000000000000000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F00000000000000000000803F0000803F',7,0,'','%','%','%',0.0,51200.0,0.0,10000000.0,0.0,100000000.0,0.0,1000.0,0,0,0,0,2);"
| sqlite3 ~/.config/darktable/library.db
and the error message is
Error: near line 1: no such table: presets
Error: near line 1: no such table: presets
I notice that in the database that there is only a table called
"legacy_presets", but inserting into this does not give me my curves in dt.
Is this script/process still valid?
Dave.
____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to [email protected]