jeffberg

Q: New Memories feature not analyzing all photos

I updated to Sierra and was really looking forward to Memories in photos. I turned it on and it said it would take a while to scan my library. I figured this. I have a 60GB library. However, the bar didn't move for several days. So I quit and reopened photos. It then prompted me again to enable memories. After a few times of quitting photos and enabling memories, it seemed to take. A couple of memories showed up (3).

 

However, now its more than a week later and there aren't any more. I can't figure out how to trigger memories to analyze my photos.

 

Does anyone know how to force Photos to re-scan for memories? Or has had a similar experience? Found a solution?

 

Thanks,

Jeff

Posted on Oct 4, 2016 10:05 AM

Close

Q: New Memories feature not analyzing all photos

  • All replies
  • Helpful answers

  • by léonie,

    léonie léonie Oct 4, 2016 10:25 AM in response to jeffberg
    Level 10 (109,057 points)
    iCloud
    Oct 4, 2016 10:25 AM in response to jeffberg

    I can't figure out how to trigger memories to analyze my photos.

    Memories will be triggered by adding more photos, naming faces, naming places,  and by certain dates.

     

    I am frequently seeing new memories appear as "On this day". For example, if the date is the same asa day, when I have been on vacation and shot many photos, a memory "On this day" will appear.

     

    Do you have the preference "Photos > Preferences > Memories: Show Holiday Events" enabled?  Then you should be seeing many memories of family get-togethers as well.

  • by jeffberg,

    jeffberg jeffberg Oct 4, 2016 10:28 AM in response to léonie
    Level 4 (1,325 points)
    Photos for Mac
    Oct 4, 2016 10:28 AM in response to léonie

    Yeah. all of the above is true. But no. only 3 memories. And I have 10+ years of photos in here. For some reason it just doesn't want to scan everything :-/

  • by léonie,

    léonie léonie Oct 4, 2016 11:24 AM in response to jeffberg
    Level 10 (109,057 points)
    iCloud
    Oct 4, 2016 11:24 AM in response to jeffberg

    Has the scan for people finished? When you open the Peoples album, does it still say "scanning ..."?

     

     

    I am seeing a new memory appearing every week or so, out of the blue.  It started with only three memories.

  • by jeffberg,

    jeffberg jeffberg Oct 4, 2016 11:39 AM in response to léonie
    Level 4 (1,325 points)
    Photos for Mac
    Oct 4, 2016 11:39 AM in response to léonie

    Ok. I opened People and it says it had 20,800 photos to scan

    The message is vague but it seems to indicate it won't scan unless I close photos. This is probably why it hasn't scanned everything. I've been leaving photos open because I thought it could only scan when open. I'm going to close it for a few days and see what happens.Vanadum.png

  • by léonie,

    léonie léonie Oct 4, 2016 11:57 AM in response to jeffberg
    Level 10 (109,057 points)
    iCloud
    Oct 4, 2016 11:57 AM in response to jeffberg

    My Mac scanned the faces and categories while it was connected to power and Photos minimized in the Dock. Just let the Mac run over night with the Energy saver disabled.

  • by jeffberg,

    jeffberg jeffberg Oct 4, 2016 12:08 PM in response to léonie
    Level 4 (1,325 points)
    Photos for Mac
    Oct 4, 2016 12:08 PM in response to léonie

    Hmm. Ok. I've been running Photos hidden. I have not had any energy saver stuff going on. The Mac is on and awake 100% of the time. I'm going to minimize the photos app and see if that also works for me.

  • by jeffberg,

    jeffberg jeffberg Oct 10, 2016 1:59 PM in response to léonie
    Level 4 (1,325 points)
    Photos for Mac
    Oct 10, 2016 1:59 PM in response to léonie

    So its been a while. The photo analysis has made 0 progress. It always says 0 done out of 20,XXX. And the XXX keeps going up as more photos get added via photo stream. I tried with the app closed and minimized. I also tried logging out of iCloud entirely and letting it run. Nothing. I took a look at the console app and I do see an error:

     

    Graph service worker memory generation completed, success=0, error=Error Domain=com.apple.photoanalysis Code=16 "(null)"

     

    I'm not sure if anyone knows what code 16 means. But I think it could get me pointed in the right direction towards getting this fixed.

  • by léonie,

    léonie léonie Oct 11, 2016 12:44 AM in response to jeffberg
    Level 10 (109,057 points)
    iCloud
    Oct 11, 2016 12:44 AM in response to jeffberg

    I could not find a list of error codes for the photosanalysisd.

    And I have not seen similar message in my Console messages. It may be a bug. Are there any crash log for photosanalysis ?

     

    But search your Console for com.apple.message.new_pending_memories_count

    This will tell you, if photos is finding candidates for memories at all.

     

    When searching for "com.apple.Photos.memories.feed" in the Console I find plenty of candidates for memories waiting to be presented at a given day, listed by categories:

     

    com.apple.message.break_out_of_routine_memories_count

    com.apple.message.area_of_interest_memories_count: 3

    com.apple.message.special_memories_count

    com.apple.message.weekend_memories_count: 5

    com.apple.message.region_of_interest_memories_count: 4

    com.apple.message.day_in_history_memories_count: 21

    com.apple.message.recent_eventperson_memories_count: 1

    com.apple.message.trip_memories_count: 4

    com.apple.message.last_weekend_memories_count: 1

    com.apple.message.year_summary_memories_count: 1

    com.apple.message.crowd_memories_count: 8

    com.apple.message.best_of_past_memories_count: 3

    com.apple.message.total_favorited_memories_count: 9

    com.apple.message.person_birthday_memories_count: 1

    com.apple.message.week_in_history_memories_count: 4

    com.apple.message.new_pending_memories_count: 1

  • by jeffberg,

    jeffberg jeffberg Oct 12, 2016 11:26 AM in response to léonie
    Level 4 (1,325 points)
    Photos for Mac
    Oct 12, 2016 11:26 AM in response to léonie

    No results when searching for com.apple.Photos.memories but there were some crash logs for photolibraryd and cloudphotosd.

     

    Here is the top half of one of them for photolibraryd

     

     

    Date/Time:      2016-10-10 11:07:06 -0700

    OS Version:      Mac OS X 10.12 (Build 16A323)

    Architecture:    x86_64

    Report Version:  19

     

     

    Command:        photolibraryd

    Path:            /System/Library/PrivateFrameworks/PhotoLibraryPrivate.framework/Versions/A/Supp ort/photolibraryd

    Version:        ??? (???)

    Parent:          launchd [1]

    PID:            10084

     

     

    Event:          cpu usage

    CPU:            90s cpu time over 172 seconds (52% cpu average), exceeding limit of 50% cpu over 180 seconds

    Duration:        171.76s

    Steps:          240

     

     

    Hardware model:  MacBookPro5,1

    Active cpus:    2

     

     

    Fan speed:      3642 rpm

     

     

     

     

    Powerstats for:  photolibraryd [10084]

    UUID:            81C9CF7A-87FA-31E4-810A-41A25D7D3D3D

    Start time:      2016-10-10 11:07:09 -0700

    End time:        2016-10-10 11:09:57 -0700

    Parent:          launchd

    Microstackshots: 118 samples (49%)

    Primary state:  114 samples Non-Frontmost App, User mode, Thread QoS Background

    User Activity:  0 samples Idle, 118 samples Active

    Power Source:    0 samples on Battery, 118 samples on AC

      118 start_wqthread + 13 (libsystem_pthread.dylib) [0x7fff8ae84221]

        118 _pthread_wqthread + 1299 (libsystem_pthread.dylib) [0x7fff8ae84746]

          118 _dispatch_worker_thread3 + 99 (libdispatch.dylib) [0x7fff8ac39cb7]

            118 _dispatch_root_queue_drain + 476 (libdispatch.dylib) [0x7fff8ac39ee0]

              118 _dispatch_queue_invoke + 1046 (libdispatch.dylib) [0x7fff8ac40d41]

                114 _dispatch_queue_serial_drain + 443 (libdispatch.dylib) [0x7fff8ac4e9d2]

                  114 _dispatch_queue_invoke + 1046 (libdispatch.dylib) [0x7fff8ac40d41]

                    114 _dispatch_queue_serial_drain + 443 (libdispatch.dylib) [0x7fff8ac4e9d2]

                      114 _dispatch_queue_invoke + 1046 (libdispatch.dylib) [0x7fff8ac40d41]

                        114 _dispatch_queue_serial_drain + 443 (libdispatch.dylib) [0x7fff8ac4e9d2]

                          114 _dispatch_queue_invoke + 1046 (libdispatch.dylib) [0x7fff8ac40d41]

                            114 _dispatch_queue_serial_drain + 896 (libdispatch.dylib) [0x7fff8ac4eb97]

                              114 _dispatch_client_callout + 8 (libdispatch.dylib) [0x7fff8ac38128]

                                112 _dispatch_call_block_and_release + 12 (libdispatch.dylib) [0x7fff8ac40f5f]

                                  112 -[PFDispatchQueue _invoke:] + 73 (PhotoFoundation) [0x7fff85bd2da5]

                                    58  __61-[LiJournalLibraryCoalesce coalesce:forTable:progress:error:]_block_invoke + 987 (photolibraryd) [0x10117ff04]

                                      45  Li::ServiceInsertTask::perform(id<LiClientContext>, LiChangeContext*) + 1186 (photolibraryd) [0x10110e82c]

                                        45  -[LiServiceLibrary(Change) processDatabaseChangeBuffer:table:propertyDefs:changeType:modelIds:client:reaso n:keyPathAtomIds:memos:changeContext:] + 1541 (photolibraryd) [0x10117cac2]

                                          45  -[LiServiceLibrary(Change) isJournaledForTable:] + 119 (photolibraryd) [0x10117b1d6]

                                            45  _PFAssertContinueHandler + 308 (PhotoFoundation) [0x7fff85bfe440]

                                              45  -[PFAssertionHandler continueAfterAssertInFunction:file:lineNumber:description:arguments:] + 111 (PhotoFoundation) [0x7fff85bfe787]

                                                45  -[PFAssertionHandler newAssertionInfoInMethod:object:function:file:lineNumber:description:arguments: ] + 413 (PhotoFoundation) [0x7fff85bfe623]

                                                  44  -[NSArray subarrayWithRange:] + 257 (CoreFoundation) [0x7fff75bbe3a1]

                                                    44  -[NSArray getObjects:range:] + 127 (CoreFoundation) [0x7fff75b903cf]

                                                      42  -[_NSCallStackArray objectAtIndex:] + 163 (Foundation) [0x7fff77621a52]

                                                        41  backtrace_symbols + 110 (libsystem_c.dylib) [0x7fff8aca59e8]

                                                          41  dladdr + 72 (libdyld.dylib) [0x7fff8ac6b99c]

                                                            41  dladdr + 133 (dyld) [0x10b872444]

                                                              12  ImageLoaderMachO::findClosestSymbol(mach_header const*, void const*, void const**) + 400 (dyld) [0x10b87b58c]