Pb setting IPTC Tags
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Phatch |
Triaged
|
Medium
|
Unassigned | ||
pyexiv2 |
Fix Released
|
High
|
Olivier Tilloy |
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.Applicati
But when the image is read again, it has its correct value.
I thought it was relevant to bug #183332 (https:/
- 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.
In [3]: im.readMetadata()
In [4]: im['Iptc.
Out[4]: 'coucou'
In [5]: im['Iptc.
In [6]: im['Iptc.
Out[6]: ('b', 'e', 'e', 'p')
In [7]: im.writeMetadata()
In [8]: im.readMetadata()
In [9]: im['Iptc.
Out[9]: ('b', 'e', 'e', 'p')
In [10]: im = pyexiv2.
In [11]: im.readMetadata()
In [12]: im['Iptc.
Out[12]: 'beep'
Related branches
Changed in phatch: | |
assignee: | nobody → Andrea Ambu (andreambu) |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in pyexiv2: | |
status: | Fix Committed → Fix Released |
Thanks for the report.
This bug should be fixed in the 0.2 branch.