How to check WHICH photo gets Photos stuck?

Photos gets stuck in the "Gathering Favorites/Analyzing Scenes/Detecting Duplicates".


In my case, it's been stuck since 2018 at least, probably much longer.


I tried changing disks, exporting all files to a new library, a new mac, nothing works.


So I know that there is at least one file where photos gets stuck. Other solutions here (from years ago) point to the same thing.


But this library has half a million pictures, and I won't search one by one. I tried, and failed.



What I want it to know where in the logs can I find information about this and how on sonoma to properly filter and activate this log.

MacBook Pro 16″, macOS 14.2

Posted on Dec 20, 2023 01:44 AM

Reply

Similar questions

4 replies

Dec 20, 2023 04:56 AM in response to Alexandre Strube

When you are seeing a continual loop "Gathering Favorites/Analyzing Scenes/Detecting Duplicates" it does not mean Photos has got stuck. Photos is just needing a lot of time to finish this process. For my library with just 50000 photos and videos it took three month. For a small test library with 2000 items it took three days, even with keeping my MacBook Air with an Apple M2 chip connected to power and running at all times . Now you can estimate, how long it will need for half a million photos. As some of the tasks, like arranging the layout or finding duplicates are requiring to compare all photos against the other photos, the computation time will not just increase proportional to the number of photos in the library but with a higher complexity. My Mac barely managed to complete this between system upgrades.

Keep your MacBook Pro connected to power at all times, so it can finish the task. The "curating" will have to run again anyway, whenever we change the something in the library, that will change the the layout - like importing additional photos, adjusting the dates or locations of older photos, deleting photos, changing the favourite mark, cropping photos, retouching or adjusting the photos. Doing any of this may kick off the curation again. I am starting to be concerned, when I am no longer seeing "Curating photos" running - I am expecting to run at all times.


But as to your initial question - if you are having items in your library, that Photos cannot scan, because the format is no longer compatible with your current system version, this can block the "curating", as Photos will not be able to recognize the objects or detect faces.

I checked all items by using brute force. I exported all items as original image files and reimported them in small groups into a new, empty library for testing. I removed any item from my library, that gave an error message, when trying to export it or to reimport it to the test library.

You can also try to search systematically with smart albums for items in an older legacy format and check these items first. How to Weed out Legacy Media in Photos for Mac - Apple Community







Dec 20, 2023 05:32 AM in response to léonie

The library had around 10,000 pictures when it got stuck, either in 2017 or 2018 - and it kept stuck while the number of pictures exploded. Don't you think that SIX YEARS is enough to consider it stuck?


That's why I want to check the logs. Photos produces plenty of log output - I can't believe that there's no mention of the problem somewhere in the logs.


Again, the question is about reading the logs.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to check WHICH photo gets Photos stuck?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.