I followed Canecaster's lead and restored iPhoto 9.3.2 from Time Machine. I also restored my iPhoto library from a couple of days ago. (I don't know whether iPhoto 9.4 corrupted the photos or the library.) And predictably, I can now sync again. I will be ready to set up my new iPhone, which purportedly left the factory in China today and should get to me next week.
I'll be interesting to see how long it takes Apple to fix the iPhoto 9.4 problems. In the meantime, the little red circle with a "1" in it will taunt me from the OSX App Store icon in the dock, daring me to once again download iPhoto 9.4.
I have the same problem here - OS X 10.7.5, then upgraded iPhoto to 9.4 yesterday. Thank god for Time Machine, I'm rolling back to iPhoto 9.3.
Right -- thank God for Time Machine! I just rolled back to iPhoto 9.3.2 and restored my iPhoto library. Everything is back to normal. No 1140 error, the options to sync selected events and other items are back, and my photos synced to my iPod with no issues.
Yep - works here too - no more greyed out sync options, and I'm now successfully syncing my 6000 pictures back to my iPhone.
Thank you! Your solution worked for me. But I had to change the "&" for "&" in two xml files and one folder:
Pictures/IPhoto Library/ILife Shared/Albumdata2.xml
Music/ITunes/ITunes Music/John Lennon & Yoko Ono
Using TextEdit I chaged the following in both xml files: "John Lennon & Yoko Ono" for "John Lennon & Yoko Ono." The folder called "John Lennon & Yoko Ono" I renamed "John Lennon and Yoko Ono"
Thanks for the hint! I was able to solve it for me based on that information.
Editing the XML directly is not the solution, of course, because it gets overwritten soon.
But I just searched the XML for the song names that contained the "&" character and looked what album they belong to. Then I launched iPhoto and just set a different Diashow song for that album (or just deleted the album).
It works! I can successfully sync my iPhoto photos on my iPhone again.
Wow. My thanks to Andrew for figuring out the problem with the ampersands in the XML files. That's brilliant.
Here's how to fix it without editing the XML, in a way that should stick.It takes a bit longer, but it's safer than editing the files directly. You'll still have to look at the XML files to figure out what album to change.
- Right click on your iPhoto Library (in your "Pictures" folder) and choose "Show Package Contents"
- Find the "AlbumData.xml" file and open it in TextEdit or any other text editor
- Search (command-F) for "& " - don't include the quotation marks, but do include a single space after the ampersand. It should take you right to the name of the song that's the problem.
- Do not change anything! Just look in the lines immediately above the song name, for the name of the Photo Album that's using that song in it's slide show. It will look something like this, if the name of the album was "Vacation Pictures":
<key>AlbumName</key> <string>Vacation Pictures</string>
- Close the "AlbumData.xml" file, and close the "iPhoto Library" folder.
- Now open up iPhoto.
- Look for the album with the same name as the one you found in the file, and click on it.
- Click the "Play" icon
- You should see some options for the slide show (if the slide show starts playing, just move your mouse and click the "music" icon to get there)
- On the music tab, cilck the "custom playlist" checkbox, and drag any song (make sure it doesn't have an "&" in the song name, album name, or artist name) into the custom playlist box.
- Click "Play"
That will safely and permanently remove the ampersand from the slideshow, so when you go back to iTunes you should be able to sync selected albums.
Success! Thank you Mr. Delaney. It worked just as you said.
One FYI for those attempting this fix... Make sure you're working on the Album, not the slideshow. The offending album im my AlbumData.xml was "ABCD Slideshow" so I worked on that slideshow with no success. I realized that the "ABCD" album that built the slideshow was buried in a folder of old travel photos. I found it, followed your procedure and viola! All is right with the world once more. Thanks again.
Oh, and Apple... you're making it difficult to remain an unrepentant Fanboy. This is "insanely bush league"