Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Rebuilding Thumbnails after upgrading

Not sure if having just run the latest update, which included an update for iPhoto, is a coincidence or not but I was confronted with the "You need to upgrade this photo library" message and duly proceeded. I hit the skip button when it was taking a long time to rebuild the thumbnails but now each time I open the library, it wan't to do this rebuilding of the thumbnails. I've had several attempts at letting it do so but even after several hours, it just sits there eating away copious amounts of CPU with little to no disk activity and never ends. I've had to force quit a few times now and I now fear the worse.


I'm running OS X 10.7.4 with iPhoto '11 9.3 (650,30).


- CDM

Posted on Jun 14, 2012 11:26 PM

Reply
18 replies

Jun 15, 2012 6:19 AM in response to Christopher Morgan

OK, I finally identified the problem and have been able to fix it. Essentially, there's a bug in the iPhoto update that was just released to the masses. If there is a TIF image file in the library, iPhoto will go into an endless, CPU-hogging loop if it needs to re-build the thumbnails whenever it encouters the TIF image.


Here's how I found and fixed the problem. After I created a new library, I was finally able to summon the repair dialog by double clicking on the faulty library with the Command+Option keys pressed. I then used the 'Repair Library' option (the one at the bottom of the list). Apparently, this does NOT perform a thumbnail re-build of the library (fortunately!) and I was able to get the entire library up and running. However, when I stopped and started iPhoto again, I was back to where I started, as it immediately wanted to perform a thumbnail rebuild again.


I wanted to find out whether there was a particular object in the library that was causing the problem so I used the following command from within the Terminal app to figure out what was happening:


$ sudo fs_usage -w | grep iPhoto


This basically shows you everything that the iPhoto app is doing on the disk. Much of the information displayed is not relevant but, critically, it does show the path names to the files it's reading (thanks to the -w switch). I found that the problem always kicked in after accessing a particular file - which just happened to be a TIF image.


Next, I used the following command to identify where all the TIF images in y faulty library were:


$ cd <path to my iPhoto library>/Masters

$ find . -name \*.TIF -print


This gave me the path names for a dozen TIF images. Since the path names incoroporate the dd/mm/yy information, I now knew where the suspect offending files were.


I then opened the offending iPhoto library, again with the Command+Option, and once again performed a Repair. This dropped me into the library and I located and removed (after first exporting) all the TIF images and then deleted them from within the library.


That fixed it. I am now able to open the library each time without issue. I will NOT be adding any more TIF images to my library.


Hope this helps others.


- CDM

Rebuilding Thumbnails after upgrading

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