Replies: 1 comment
-
Glad you figured it out. Thanks for posting the fix! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello. I'm a Macports user, and so the python, perl, exiftool, etc. installs I use come from Macports.
Recently (I'm a sporadic user so can't say exactly when) osxphotos stopped working for me - it would appear to hang at the point it tried to actually export a photo.
After some debugging and pointers from the r/osxphotos subreddit, I discovered the problem was caused by an upstream change to exiftool, which changed the 1st line of the exiftool script to
#!/usr/bin/env perl -w
. Unfortunately, when exiftool was run by osxphotos, this new first line returned system perl, not Macports perl, which in turn meant that theImage::ExifTool
library wasn't in perl's @inc path. Annoyingly,exiftool
worked from the command line, butosxphotos --exiftool
didn't.The fix was to edit exiftool to use
#!/opt/local/bin/perl -w
and now everything works again.Posting this in case anyone else runs into this issue; have a couple of hours of your life back!
Beta Was this translation helpful? Give feedback.
All reactions