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

Reply
4 replies

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 ^^^

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.

User uploaded file


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

User uploaded file

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

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 can I open iPhoto; clicking on it causes it to open briefly, then it shuts down.

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