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

"An error occurred while trying to save your photo library..."

Installed iPhoto6.

Started app. It said it would take a few seconds or minutes to upgrade.

About 6 hours later after churning on thumbnails it is now claiming this error over and over with some time that goes by in between:

"An error occurred while trying to save your photo library."

"Some recent changes may be lost. Make sure your hard disk has enough space and that iPhoto is able to access the iPhoto Library folder."

It says I have 22,759 photos in Library. The Library was a subset of my images, named "iPhoto Library 2005" and it was intentionally kept below the 25,000 limit of iPhoto5.

Since Steve claims iPhoto6 can easily handle 250,000 photos, I clicked on the upgrade button with confidence. This now appears to be a mistake. Last night I was working on an iDVD for the local school and the majority of that work has simply vanished. There were 320 photos. I spent hours adding keywords, ranking, adjusting temperature, focus, exposure, etc.

Of the 320, only 16 photos survived. They are 16 in a row from the middle of the roll near the end but not at the end. The roll name was lost. The name is now just "Roll 226" and none of the photos have keywords. I know at least one of the 16 should have the keyword "DUPE" and the ranking 2 STARS since it precedes a double that I ranked 2 during a slideshow, sorted by ranking, and dragged to the DUPE keyword. All 16 should have the ACROCK keyword which I initially assigned to all photos.

Again, 304 of 320 have vanished and the 16 that remain have no keywords or rankings.

I watched the slide show in iPhoto5 three times with different music candidates so I know the keywording and rankings evaporated in iPhoto6. I also clicked ACROCK and option clicked DUPE and POOR so that all of the music program photos except dupes and poor images would vanish. I only deleted one photo so there were not a lot of changes to the library in terms of photos in it. I cannot think of any reason why the 16 chosen survived. Only two were placed in a DVD dropzone and they are scattered amongst the 16 survivors.

Also, the ACROCK and DUPE keywords are also gone while the POOR keyword added in August is in the keyword table just fine.

I exported these 320 photos last night to iDVD and tried almost all of the different themes and I dragged about 10 different photos to the dropzones, hit play, hit motion, etc.

It seems very strange that 16 photos from the middle of the pack would survive.

It seems extra odd that iPhoto5 and iDVD treated these as "established" photos, not photos hanging in the wings somewhere ready to vanish in an upgrade.

I gracefully saved and quit iDVD and iPhoto5 and there were no crashes and nothing strange happened while making the DVD. I was hoping today to try out the new themes and maybe find one that is just right for the kids. Instead, about 300 of 320 photos of the kids went bye-bye along with all the work on the photos!

I'm nervous that many more photos are missing but I will need to do a ton of checking to see what else has been deleted by the upgrade.

The user message that iPhoto6 presents is nearly useless and strange. It offers little if anything to go on in terms of a repair procedure. After saying an error has occurred, it says some recent changes could be lost but doesn't expand at all on what they may be or why.

From my experience, recently added photos, keywords, keyword assignments, rankings and maybe more can all be lost. To compound matters, before the upgrade it says that you cannot go back to the prior (working!) library in iPhoto5. Beware!

It finishes by suggesting two vague steps to take. The first is to make sure your disk has "enough" space. How much is "enough"? It doesn't say something like X GB available, Y GB needed. A user would have no clue about how much space to free up. I have over 17 GB and assumed that would be enough. I sure hope it doesn't require double the space of the existing library. I would hope it has a smarter algorithm than that since 23,000 photos at about 3 MB each maps to about 70 GB. That's a lot of "temporary" space to require to perform an upgrade. Since the upgrade/error message provide no details (unlike package installers which supposedly tell you how much space you need), users like me would have no clue if 70 GB is plenty or not enough.

I found 24 GB secretly used by iPhoto 5 for an iPod Photo Cache and a tech bulletin saying this just grows and grows without control and it can be deleted SO I wouldn't put huge hidden disk usage past iPhoto6.

The last none-to-helpful suggestion is that a user make sure that iPhoto is able to access the iPhoto Library folder. Huh?!??!?

