darktable-org / darktable

darktable is an open source photography workflow application and raw developer
https://www.darktable.org
GNU General Public License v3.0
9.68k stars 1.13k forks source link

darktable-cli: problems with export, if composit with the same image #17199

Open LowerFrank opened 2 months ago

LowerFrank commented 2 months ago

Describe the bug

If you perform the composite with the same image, the export with darktable-cli

(<darktable-cli /.../.../.../.../[imagename.orf] /.../.../.../.../[imagename.jpeg] --core --conf plugins/imageio/format/jpeg/quality=100 --conf plugins/imageio/storage/disk/overwrite=1>)

the error occurs <3.9861 [image_cache_allocate] failed to open image 36031 from database: no more rows available>

I was able to reproduce the problem with

Steps to reproduce

  1. open a photo in the darkroom
  2. select effects and then composite
  3. drag the same image from the filmstrip into the composite
  4. exit DT
  5. perform an export comparable to this <darktable-cli /.../.../.../.../[imagename.orf] /.../.../.../.../[imagename.jpeg] --core --conf plugins/imageio/format/jpeg/quality=100 --conf plugins/imageio/storage/disk/overwrite=1>

Expected behavior

the cli-export should work like the export in the program

Logfile | Screenshot | Screencast

No response

Commit

No response

Where did you obtain darktable from?

downloaded from www.darktable.org

darktable version

4.8.0

What OS are you using?

Linux

What is the version of your OS?

Mint 21.1 Vera

Describe your system?

No response

Are you using OpenCL GPU in darktable?

None

If yes, what is the GPU card and driver?

No response

Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip

No response

github-actions[bot] commented 3 weeks ago

This issue has been marked as stale due to inactivity for the last 60 days. It will be automatically closed in 300 days if no update occurs. Please check if the master branch has fixed it and report again or close the issue.

LowerFrank commented 3 weeks ago

Tested with DT 4.8.1. The error still occurs.