David Plummer

Q: How can I open iPhoto; clicking on it causes it to open briefly, then it shuts down.

I've tried to open iPhoto; clicking on the icon causes it to open briefly, then shut down.  What causes this and how can I correct the problem?

Mac Pro, OS X Mountain Lion (10.8.5), Mac Pro delivered 15jan2012

Posted on Apr 21, 2016 12:53 PM

Close

Q: How can I open iPhoto; clicking on it causes it to open briefly, then it shuts down.

  • All replies
  • Helpful answers

  • by Carolyn Samit,Apple recommended

    Carolyn Samit Carolyn Samit Apr 21, 2016 12:57 PM in response to David Plummer
    Level 10 (120,756 points)
    Apple Music
    Apr 21, 2016 12:57 PM in response to David Plummer

    David ..

     

    Try rebuilding the iPhoto library >   iPhoto 6 and later: Rebuilding the iPhoto library

  • by Pmintz25,Apple recommended

    Pmintz25 Pmintz25 Apr 21, 2016 12:59 PM in response to David Plummer
    Level 4 (1,634 points)
    Apr 21, 2016 12:59 PM in response to David Plummer

    Try opening the app from the Applications folder:

    Open Finder, then click Go > Applications

     

    If it does the same thing, try creating a new library by holding Option while you click on iPhoto. A screen will pop up showing your original library, but try to create a new library (this will not erase your previous library)

     

    If it loads normally, then you may need to rebuild your library. If it does not load a new library, then there is something else going on.

     

    EDIT

    See Carolyn's post above ^^^

  • by Old Toad,

    Old Toad Old Toad Apr 21, 2016 2:54 PM in response to David Plummer
    Level 10 (140,928 points)
    Photos for Mac
    Apr 21, 2016 2:54 PM in response to David Plummer

    If you're using iPhoto 9.4.3 or earlier you can stop the crashing by doing the following but will lose the map feature in the library.

    iPhoto 9.4.3 and earlier began to crash for many users all of a sudden a few weeks ago. This is because the contract between Apple and Google for use of Google maps with iPhoto 9.4.3 and earlier for Locations expired a couple of months age and was not renewed. That is the case of the freezes or crashes.

     

    Apple now uses its own Maps program for Locations and too use it you must be running iPhoto 9.5.1 and Mavericks or 9.6.1 and Yosemite or El Capitan or Photos and El Capitan.

    Try  Huxly647's solution:

    Huxly647Nov 20, 2015 12:05 AM
       Re: iPhoto crashes after opening repeatedlyin response to carvermon

    I found a fix that works for me.

     

    1. goto /Applications/iPhoto.app/Contents/Resources (Control (right)-click on the iPhoto app and select Show Contents in the contextual menu - OT.)

     

    2. delete the files ' googlemap.html ' and googlesearch.html

     

    iPhoto no longer crashes, places doesn't work but it doesn't bother me too much.

     

    Let me know if it works for you guys...

    Removing the two files ' googlemap.html ' and googlesearch.html from iPhoto's application bundle prevents the javascript inside from being executed and causing the crash.  Going offline does obviously do the same. So it is pretty clear, that something happened on Google's end.

    There's a hack posted by user cotton-x that will let iPhoto 9 and earlier continue to use Google Maps for the location feature.

    cotton-x

    Dec 16, 2015 2:49 PM

    Re: iPhoto 11 - Problems With Photo Locations

    in response to Paul Fisher

     

    YES!

    I have just made it work.

     

    I'm on a white macbook running 10.7.5 with iPhoto 9.4.3

     

    Thanks to Paul I had an idea. What if we just ignored Apple's expired API and used our own, private and free from Google. Turns out it works.

     

    Here's what you have to do:

    0- Close iPhoto

    1- Create a google account or use your own

    2- Access Google's developers console HERE

    3- Create a project (any name)

    4- Activate a Google Maps Javascript API

    5- Generate your own API key

    6- Go to folder /Applications/iPhoto.app/Contents/Resources/googleMap.html

    7- Edit the googleMap.html (I've used an application called TextWrangler)

    8- Change this src="http://maps.googleapis.com/maps/api/js?v=3&client=gme-appleinc&sensor=false"> to this src="https://maps.googleapis.com/maps/api/js?key=YOUR_KEY_HERE&signed_in=true&sensor=false">

    9- Save your freshly edited googleMap.html

    10- Open iPhoto and enjoy.

     

    Take that Apple.

    Screenshot 2015-12-16 20.46.41.png

     

    Be sure to make a backup copy of the iPhoto application before attempting this procedure.

    OTsig.png

  • by léonie,

    léonie léonie Apr 22, 2016 3:04 AM in response to David Plummer
    Level 10 (105,852 points)
    iCloud
    Apr 22, 2016 3:04 AM in response to David Plummer

    The problem is that the Javascript code in these two files ' googlemap.html ' and googlesearch.html will crash, if you open an Info panel, because the location servers can no longer be reached. A very simple way to be able to run iPhoto nevertheless is to disconnect from the internet before you launch iPhoto.  If you can open iPhoto without crashes while offline, you can be sure that the two javascript files are causing the problem for you.

     

    To access the two files inside the iPhoto application select iPhoto  in the Finder in the Applications folder and ctrl-click it. Then use the command "Show Package Contents" from the menu.  Open the subfolder Contents, then Resources and search for these two files in the  Resources folder. Don't try this fix without making a copy of the iPhoto application before you try to remove the two files from the application bundle.

     

    iPhoto 9.4 crashing when viewing Places