Wouldn't this be a great thing to confirm via software before setting about on 6+ hours of work, especially if there is an error message hard-coded in the software confirming that Apple knows the result may be losing valuable customer photos and hours of work on enhancing, keywording, creating DVDs, etc.?

Of course. This appears negligent. To know that customer file loss will likely result but not checking these things out in advance before taking that risk seems like putting the cart before the horse at customers' expense & pain and certain loss of irreplaceable family photos (for the, say, 80%+ of iPhoto users that "plan" to get a backup routine established?).

I got burned in the iPhoto5 upgrade as well, losing photos, so I was sure to have a backup so it wouldn't happen again. Most I fear won't be so fortunate so be advised of the risk and work with copies of your photos only.

Also, why would iPhoto5 have all the permissions it needs to store, edit, tag and otherwise work with 320 photos added last night? Why would version 5 have plenty of permissions to use the folders and the photos in them. Why would iPhoto 6 suddenly lose those permissions or not have enough? This hardly makes any sense. The only way the permissions were set, the iPhoto libraries got created and the albums got created was by dragging a folder of images onto the albums pane in iPhoto5. So, iPhoto5 set all the permissions, everything is under one user account and there should be no surprise permissions for iPhoto6 to deal with.

It seems unbelievable that iPhoto 6 couldn't do what iPhoto 5 was doing. I never changed permissions and never touched files in the iPhoto 5 structure.

I can only guess that recently added keywords, recently added photos and recently added rankings and keyword taggings linger in some at-risk staging area that a version 6 upgrade doesn't know how to deal with. This seems like a lame way to code this app so I don't consider this a good guess but what else could it be?

Anyone else have a better hunch at a root cause?

Anyone else have an idea of a cure?

Anyone else run into this?

It sure doesn't look like there was a test case for having near 25,000 photos (an iPhoto 5 documented requirement), working with the latest roll and then doing a version 6 upgrade because it failed miserably--user data loss--without any special effort to find defects. In a former life I tested software and released software was much more difficult to break than this.

I would appreciate any other user experiences/solutions related to this problem. I am reluctant to import another 22,000 photos from iPhoto Library 2004 only to find more photos go poof without any rhyme or reason.

