You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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

Photo sync issues after 10.8.2, iOS 6, iPhoto 9.4 upgrades

After doing all the upgrades noted above, I was unable to sync my photos to either my iPhone or iPad. The sync would stop with an unknown error 1140 message. I tried all kinds of things, including deleting the iPod Photo Cache folder, restoring the iPad software and setting it up as a new device, and rebuilding the iPhoto library. If I unchecked the sync photos option in iTunes the sync would run to completion (but of course not sync any photos!). There were two other oddities in all this. First, when I would check the iTunes box to sync photos, the option to select specific events was greyed out. Also, even though there appeared to be no photos on the iPhone or iPad, the little disk usage bar in iTunes would show a couple GB of space allotted to photos. Clearly something was hosed.


The only way I could finally get things working was to pull a pre-iPhoto 9.4 photo library off of Time Capsule. I also deleted the iPhoto 9.4 application from the Applications folder and pulled the previous version of iPhoto off of Time Capsule. Now both the iPad and iPhone will sync properly in iTunes again, the disk usage seems right and the option to choose what photos to sync is no longer greyed out.


But now I don't really want to upgrade to iPhoto 9.4 again. Anyone have similar issues or thoughts about what the problem might be?


James

OS X Mountain Lion (10.8.2)

Posted on Sep 20, 2012 5:07 AM

Reply
267 replies

Sep 21, 2012 11:16 AM in response to BrianInCalifornia

BrianInCalifornia wrote:


Rexpo wrote:


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.

Sep 21, 2012 11:56 AM in response to Andrew Patterson

Thank you! Your solution worked for me. But I had to change the "&" for "&" in two xml files and one folder:


Pictures/IPhoto Library/Albumdata.xml

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"

Sep 21, 2012 1:03 PM in response to Andrew Patterson

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.

Sep 21, 2012 1:47 PM in response to ubic

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.

  1. Right click on your iPhoto Library (in your "Pictures" folder) and choose "Show Package Contents"
  2. Find the "AlbumData.xml" file and open it in TextEdit or any other text editor
  3. 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.
  4. 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>

  5. Close the "AlbumData.xml" file, and close the "iPhoto Library" folder.
  6. Now open up iPhoto.
  7. Look for the album with the same name as the one you found in the file, and click on it.
  8. Click the "Play" icon
  9. 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)
  10. 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.
  11. 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.

Sep 21, 2012 2:13 PM in response to Joseph Delaney

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"

Sep 21, 2012 2:19 PM in response to canecaster

iPhoto 9.4 isn't creating the "&", what it is doing is incorrectly using a plain "&" instead of a special "&amp;" code (the "&" has a special purpose in XML, using "&amp;" tells iPhoto and iTunes that it's just a regular ampersand character - not the "special purpose" XML).


The same thing can happen if one of your songs uses a quotation, apostrophe, greater-than, or less-than symbol - you can see the "XML Entities" on this wikipedia page (only the shorter list at the top of the page, not the long one).


"&" is just the most likely one, and it's the easiest to find.


If you don't have many photo albums, you could also just try going through each photo album in iPhoto, and setting a song to use for the slideshow, one-by-one.

Photo sync issues after 10.8.2, iOS 6, iPhoto 9.4 upgrades

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