Well we are actually using the library in Phatch. When debugging I came up to that check. For each test I did it seems to work. If you think of some specific test just tell me and I'll try to test it.
Andrea -- Pb setting IPTC Tags https://bugs.launchpad.net/bugs/363873 You received this bug notification because you are a member of Phatch Developers, which is subscribed to Phatch. Status in Phatch = Photo & Batch!: In Progress Status in pyexiv2, a python binding to exiv2: Fix Committed Bug description: When setting a "string" IPTC Tags with 'str', the cached value becomes a tuple. It is also the case with some multi-valued IPTC tag (like 'Iptc.Application2.Keywords') when set with one single str value. But when the image is read again, it has its correct value. I thought it was relevant to bug #183332 (https://bugs.launchpad.net/pyexiv2/+bug/183332) but I checked: - the bug's fixe (fix N°95 in bzr) is in my version of pyexiv2 (debian 0.1.2-4+b1) - even with pyexiv 0.1.3 (with exiv2 0.18) the "bug" is still there. In [1]: import pyexiv2 In [2]: im = pyexiv2.Image("Images/p20080921_105313.jpg") In [3]: im.readMetadata() In [4]: im['Iptc.Application2.City'] Out[4]: 'coucou' In [5]: im['Iptc.Application2.City'] = 'beep' In [6]: im['Iptc.Application2.City'] Out[6]: ('b', 'e', 'e', 'p') In [7]: im.writeMetadata() In [8]: im.readMetadata() In [9]: im['Iptc.Application2.City'] Out[9]: ('b', 'e', 'e', 'p') In [10]: im = pyexiv2.Image("Images/p20080921_105313.jpg") In [11]: im.readMetadata() In [12]: im['Iptc.Application2.City'] Out[12]: 'beep' _______________________________________________ Mailing list: https://launchpad.net/~phatch-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~phatch-dev More help : https://help.launchpad.net/ListHelp

