darktable-org / darktable-org/darktable
Renaming without file extension causes crash
@anoderay is already working on this.
Since Aug 2, 2026.
- Dominant language
- C
- Stars
- 13.1k
- Forks
- 1.4k
- Avg merge
- 22h 14m
- Merged PRs (30d)
- 198
Description
Is there an existing issue for this?
- I checked and did not find my issue in the already reported ones
Describe the bug
If you use the script "rename images" to give a file name without file extension can make Darktable unstartable
Steps to reproduce
- Rename a imagefile filename.extension (camper.ORF) to filename (camper) by using the script rename images
- Duplicate this image in lighttable - actions on selection - duplicate
- End Darktable
- Restart fails with error
- Delete last entry in library.db - images lets you start Darktable again
Expected behavior
In this case the error shouldn't say "cannot write XMP..." but should name the reason for that
Logfile | Screenshot | Screencast
DT restart.txt
DT start-duplicate-rename-close.txt
Logfiles are the same as mentioned before. That's my first bug report, so please be patient with me
Commit
No response
Where did you obtain darktable from?
distro packaging
darktable version
5.6.0-1.1+117.1
What OS are you using?
Linux
What is the version of your OS?
Ununtu 24.04.4 LTS
Describe your system
Relevant: I made testing with .ORF and .jpg file extensions, tested different imagefiles in different directories. Alsways the same behaviour. See more here pixls.us
Are you using OpenCL GPU in darktable?
No response
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.