Bionus / imgbrd-grabber

Very customizable imageboard/booru downloader with powerful filenaming features.
https://www.bionus.org/imgbrd-grabber/
Apache License 2.0
2.47k stars 215 forks source link

Cannot execute "exiftool" on Mac, even though it is present in PATH #2778

Open ghost opened 2 years ago

ghost commented 2 years ago

Bug description

Even though "exiftool" is installed in the PATH on a Mac, Grabber is unable to execute it. I've also tried to install it to the installation directory (Grabber.app/MacOS/), but that does not appear to work, either.

Steps to reproduce

  1. On a Mac computer, install the exiftool executable to the PATH.
  2. Check if Grabber acknowledges the presence of the exiftool executable under Save -> Metadata.
  3. Grabber shouldn't detect the executable.

Expected behavior

I expected Grabber to be able to find and execute the exiftool binary. I've looked through a few user reports on Discord, and this appears to only affect Mac systems, not Windows.

Context

Note that both main.log and settings.ini files can be found in C:/Users/%USERNAME%/AppData/Local/Bionus/Grabber in Windows, and in the installation directory on Linux.

Screenshots

Screen Shot 2022-08-04 at 3 51 38 AM

The Exiftool executable is installed, but Grabber is unable to start it.

System information

Additional context

There have been some reports of QProcess.Start failing to launch an executable on Mac while working perfectly on Windows. Can Exiftool perhaps come bundled with Grabber or can Grabber add functionality to define the full path to the executable rather than relying on the system's Path variable?

bestbooru commented 7 months ago

You should try running the "Grabber" Unix Executable directly inside of the Grabber.app, because I have the same problem unless I start Grabber from the Executable.