-
Notifications
You must be signed in to change notification settings - Fork 117
Open
Description
When I try to init exiftool with custom config-file that describes some additional user tags I get this error:
File "/home/alex/.qgis2/python/plugins/geotagphotos/exiftool.py", line 193, in __enter__
self.start()
File "/home/alex/.qgis2/python/plugins/geotagphotos/exiftool.py", line 176, in start
stderr=devnull)
File "/usr/lib64/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib64/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Here is my simplified code:
etPath = "exiftool"
cfgFile = "/path/to/config/file"
etPath += " -config " + unicode(cfgFile)
et = exiftool.ExifTool(etPath)
with et:
md = et.get_metadata("/path/to/photo")
print md
Sample files:
Metadata
Metadata
Assignees
Labels
No labels