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
Toolbox fails to launch on macOS Sierra #56
Comments
Hi, I can reproduce the behavior when I double-click TLA+ Toolbox.app in the Downloads/ folder. However, if the TLA+ Toolbox.app is first moved to /Applications manually, it opens correctly. As far as I remember, this is a security mechanism of macOS Sierra, such that it sandboxes applications that are run from Downloads/. The Toolbox does not support running in this sandbox. |
moving it to /Applications doesn't seem to have any positive effect for me |
Which version of macOS are you on? I'm on 10.12.5. |
same |
I have SIP disabled, as well. can I verify expected permissions? I've had problems from time-to-time with various unarchiving tools and permissions on the extracted files |
This issue related to a security feature of macOS Sierra called "Translocation" or "Gatekeeper Path Randomization" seems to describe what you are seeing. The gist appears to be, that you have to use the Finder to move the Toolbox to /Applications, which disables Translocation. Translocation is apparently active for all apps launched from the Downloads/ folder. A Translocation is read-only, which stops the Toolbox from launching. |
You need to remove the quarantine flag from the directory, you can do it with: |
Thanks, didn't know this. I'll try it now. |
Yes, it works if I use Finder.app to move the file. But I normally use Cocoatech's Path Finder, which doesn't seem to remove the "quarantined" flag! |
Moving with Finder.app and |
Here's the error log — missing libraries? tla_error.log (300kb plaintext log) |
@bitemyapp Please install Java JDK 1.8 for macOS from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html |
@lemmy I think I had the JRE rather than the JDK. I'll try this, thank you! |
/.toolbox But JDK is installed. |
@tancorko Which version of the JDK (java -version)? |
@lemmy 8 update 192 (build 1.8.0_192-b12) |
@tancorko That should work fine. Can you try to hardwire the Toolbox to a specific JVM following these instructions? Just replace "eclipse" with "toolbox". |
@lemmy Yes, it works. Thanks a lot! |
Where in the .ini file do I add the "-vm" and then the path, which for me is "/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home/bin/java" if I am interpreting the tutorial correctly? @lemmy could you lend a hand? Don't want to open a new support threat because my problem is so similar. I've already added the "-clean" right before "-vmargs" and still have the same issue: error and failure to start upon launching. |
@jasonkrasavage Below is how it is done on Linux which is almost identical to macOS.
|
Believe I have that correct then, what is my issue?
|
After reinstalling Java JDK 1.8 for macOS from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html it is working, thank you |
I downloaded v1.5.3, opened the archive, and double-clicked on
TLA+ Toolbox.app
. The splash came up, but then I received an error alert referring me to a logfile, the contents of which are here.I should note that the path noted in the log does not actually exist.
/var/folders/7f/7vr9hv5j35zd_0k42n8m4xhw0000gs/T/AppTranslocation/C0F121AC-80E0-4D2B-B2D6-BD2E6600F10F/d/TLA+ Toolbox.app/Contents/MacOS
exists, but that directory only contains atoolbox
directory. There is noworkspace
directory.Workaround: Launching the app from my console via
/Applications/TLA+\ Toolbox.app/Contents/MacOS/toolbox
does launch the program, however.The text was updated successfully, but these errors were encountered: