On Mac OS X, if you have iPhoto 6 and re-index your drive for Spotlight you won't be able to search any of your photos. This is a serious problem since the only way to search your photos is through iPhoto, completely rendering Spotlight useless for photos searches.
- Enjoy this article? Help vote it up the 'Vine.
- Public Discussion (2)
Found something on macosxhints.com
Check if you have multi-line comments (with newline char). According to the post, it causes mdimport to choke when importing. Here is the post entry to save you some time:
iPhoto allows you to place comments on Folders, Albums, and Smart Albums.
However, if the comment is multiline the newline causes mdimport to choke on
AlbumData.xmlTo reproduce:
- In iPhoto, File -> New Folder
- Select the new folder in the iPhoto Source pane.
- In the iPhoto Information pane (click (i) if needed to expose it), click in
the comments box and then type any multiline comment. e.g.
"helloworld"
- Quit iPhoto
- In the Terminal, run mdimport on the library:callisto:~/Pictures/iPhoto Libraries% mdimport Test
*** Parsing file: '/Users/jay/Pictures/iPhoto Libraries/Test/AlbumData.xml'
ERROR: syntax error (PhotoCount)Single line comments work fine. I believe the problem is that iPhoto places
the newline literally in the XML file instead of escaping it:Comments
hello
worldThe same problem occurs when placing multiline comments on Albums and Smart
Albums (I didn't test other sources such as Slideshows or Books).Multiline comments on images appear to work fine, though I note the newline is
not escaped in the XML file on them either.This is with iPhoto 6.0.2 and 10.4.5.
Bwana: Comments and titles are searched fine. Since it literally writes to the file. This is a problem with iPhoto not writing the keywords to the file system anymore since 06....
- 1 vote
You're in Easy Mode. If you prefer, you can use XHTML Mode instead. |



