Failing to parse a raw value silently fails
Bug #644143 reported by
Olivier Tilloy
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyexiv2 |
Fix Released
|
High
|
Olivier Tilloy |
Bug Description
Version of pyexiv2: bzr head (lp:pyexiv2 as of 2010-09-21, revision 325).
Version on libexiv2: 0.20.0
Script to reproduce the issue:
import pyexiv2
fn = 'test/data/
m = pyexiv2.
m.read()
value = '2 0 0 0 '
m['Exif.
m.write()
del m
m = pyexiv2.
m.read()
assert(
Expected result: no-op.
Current result: an AssertionError is raised.
Changed in pyexiv2: | |
milestone: | none → 0.3 |
Changed in pyexiv2: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Note: the behaviour seems to be different if the tag is already present in the image. If not present yet, it will be written with an empty value as shown in the script above. If already present, its value is simply not overwritten.