ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: 537635 on August 11, 2015, 04:06:44 AM

Title: broken automator script 10.11
Post by: 537635 on August 11, 2015, 04:06:44 AM
I believe it is due to changed install location.

More in the macrumors post:

http://forums.macrumors.com/threads/exiftool-el-capitan-10-11.1906401/
Title: Re: broken automator script 10.11
Post by: Phil Harvey on August 11, 2015, 08:50:09 AM
Thanks.

I don't know what I can do to help here, unless the ExifTool installer messes with the system path somehow, which I would prefer not to do.

- Phil
Title: Re: broken automator script 10.11
Post by: 537635 on August 11, 2015, 03:25:00 PM
I am not sure, if it is the Exiftool or the Automator. In Terminal you can just type exiftool, while in Automator you have (in El Capitan) type the full path. I posted here, because I read that the install path has been changed in the last update.

So if somebody else will have broken Automator scripts. Just use the full path to the exiftool and that's it.
Title: Re: broken automator script 10.11
Post by: Phil Harvey on August 11, 2015, 03:47:24 PM
OK, thanks for the note.

I'm sure the problem is that the Automator uses a different default PATH, and unfortunately it appears that /usr/local/bin isn't in this path.  But you are correct that specifying /usr/local/bin/exiftool explicitly will fix the problem on El Capitan, but this isn't backward portable to older installations, so I'm really not pleased with the position that Apple has placed me in here.

- Phil
Title: Re: broken automator script 10.11
Post by: Hayo Baan on August 11, 2015, 04:28:21 PM
If I'm not mistaken, it is easily fixed by adding /usr/local/bin to paths.d in /etc.
Title: Re: broken automator script 10.11
Post by: Phil Harvey on August 11, 2015, 04:39:08 PM
Hi Hayo,

Thanks.  On OS X 10.10, /etc/paths.d is a directory, and the ExifTool 9.99 installer creates a file called /etc/paths.d/exiftool containing one line: "/usr/local/bin".  So if the new ExifTool version was installed, this should already be done.  But if the file exists, apparently it doesn't affect the automator environment somehow.

- Phil

Edit:  I forgot that the new installer should already be doing this.