damonlynch / rapid-photo-downloader

Rapid Photo Downloader is the leading photo and video downloader for the Linux desktop.
https://damonlynch.net/rapid
GNU General Public License v3.0
114 stars 30 forks source link

Unable to compare ExifTool version number on Arch #108

Closed sebw closed 1 year ago

sebw commented 1 year ago

Concerns Arch Linux.

When installing from either extra or AUR I was getting:

ERROR:root:Unable to compare ExifTool version number: unknown

Upon further investigation in code I realize you call exiftool while for some reason the binary on Arch is exif.

My workaround was to symlink sudo ln -s exif exiftool

damonlynch commented 1 year ago

We can add it to the list of things where Linux distros are doing something different from one another! Could you please write a patch that detects when an Arch like approach is taken, and calls the right executable?

damonlynch commented 1 year ago

This page indicates that the ExifTool package provided by Arch contains the following executable:

usr/bin/vendor_perl/exiftool

Perhaps your system contains a nonofficial ExifTool package, which contains a different executable?

sebw commented 1 year ago

After investigating this further, it turns out the exif binary is owned by the exif package. Adding /usr/bin/vendor_perl to the PATH solves this (arch) issue. Thanks! Closing for now.