• Welcome to the Lightroom Queen Forums! We're a friendly bunch, so please feel free to register and join in the conversation. If you're not familiar with forums, you'll find step by step instructions on how to post your first thread under Help at the bottom of the page. You're also welcome to download our free Lightroom Quick Start eBooks and explore our other FAQ resources.
  • Stop struggling with Lightroom! There's no need to spend hours hunting for the answers to your Lightroom Classic questions. All the information you need is in Adobe Lightroom Classic - The Missing FAQ!

    To help you get started, there's a series of easy tutorials to guide you through a simple workflow. As you grow in confidence, the book switches to a conversational FAQ format, so you can quickly find answers to advanced questions. And better still, the eBooks are updated for every release, so it's always up to date.

Catalogs Metadata Save gets stuck

Status
Not open for further replies.

kirk.frey

New Member
Joined
Sep 24, 2021
Messages
2
Lightroom Version Number
Lightroom Classic version: 10.2
Operating System
  1. Windows 10
I use LR to organize my home pictures. I have about 75k pictures in the catalog. Nearly all are JPG but some movies and misc formats have snuck in). When I hit the save metadata it goes off and seemingly does write bunches of the data but the task never finishes and it just hangs there. I am guessing it is confused by some file some place. How do I figure out what file(s) its getting stuck on and fix the problem? This issue has persisted across versions of LR and different installs as well. Just now getting around to looking at it.
 
If there is a poison photo that's hanging up Save Metadata To File, here's a tedious divide-and-conquer method to identify it. It will take about 15 minutes (not counting the time waiting for Save Metadata To File to complete).

1. Go to All Photographs in Library Grid view (thumbnails).

2. Ensure the menu item File > Library Filters > Enable Filters is unchecked.

3. Do Photo > Stacking > Expand All Stacks. Now all photos in your catalog are displayed.

4. Set the option View > View Options > Compact Cells Extra > Index Number and then do View > Grid View Style > Compact Cells. That will number the thumbnails in grid view (in the upper-left corners of the thumbnails).

5. Open the Library Filter bar and add a Metadata column containing Metadata Status.

6. Select Changed On Disk and Conflict Detected:

1632521872662.png


7. On a piece of paper, right down "N = " followed by the total number of photos displayed.

8. Select the first N of the photos displayed and do Metadata > Save Metadata To File. Click Overwrite Settings if asked. (Use the thumbnails' index numbers.)

9. If Save Metadata To File completes:
- if no photos are displayed, stop -- you've successfully saved all photos' metadata.
- if photos are displayed, change N to the total number of photos currently displayed and go to step 8.

10. If Save Metadata To File doesn't complete:
- If N = 1 (you've selected just the first photo), then that first photo is the poison photo and you're done.

11. Restart LR (things in LR can back up internally when a task doesn't complete).

12. Write down "N =" followed by the old value of N divided by 2 (rounding up) and go to step 8.

In no more than 17 iterations of steps 8 - 12, you'll either have identified the poison file or successfully saved metadata to all of the files.
 
thanks, I was afraid that it might be something like this. Is this really that hard of a thing to work around in their code? Put a timeout on metadata updates per pic and then report an error? Hoping someone else has some other possible approach but I was bracing for this type of a process.
 
Status
Not open for further replies.
Back
Top