Some Exif tags cannot be written while they are writable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Phatch |
New
|
Undecided
|
Unassigned |
Bug Description
L.S.
try to use Phatch as an alternative to exiftool (specially the "vangnet" function)
To change the following Exif tags, but that was not allowed.
Exiftools does allow them, so they are writable
Error 0:Kan niet actie Tag Schrijven toepassen op beeld 'Me.jpg' in map:
/home/wil/Pictures
Tag "Exif_Image_
Action:{'fields': {'Tag (Exif, Iptc)': u'Exif_
'Value': u'TEST',
'enabled': 'yes'},
'label': 'Write Tag'}
Traceback (most recent call last):
File "/usr/share/
photo = action.apply(photo, read_only_settings, cache)
File "/usr/share/
info[tag] = value
File "/usr/share/
self.assert_
File "/usr/share/
raise NotWritableTagE
NotWritableTagE
*
Error 1:Kan niet actie Tag Schrijven toepassen op beeld 'Me.jpg' in map:
/home/wil/Pictures
u'Onmogelijk om tag "Iptc_Applicati
Action:{'fields': {'Tag (Exif, Iptc)': u'Iptc_
'Value': u'2',
'enabled': 'yes'},
'label': 'Write Tag'}
Traceback (most recent call last):
File "/usr/share/
photo = action.apply(photo, read_only_settings, cache)
File "/usr/share/
info[tag] = value
File "/usr/share/
% (_('Impossible to write tag "%s"') % tag, message))
KeyError: u'Onmogelijk om tag "Iptc_Applicati
*
My manual lenses are not properly detected by my camera. Overwriting the tag "Exif_Photo_ LensModel" using the Image Inspector works fine, but phatch returns an error:
Error 0:Can not apply action Write Tag on image 'DSC08918.ARW' in folder: tmp/phatch
/home/martin/
Format ARW does not support overwriting "Exif_Photo_ LensModel" .
Action:{'fields': {'Tag (Exif, Iptc)': u'Exif_ Photo_LensModel ',
'Value' : u'Takumar 50mm F1.4',
'_ _enabled_ _': 'yes'},
'label': 'Write Tag'}
Traceback (most recent call last): phatch/ phatch/ core/api. py", line 614, in apply_action_ to_photo phatch/ phatch/ actions/ write_tag. py", line 49, in apply phatch/ phatch/ core/pil. py", line 324, in __setitem__ assert_ writable( tag) phatch/ phatch/ core/pil. py", line 429, in assert_writable rror: Format ARW does not support overwriting "Exif_Photo_ LensModel" .
File "/usr/share/
photo = action.apply(photo, read_only_settings, cache)
File "/usr/share/
info[tag] = value
File "/usr/share/
self.
File "/usr/share/
% {'format': self['format'], 'tag': tag})
NotWritableTagE
*
------- ------- ------- ------- ------- ------- ------- -----
content of phatch-file:
{'actions': [{'fields': {'Tag (Exif, Iptc)': u'Exif_ Photo_LensModel ',
'Value' : u'Takumar 50mm F1.4',
'__ enabled_ _': 'yes'},
'label' : 'Write Tag'},
{ 'fields' : {'File Name': u'<filename>',
'In' : u'<folder>/phatch',
'__ enabled_ _': 'yes'},
'label' : 'Save Tags'}],
'description': '',
'version': '0.2.7'}