-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Command-line utilities not found when tarsnap is installed through Homebrew #168
Comments
How did you run the GUI? And what exactly did you do that encountered the error? If this is failing, it might be an issue with the Homebrew formula. |
I ran into this once too. I'm not sure how to replicate it, but I noticed something strange in the logs when I ran Tarsnap.app for the first time:
On the other hand, I tested the new cask formula on a fresh laptop and got no issues. |
Note to self: if you run
then it'll inherit the |
Also note to self: you can test with
to see the debug console log messages. |
Huh, I thought that I fixed this (at the time) in #204. Oh well. It's a problem again now for Apple Silicon machines, since homebrew changed the installation directory. They deliberately do not include the command-line utilities in their PATH https://docs.brew.sh/FAQ#my-mac-apps-dont-find-homebrew-utilities. Fortunately, there's an easy solution: in addition to searching (In theory, we could pick the directory based on what type of architecture we're running on, like Tarsnap/tarsnap@87a1be9, but I don't think we need to complicate it like that.) |
Fixed in master, but I'll leave this issue open until we release 1.0.3. |
I installed tarsnap through Homebrew and went to run the GUI but it couldn't find the utilities. If I enter "/usr/local/bin" it will let me proceed. Maybe it should check this folder (or better yet PATH)?
The text was updated successfully, but these errors were encountered: