After upgrade to darktable 4.6, imported images don't appear in lighttable

I upgraded from darktable 4.4 to 4.6 today. Now whenever I try to import any existing files from my computer, the import is successful, but no files actually appear in the lighttable. As far as I can tell, I’m using the same workflow I’ve used for years. For example:

  1. Select Import > add to library...
  2. In the left panel, under folders, select the directory with my images.
  3. In the right panel, select only new pictures: unchecked; recursive directory: checked
  4. The bottom of the dialog box shows 9734 images out of 9734 selected.
  5. Select add to library.
  6. Pop-up message shows imported 9734 images

So that’s all fine, but there are no images showing in the lighttable, and the top toolbar shows 0 images selected out of 0.

What am I missing?

Do you need to reset the collections module?

I found the reset button for collections, but it had no effect. My imported images are still not displayed.

Can you post a screenshot?

Here’s an example of a directory tree that I’m trying to import:

And after importing, this is what I see:

I just did a test, and I could successfully import a directory with 4 images, but not another directory that also has 4 images. Those two directories contained all the same format CR3 RAW files.

Can you expand the top bad and make sure nothing is selected?

your collections filter is using a different path then what you show in the import dialogue

1 Like

Thanks for the suggestions, but no luck. Nothing is selected in the top toolbar. (I even removed those filters altogether.) And the collections filter on the left is using the same path as what I imported.

Just to try to clarify, I can import individual subdirectories, as long they contain only a few images. But if I try to import the parent directory of those subdirectories (with recursive directory checked), it fails.

I ran out of ideas, so I deleted the library.db file and downgraded darktable back to 4.4.2. With the older version, import to library works as expected (except it’s not reading my newer .CR3 RAW files any more, but that’s a different issue).

I don’t know whether this is relevant:

No, it’s not freezing, it just doesn’t import any images. And given how many hundreds of directories I have nested under my images directory, disabling recursive importing is not really a practical workaround.

darktable 4.4.2 is not experiencing this issue. I have downgraded and will continue to work with the older version for now.

Unless someone can reproduce the issue, this downgrade, while solving your immediate problem, will not help develop a fix. Do not forget that darktable relies on users for testing.

I’ll see if I can try tomorrow, but I only have a laptop running Windows,with only a handful of Play Raw images on it.

This is likely this bug ([import module /sql] import additional directory causes dt to stall · Issue #15861 · darktable-org/darktable · GitHub). It is fixed in master in PR that found other issues (po/import job asynchronous by TurboGit · Pull Request #15894 · darktable-org/darktable · GitHub).

Can you find an image on your computer (outside of DT) and right click on it to tell it to open in DT. Does it then open in DT? Also make sure that you have selected all seven star ratings options to show all images. What OS are you using?

image

Sorry, I’ve already downgraded to 4.4.2, since I have to get a bunch of photos edited before the end of the year, so I can’t do that test any more. FWIW, I did have all ratings selected in the filter.

I’m using Fedora Linux 39.

I think a screencast/video would be useful. Also as per

it would be nice to see that too.

I’ve had similar issue - importing in 4.6 works for me only when the “recursive” directory isn’t checked. Importing looks as if it has been successful, but no images appear in the library.

However, importing folders one by one, without ticking :ballot_box_with_check: recursive directory works as expected.

Darktable 4.6 on Windows 10

1 Like

I have the same problem with 4.6 from Flathub (running Tumbleweed).

This is what it looks like:
image

I hit “add to library” and the dialog box closes and I get a “imported 61 images” message instantly. The images do not show up in the lighttable view. I do not have any filters activated.

Same for me.

Same for me. Mac mini M1.