21 Replies
      Latest reply on Aug 12, 2019 2:00 AM by absolutehype
      AnnArborMark Level 1 Level 1 (0 points)

        In the Catalina WWDC beta, the Photos app crashes on launch. Does this happen for everyone else? I have submitted feedback using the Feedback app.

        • Re: Photos app crashes on launch in Catalina
          jerryfrit Level 1 Level 1 (0 points)

          I have installed the beta on two Macs (all but my primary.)  My only issue was on my Mac Mini, on which I had the Photos library on an external drive.  In that case I had to start Photos with the option key held, then select the library.  Then it updated the database and all was well.

            • Re: Photos app crashes on launch in Catalina
              Klay Level 1 Level 1 (0 points)

              Except I get this: Error Domain=PHPhotosErrorDomain Code=4302 "PHPhotosErrorInvalidState" UserInfo={NSLocalizedDescription=PHPhotosErrorInvalidState, currentState=error, NSUnderlyingError=0x6000012e82d0 {Error Domain=com.apple.photos.error Code=43002 "(null)" UserInfo={currentState=error, NSUnderlyingError=0x6000012e8000 {Error Domain=com.apple.photos.error Code=46007 "Lightweight migration failed from model version 13256 to version 13267." UserInfo={NSFilePath=/Users/klayanderson/Pictures/Photos Library.photoslibrary/database/Photos.sqlite, NSLocalizedDescription=Lightweight migration failed from model version 13256 to version 13267.}}}}}

                • Re: Photos app crashes on launch in Catalina
                  Xandersmith Level 1 Level 1 (0 points)

                  I get the same error message on my macbook for my library

                   

                  Error Domain=PHPhotosErrorDomain Code=4302 "PHPhotosErrorInvalidState" UserInfo={NSLocalizedDescription=PHPhotosErrorInvalidState, currentState=error, NSUnderlyingError=0x600001b2d4a0 {Error Domain=com.apple.photos.error Code=43002 "(null)" UserInfo={currentState=error, NSUnderlyingError=0x600001b2d530 {Error Domain=NSCocoaErrorDomain Code=4097 "connection to service on pid 537 named com.apple.Photos.Migration" UserInfo={NSDebugDescription=connection to service on pid 537 named com.apple.Photos.Migration}}}}}

                   

                  And I'm completely unable to open my photo library at the moment

              • Re: Photos app crashes on launch in Catalina
                mtime Level 1 Level 1 (10 points)

                I also am getting the same message:

                Except I get this: Error Domain=PHPhotosErrorDomain Code=4302 "PHPhotosErrorInvalidState" UserInfo={NSLocalizedDescription=PHPhotosErrorInvalidState, currentState=error, NSUnderlyingError=0x6000012e82d0 {Error Domain=com.apple.photos.error Code=43002 "(null)" UserInfo={currentState=error, NSUnderlyingError=0x6000012e8000 {Error Domain=com.apple.photos.error Code=46007 "Lightweight migration failed from model version 13256 to version 13267." UserInfo={NSFilePath=/Users/klayanderson/Pictures/Photos Library.photoslibrary/database/Photos.sqlite, NSLocalizedDescription=Lightweight migration failed from model version 13256 to version 13267.}}}}}

                 

                I have also tried with a restored ealier time machine library version and get the same result

                 

                I have not yet found a workaround. Any ideas would be appreciated.

                  • Re: Photos app crashes on launch in Catalina
                    mtime Level 1 Level 1 (10 points)

                    So I happened upon a fix for the error message and Photos crash:

                     

                    "Error Domain=PHPhotosErrorDomain Code=4302 "PHPhotosErrorInvalidState" UserInfo={NSLocalizedDescription=PHPhotosErrorInvalidState, currentState=error, NSUnderlyingError=0x6000012e82d0 {Error Domain=com.apple.photos.error Code=43002 "(null)" UserInfo={currentState=error, NSUnderlyingError=0x6000012e8000 {Error Domain=com.apple.photos.error Code=46007 "Lightweight migration failed from model version 13256 to version 13267." UserInfo={NSFilePath=/Users/klayanderson/Pictures/Photos Library.photoslibrary/database/Photos.sqlite, NSLocalizedDescription=Lightweight migration failed from model version 13256 to version 13267.}}}}}"

                     

                    For the past week I was getting the above message and crash.

                     

                    Then today, I happened to be in "About My Mac/Storage". I selected Photos and to the right was the option to "Optimize Photos", which I selected. After the Photos were optimized, the button changed to "Open Photos". When I selected this, the Photos app opened immediately and my entire Photos Library displayed correctly (very happy!).

                     

                    Not sure why this works but perhaps optimizing also fixes any library issues with Photos in 10.15 accessing the PhotosLibrary correctly

                     

                    So, hopefully this will also work for those of you. that have had the same domain error and crash

                  • Re: Photos app crashes on launch in Catalina
                    7mind Level 1 Level 1 (0 points)

                    I have a similar issue:

                    Error Domain=PHPhotosErrorDomain Code=4302 "PHPhotosErrorInvalidState" 
                    UserInfo={NSLocalizedDescription=PHPhotosErrorInvalidState, currentState=error, NSUnderlyingError=0x600001b16e20
                    {Error Domain=com.apple.photos.error Code=43002 "(null)"
                    UserInfo={currentState=error, NSUnderlyingError=0x600001b16d90
                    {Error Domain=NSCocoaErrorDomain Code=4097 "connection to service on pid 1476 named com.apple.Photos.Migration"
                    UserInfo={NSDebugDescription=connection to service on pid 1476 named com.apple.Photos.Migration}}}}}

                    Have no idea how to fix.

                      • Re: Photos app crashes on launch in Catalina
                        realrealreal Level 1 Level 1 (0 points)

                        Similar issue. No clue what to do

                         

                        Error Domain=PHPhotosErrorDomain Code=5103 "PHPhotosErrorBookmarkResolutionFailed" UserInfo={NSURL=file

                         

                        I've tried a new library, purging Containers folder, and library repair. No results.

                          • Re: Photos app crashes on launch in Catalina
                            pr0fess0r Level 1 Level 1 (10 points)

                            I now get this as well on start, then Photos quits:

                             

                            Error Domain=PHPhotosErrorDomain Code=5103 "PHPhotosErrorBookmarkResolutionFailed" UserInfo={NSURL=file:///Users/xxx/Pictures/Photos%20Library.photoslibrary/, NSLocalizedDescription=PHPhotosErrorBookmarkResolutionFailed, NSUnderlyingError=0x600002832dc0 {Error Domain=com.apple.photos.error Code=41014 "(null)" UserInfo={NSURL=file:///Users/xxx/Pictures/Photos%20Library.photoslibrary/}}}

                             

                            - Repairing the database doesn't work

                            - mtime's suggestion above doesn't work as Photos only appears briefly in the list of storage options and then vanishes

                             

                            The console shows errors like:

                             

                            photolibraryd: No SSB on file for <private>

                            photolibraryd: Error creating bookmark data for URL <private> : Error Domain=NSCocoaErrorDomain Code=256 UserInfo={NSDebugDescription=<private>}

                            Photos:Failed to open photo library <private>, Error Domain=com.apple.photos.error Code=41014 UserInfo={NSURL=<private>}

                            Photos:XPC connection error to assetsd <private> : Error Domain=com.apple.photos.error Code=41014 UserInfo={NSURL=<private>}

                            Photos: Creating blackhole proxy for <private> from proxy factory <private> for library URL: <private>

                            Photos: error 19:00:29.646747+0100 Photos Swallowing proxy invocation: <private> <private>

                            • Re: Photos app crashes on launch in Catalina
                              realrealreal Level 1 Level 1 (0 points)

                              Any suggestions?

                          • Re: Photos app crashes on launch in Catalina
                            Jethot Level 1 Level 1 (0 points)

                            Start Photos with Option key and create new library. So far so good.

                            • Re: Photos app crashes on launch in Catalina
                              Alaska_David Level 1 Level 1 (0 points)

                              Happens for me too - even migrated library to an external drive with more room (just in case it was a problem with drive space) same crash. If i create a new empty library it opens and then starts bringing my shared albums down from icloud. (i do not use icloud photo library and do not have photo stream turned on with this Mac)

                              • Re: Photos app crashes on launch in Catalina
                                bergmayer Level 1 Level 1 (0 points)

                                Simialr issue after Catalina Beta 4--PHPhotosErrorDomain error 1000.  Photo Library starts updating at 79% and fails at 100% with that message.  The backup photos library some documentation references was never created.

                                • Re: Photos app crashes on launch in Catalina
                                  jimfromseattle Level 1 Level 1 (0 points)

                                  it seems that if you launch a new library then switch back to your original library it works

                                  • Re: Photos app crashes on launch in Catalina
                                    celogeek Level 1 Level 1 (0 points)

                                    I have several albums (1 per year).

                                    So one of them crash the app.

                                    I have try to repair but lost all photos (only the index, the Master still alive)

                                    I have rename the album (old stuff)

                                    Then try to create a new albums (2018) in a directory with spaces in it (/Users/myuser/Pictures/Directory With Spaces/2018). It crash.

                                    I try to create on a directory without spaces, (/Users/myuser/Pictures/2018), it works !

                                     

                                    I try to restore the photo I have move somewhere else (and restore a backup just in case it works).

                                    • Re: Photos app crashes on launch in Catalina
                                      thomsode Level 1 Level 1 (0 points)

                                      I’ve the same issue with Catalina beta 5. I solved it by starting Picture app with options key and create a new library. Then I go to preferences and clicked on use system library. Then it started to import pictures from iCloud.

                                      • Re: Photos app crashes on launch in Catalina
                                        absolutehype Level 1 Level 1 (0 points)

                                        I renamed my "Photos Library" to "_Photos Library" and re-opened Photos and it fixed the issue. Photos Library should be in your user home directory.