BMorearty/exportiphoto — Issue #14: fatalError SAXParseException
Author: maltokyo
Created: 2012-01-29 04:25:15+00:00
State: open

Im on the latest version of iPhoto 11 (ver. 9.2.1) and am having a very similar problem to this person:
https://github.com/BMorearty/exportiphoto/issues/8
Unfortunately there is no resolution to the issue above.

Below is the output I am getting. I have tried repairing iPhoto DB, and permissions etc. And there are no errors detected.

Any ideas would be greatly appreciated!! I will try anything, and am desperate to output my photos with the same name as the event... but far too many to do manually.
Thank you for the work done on this already, it is exactly what I need.. If I get it working, I will report back here. But so far have spent hours trying different things, but to no avail.

Output from the script:
_____________________________________
python ./exportiphoto.py -d /Volumes/HDD/iPhotoLibrary/ /Users/mt/tmp2/
* Parsing iPhoto Library data... Traceback (most recent call last):
File "./exportiphoto.py", line 579, in
ignore_time_delta=options.ignore_time_delta
File "./exportiphoto.py", line 69, in __init__
self.parseAlbumData(albumDataXml)
File "./exportiphoto.py", line 137, in parseAlbumData
doc.expandNode(node)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/dom/pulldom.py", line 253, in expandNode
event = self.getEvent()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/dom/pulldom.py", line 265, in getEvent
self.parser.feed(buf)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/sax/expatreader.py", line 211, in feed
self._err_handler.fatalError(exc)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/sax/handler.py", line 38, in fatalError
raise exception
xml.sax._exceptions.SAXParseException: :359226:31: not well-formed (invalid token)