Thanks for the tips! David Houlder had replied privately and pointed out
that I need to call `dt_database_init` before trying to use the
database. (I didn't notice that it was a private reply until later, and
then forgot to update the mailing list). I ended up just calling
`dt_init` from my test an
heya,
this seems a bit hard to diagnose from here.. did you try to reproduce
the exact sql query in the command line interface ( "sqlite3" ) ? you
can see whatever dt does using "darktable -d sql". also did you start
that from a clean database? for debugging, it may be helpful to backup
your ~/.co