5 Replies Latest reply: Jun 8, 2012 10:56 AM by Old Toad
Transini Level 1 Level 1 (135 points)

When I launch iPhoto 9.2.3 (OSX 10.6.8), it comes up saying the photo library has become unreadable, and instructs me to restart the app whilst holding the command and option keys down. When I do this, it gives a panel where I can select to rebuild the photo library. I click on Rebuild, and it crashes immediately without a crash log or event in syslog.

 

Anyone know how to rebuild the photo library manually?

Where does the file reside on the system?

  • Old Toad Level 10 Level 10 (124,135 points)

    What options did you select for rebuilding the library?  All of them?

    iPhoto001.jpg

     

    OT

  • Transini Level 1 Level 1 (135 points)

    First I tried just the 1st item, "Repair the iPhoto Library Database", then I clicked on Rebuild. Crash!

    Then I selected all the options. Same thing: crash!

    It doesn't wait any time at all before it crashes, like it's blowing up on the very first thing it touches.

  • Old Toad Level 10 Level 10 (124,135 points)

    Try this:  make a temporary, backup copy (if you don't already have a backup copy) of the library and try the following:

     

    1 - delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your

         User/Home()/Library/ Preferences folder.

     

    2 - delete iPhoto's cache file, Cache.db, that is located in your

         User/Home()/Library/Caches/com.apple.iPhoto folder. 

     

    Click to view full size

     

    3 - reboot.

     

    4 - launch iPhoto and try again.

     

    NOTE: If you're moved your library from its default location in your Home/Pictures folder you will have to point iPhoto to its new location when you next open iPhoto by holding down the Option key when launching iPhoto.  You'll also have to reset the iPhoto's various preferences.

     

    If that doesn't help log into another user account on your Mac and see if iPhoto will work as it's suposed to there. If it does then the problem lies with your account.  If iPhoto crashes in the other account a reinstall of iPhoto is indicated.

     

    To do so you'll have to delete the current application and all files with "iPhoto" in the file name with either a .PKG or .BOM extension that reside in the HD/Library/Receipts folder and from the /var/db/receipts/  folder,

     

    Click to view full size

    Then install iPhoto from the disk it came on originally and apply all appropriate updaters.

  • Transini Level 1 Level 1 (135 points)

    Thanks for posting the very detailed instructions. I performed steps 1 - 4 with the same results, crash. iPhoto works fine from another user account on the same machine, so that indicates something wrong with the myriad of files under ~/Pictures/iPhoto Library/Database/...

     

    I was getting a bit worried that I had lost over 150,000 photos (mostly astrophotography) and edits. I found a product online called iPhoto Library Manager that has a Rebuild Library function. It took all night, but it worked! I learned my lesson -- I've purchased an external disk drive to be my Time Machine backup. I don't want to go through this again!

     

    Thanks again for your help!

  • Old Toad Level 10 Level 10 (124,135 points)

    Since iPhoto works OK in thje other account there is something in your account that is causing the issue. It could be a preference file other than iPhoto's.  Here's a way to check that out:

     

    Trouble Shooting Preferences

     

    1 - close all applications. 

    2 - open your Library folder, Home/Library, and drag the Preferences folder to the Desktop. A new Preference folder will be immediately created in the Library.

    NOTE: if dragging the Preference folder to the desktop only copies the folder then after the copy has been completed go back and drag the contents of the Preferences folder from the Library to the Trash in the dock. You will be asked to enter your Admin password. Then reboot and try again.

    3 - run the application again and determine if the problems is fixed. 

    4 - If the problem is fixed:

     

    A - open the working Preferences folder (HD/Users/your_name/Library/Preferences).

    B - Open the Preferences  folder on the Desktop, select all of the contents and drag them into the working Preferences folder.

    C - When the Copy window pops up check the "Apply to All" check box and then click on the Don't Replace or Skip button.

     

     

    5 - If the problem is NOT fixed, drag the contents of the Preference folder on the Desktop into the Preference of the Library folder are  replace the new one that was created by clicking on Replace.