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:
/home/martin/tmp/phatch
Format ARW does not support overwriting "Exif_Photo_LensModel".
Traceback (most recent call last):
File "/usr/share/phatch/phatch/core/api.py", line 614, in apply_action_to_photo
photo = action.apply(photo, read_only_settings, cache)
File "/usr/share/phatch/phatch/actions/write_tag.py", line 49, in apply
info[tag] = value
File "/usr/share/phatch/phatch/core/pil.py", line 324, in __setitem__
self.assert_writable(tag)
File "/usr/share/phatch/phatch/core/pil.py", line 429, in assert_writable
% {'format': self['format'], 'tag': tag})
NotWritableTagError: Format ARW does not support overwriting "Exif_Photo_LensModel".
*
------------------------------------------------------
content of phatch-file:
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'}