Hi Jason,
I reckon that there is a problem with the EXIF data. I downloaded the
test images from EXIF.py and tried to open PaintTool_sample.jpg.
(https://sourceforge.net/project/showfiles.php?group_id=187210)
This is what I got from the parse:
>>> import kaa.metadata as metadata
>>> info = metadata.parse('PaintTool_sample.jpg')
2008-10-19 14:36:35,455 [ERROR] factory(153): parse error
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/kaa/metadata/factory.py", line
143, in create_from_file
return parser(file)
File "/usr/lib/python2.4/site-packages/kaa/metadata/image/jpg.py",
line 117, in __init__
exif = EXIF.process_file(fakefile)
File "/usr/lib/python2.4/site-packages/kaa/metadata/image/EXIF.py",
line 1194, in process_file
hdr.decode_maker_note()
File "/usr/lib/python2.4/site-packages/kaa/metadata/image/EXIF.py",
line 1020, in decode_maker_note
make=self.tags['Image Make'].printable
KeyError: 'Image Make'
Cheers,
Duncan
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Freevo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel