Replies: 5 comments 17 replies
-
Hi, Not sure what's going on and not sure where to ask so I am doing so here. Using this via cygwin on windows, (python 3.6) exiftool is install and Its reading tags just fine, trying to use the execute method to change the date taken. Doing the following:
Its not updating the date takent though (in fact its clearing it out), Running this at the command line works no problem: Here's the logger output (trying a few different things, curious it does not like -P: |
Beta Was this translation helpful? Give feedback.
-
Thank you for that, I do think the doc update is helpful regardless, the 03/26/2022 09:43:07 PM only sent 1 parameter though and after updating I still am not seeing the date correctly reflected in the file. So this is failing: (it says image updated in the debug) any ideas? If you give me a file/line to edit I can go try and debug for you |
Beta Was this translation helpful? Give feedback.
-
I just added print('proc_args',proc_args) to line 734 of exiftool.py v0.5.3 and got this: |
Beta Was this translation helpful? Give feedback.
-
Ok, so this is strange. When I update via pyexiftool I can see the Date/Time Original tag via your method above (and calling exiftool via cmd line) but not right clicking on the details in windows explorer (or in the windows explorer preview) but if I update via subprocess or cmd line myself, I can see the data in windows. Any ideas why that would be? |
Beta Was this translation helpful? Give feedback.
-
I noticed you're working on error messages in this update. Do you have any plans to make the errors more verbose—maybe passing on Exiftool's error messages from stderr with the exception? I've recently had to debug some instances of
Maybe it would serve a greater purpose if put in front of the user? |
Beta Was this translation helpful? Give feedback.
-
Released to PyPI
ExifToolHelper's get_tags()
andset_tags()
checks tag names to prevent inadvertent write behavior.ProcessStateError
->ExifToolProcessStateError
ExifToolExecuteException
for all execute() related errors which returnsstdout, stderr, returncode, cmd
of offending commandOutputEmpty
->ExifToolOutputEmptyError
OutputNotJSON
->ExifToolJSONInvalidError
ExifToolHelper()
has some static helper methods which can be used when extending the class (ExifToolAlpha.set_keywords_batch()
demonstrates a sample usage).ExifToolAlpha.get_tag()
updated to make it more robust.This discussion was created from the release v0.5.3.
Beta Was this translation helpful? Give feedback.
All reactions