tfeldmann/organize

exif data can't be read on M1 osx laptops

jleatham opened this issue · 2 comments

Describe the bug
When reading exif data, the system throws an error:

    actions:
      - echo: "datetime: {exif.image.datetime}"

output:
not useful error:

  IMG_4756.HEIC 
    - (exif) ERROR! hdlr

Solution found in random thread: ianare/exif-py#160

pip install "exifread<3" solved this for me.

I'm on macOS (Apple silicon).

This allowed exif to start working properly.

organize, version 2.4.0
osx : 12.6.1, M1 Mac apple silicon

Stumbled across this while searching for the error message, I doubt it's the M1s fault but something apple does with the heic files, since I encountered this error on fedora on x86_64. The proposed solution also solved the issue for me

I can reproduce this for HEIC images. I'm submitting an update to fix this.