Thanks in advance for your help and I hope this alerts others to a potential for valuable photo loss (i.e., back up before you upgrade, verify iPhoto Library permissions--whatever that means--and have scads of disk space available assuming there's any truth to the error message!).

--Sam



G5 Dual 2.7 GHz 2 GB DDR SDRAM Mac OS X (10.4.4)

Posted on Jan 14, 2006 12:28 AM

Reply
Question marked as Best reply

Posted on Jan 24, 2006 10:12 PM

Me too. An error that has no sense of resolution.
8 replies

Jan 24, 2006 11:49 PM in response to Darin Simmer

I'll check if I have copies of copies of copies. This could take a while due to the number of files.

I picked up a brand new 300 GB Western Digital hard drive thinking 20GB or so was not enough for temp files for upgrading and/or importing.

I formatted it as a mac os extended, journaled drive, not case sensitive, one full-size partition. I started iPhoto6 with the option key. I had a CF in my other WD 300 GB (with media reader). iPhoto6 asked about the photos on the card. I told it not to download those (again). Because I was holding the option key down, iPhoto6 asked if I wanted to select a different library or create one. I created one on the brand new, 100% empty 300 GB drive. I'm not sure if/where iPhoto6 creates temporary/cache files (like iPhoto iPod Cache folder) as it sets up a new library. I was hoping the empty 300 GB drive would give it ample room to load an existing iPhoto5 library.

When I dragged an old iPhoto5 Library onto the new iPhoto6 Library Album pane. I saw the "Importing..." start and it went on and on and on and... I let it run for HOURS and HOURS. When I checked around midnight, it had crashed. When I started it again, it said it had run across some huge number of stray photos.

I have no idea why iPhoto6 would have trouble importing an iPhoto5 library that was below the 25,000 photo mark for 5. This is especially bizarre since iPhoto6 claims it supports 250,000 photos!

I'll be trying to figure out if these stray photos got imported as dupes, if they lost iPhoto5 keywords, etc. I fear something different but equally bad happened since the number of photos it came up with was like 79,000--again many stray photos that didn't make it into the first import for no known reason. Since libraries in iPhoto5 were around 25,000 or less, I'm not sure what's happening.

Maybe there's a cache or temp file still created on Macintosh HD and not on the empty new 300GB drive and a bug exists for imports when space on Mac HD is "low" (i.e., under 3.5 GB). Maybe it's seeing thumbs as files it should import? Maybe it's seeing Orig and Modified images as worthy of reimporting?

I had told it not to import dupes but who knows if it goes by file name, checksum, byte-for-byte comparison, etc.

I'm not sure if I can even pull up iPhoto5 and 6 at the same time now to scroll through the libraries to see if dupes, thumbs, original/modifies/etc. are showing up to boost the count from under 25K to 79K!

Ideas? At least I know I'm not the only G5 dual user with this problem!

--Sam



G5 Dual 2.7 GHz 2 GB DDR SDRAM Mac OS X (10.4.4)

G5 Dual 2.7 GHz 2 GB DDR SDRAM Mac OS X (10.4.4)

Jan 26, 2006 6:29 PM in response to Darin Simmer

Well, I know these copies were generated by iPhoto6. They weren't there before. I can only assume the crashing caused these.

The problem I'm realizing now is I see new folders with the titles ORIGINAL, MODIFIED, DATA, and 1970/1999/2000/2002/2001/etc. There are all kinds of files with pictures with the wrong, and non-matching organization.

I can get more specific...?

Jan 26, 2006 7:34 PM in response to SamT

I think I know were the 'extra' photos came from. I tried the same thing - importing by dropping an iPhoto Library folder onto an open iPhoto pane and after a LONG wait found many new pictures had been 'created'. If you look at the size of the pictures you will likely find that a lot of the pictures are very small - they are thumbnails created by the program but when you dump a folder (any folder) on the program it systematically looks through all the folders and does not take into account the fact that iPhoto Library folder will have these 'junk' picutres. Also, all old versions of pictures will be present for any pictures you have modified. I hope this helps.

Jan 26, 2006 8:33 PM in response to SamT

SamT:

Welcome to the Apple Discussions. Do you have a backup copy the the earlier iPhoto library folder that was used with your iDVD projects? If so you can get those links back and be able to complete the project with that folder. If not, then you've lose them for good and had better start a new project.

If you have a backup copy of your V5 library, I suggest you do the following:

A - copy it back to your boot drive and name it to distinguish it from your current V6 library.
B - manually set the ownership and permissions on that folder as follows:
Setting Permissions for iPhoto Library Folder
1 - Select the iPhoto Library folder and type Command-I.
2 - When the Info window comes up go to the Ownership and Permissions section and make sure You have Read & Write permission and that the Owner and Group have Read & Write also. Others - Read Only.
3 - Then click on the "Apply to enclosed items..." button.

C - run the following on the V5 library folder to make sure there are no lock files in there (this is in response to users who have found that some files got locked for some mysterious reason.):
Unlocking Locked Files in Any Folder Via the Terminal

Open the Terminal application, located in the Applications/Utilties folder, and type sudo chflags -R nouchg followed by a space. (The space is important!). Drag the folder with the suspected locked files (in this case your V5 iPhoto Library folder) into the Terminal window. You will be asked to enter your administrative password. After a few seconds you can close the Terminal.

This will unlock any locked files located in that folder or any of its sub-folders.

D - make sure you have a minimum 15% or 10G free space on your boot drive, preferably more.
E - launch iPhoto with the Option key depressed and, when asked, locate your V5 library and do another conversion.

If this works as it's supposed to, I'd do the same with your V4 library before trying to convert it. Good luck.
User uploaded file

"An error occurred while trying to save your photo library..."

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