11 Replies Latest reply: Feb 14, 2008 1:56 PM by lizofpnm
lizofpnm Level 1 Level 1 (0 points)
I have a problem with some of my photos.
When I open iMovie or iDVD my iPhoto library does not show up. Apparently there are some corrupt pictures.
Anyone know of a quick way to find the pictures that are corrupt?

iMac, Mac OS X (10.4.10)
  • Smtr Level 5 Level 5 (5,450 points)
    Hi.

    This could be related to the problem you were having with your keywords not being separated with commas. You see, the keywords are contained in iPhoto's albumdata.xml file, which is what enables the other applications to read your library. So if there is a glitch with the keywords, or the xml file is malformed, the library won't show up in the Media Pane of the other applications.

    First, is your iPhoto library being run from an external hard drive? If so, make sure the name of that drive has no non-ascii characters (anything other than a-z and 0-9). For example, I've seen this happen if the drive is named "Pictures & Movies" where the & caused the whole problem. An external drive should be formatted Mac OS Extended. Post back if yours is not.

    If an external hard drive is not the problem, then you need to open iPhoto's Preferences and check your keyword list there. Look for non-ascii characters and remove them. Also be sure that there are no spaces at the beginning or end of the keywords. Spaces between words in a 2-word entry have not caused me this problem.

    For more detailed information, read this thread: http://discussions.apple.com/thread.jspa?messageID=3870956
    Dave E gave great instructions on how to read the xml file to identify if one of the keywords is causing the trouble. You can't correct the problem from inside the xml file, but if you identify a bad keyword you can go back to iPhoto's keyword Preferences and correct it. Farther down the thread I posted some screenshots to help illustrate a possible cause.

    Post back here if you have any questions.
    Regards.
  • lizofpnm Level 1 Level 1 (0 points)
    Is my albumdata.xml file supposed to be a PBEM Game File? That is what shows up when I try to open it (though I can open with text editor when I right click).
    I was just wondering if it shows up as the wrong kind of file if that is the problem.
  • Smtr Level 5 Level 5 (5,450 points)
    Mine launches Safari if I double-click on it. Click once to select it, do File > Get Info and see what it says for "Kind". Mine says:

    Kind: XML Document

    Farther down it has "Open with" set to Safari. I don't know if that's relevant or not. Right-clicking to open in Text Edit is a good way to open it. What do you get for Kind?
  • lizofpnm Level 1 Level 1 (0 points)
    I get pbem game file for kind.
  • Smtr Level 5 Level 5 (5,450 points)
    This is the first time I've seen that.
    Just to check, we're talking about the AlbumData.xml file that is inside your iPhoto Library folder, yes? If so, try moving it out of the iPhoto Library folder to your Desktop. Then launch iPhoto, which will recreate that file. Look at the new one and see what is reported for kind.
  • lizofpnm Level 1 Level 1 (0 points)
    Yes, we are talking about the AlbumData.xml file that is inside my iPhoto library folder. I removed it from the folder in finder. relaunched iPhoto, a new albumdata file came up and it is still identified in kind as a pbem game file.
  • Smtr Level 5 Level 5 (5,450 points)
    Select the file again and do Get Info. Where it says "Open with" change it to Safari.

    Go to Macintosh HD/ Users/ (your user name)/ Library/ Preferences and trash the com.apple.iPhoto.plist file. You'll have to reset iPhoto's Preferences the next time you launch.

    Look at the xml file again and see if the kind has been corrected.
  • lizofpnm Level 1 Level 1 (0 points)
    no It did NOT change the PBEM game file indication on what kind of file it was. But it did give me the opportunity to apply keywords to my 6000 photo library.
  • lizofpnm Level 1 Level 1 (0 points)
    Nevermind, my keywords are still there, it had just unclicked that option.
  • Smtr Level 5 Level 5 (5,450 points)
    Well, I'm stumped.

    Have you followed Dave E's instructions to read the keyword portion of the xml file to try to identify a problem keyword?

    As for the file kind, You've reached the end of my little sphere of knowledge. I don't know if this is the problem, and if it is how to correct it. Hopefully someone smarter than me (you know who you are ) will chime in here with a suggestion or two.

    Regards.
  • lizofpnm Level 1 Level 1 (0 points)
    I don't know why, but installing iLife 08 fixed the problem.