Closed larseggert closed 11 years ago
I'll have a look at this as soon as I can. If possible, a copy of your AlbumData.xml file would help me track it down. I understand if you don't want to provide it, though.
I'd rather not. But lines containing empty strings seem to be the problem. (Because after I edit them out, the file parses OK.)
No problem -- I understand completely. What version of iPhoto are you using (Apple's app, not my plugin)?
9.2.3
I'm really sorry it's taken me so long to get to this.. but after looking at it a bit, I think I agree with the error it is throwing -- it is in fact invalid. Could you at least provide me with the surrounding XML for one of those images that has an empty token for OriginalType/ImageType?
I can force the issue on one of my own images, but the problem is that this is a valid error. The fix might ultimately be on your end, rather than working around it in the addon (which would be hard, to be honest, because I'd have to differentiate this from a 'real' error, and I don't know enough about what caused it to do that).
Closing due to inactivity. iphoto_parser.py error handling has since been revamped and may correct this anyway.
I'm getting error in the debug log like this:
when lines contain stuff like:
or
(And note that I needed to add that underscore in the closing string tag between the less-than and the forward-slash, because github wouldn't show the line otherwise.)