feenkcom / gtoolkit

Glamorous Toolkit is the Moldable Development environment. It empowers you to make systems explainable through experiences tailored for each problem.
https://gtoolkit.com
MIT License
1.13k stars 49 forks source link

Unable to Install on MacOS 10.15.7 #2853

Closed kmcheung12 closed 2 years ago

kmcheung12 commented 2 years ago

When installing with the Mac Intel installer, it fails with exit code 2

When opening the GlamorousToolkit.app through command line open ~/Downloads/GlamorousToolkit-MacOS-x86_64-v0.8.2092/GlamorousToolkit.app

It failed with

LSOpenURLsWithRole() failed with error -10810 for the file /Users/cheung/Downloads/GlamorousToolkit-MacOS-x86_64-v0.8.2092/GlamorousToolkit.app.

When installing through command line curl https://dl.feenk.com/scripts/mac.sh | bash It failed at the 🔨 Building Glamorous Toolkit... stage with message

Error: Command "/Users/cheung/Downloads/glamoroustoolkit/GlamorousToolkit.app/Contents/MacOS/GlamorousToolkit-cli" "/Users/cheung/Downloads/glamoroustoolkit/GlamorousToolkit.image" "st" "--quit" "--save" "" "load-gt-main.st" failed. See install.log or install-errors.log for more info

In the install.log, the message is

I got an error while cloning: There was an authentication error while trying to execute the operation: .
This happens usually because you didn't provide a valid set of credentials.
You may fix this problem in different ways:
1. adding your keys to ssh-agent, executing ssh-add ~/.ssh/id_rsa in your command line.
2. adding your keys in settings (open settings browser search for "Use custom SSH keys" and
add your public and private keys).
3. using HTTPS instead SSH (Just use an url in the form HTTPS://etc.git). I will try to clone the HTTPS variant.

Please advice what format I shall use in reporting issue and what additional information I can provide. Appreciate your help.

Thank you

StephanEggermont commented 2 years ago

Hi

You can not install and run applications in Downloads. That is a (well-known/hated) MacOS feature. They are sandboxed.

refactoringdr commented 2 years ago

One other possibility is that GitHub throttles https connections, so I've found that when building GT from the curl script, I get failures sometimes if I've forgotten to use ssh-add to add my credentials (so it can use authenticated connections)

seandenigris commented 2 years ago

Are these pro tips available in the docs?

refactoringdr commented 2 years ago

That one I've figured out on my own (since I always forget to run ssh-add after a reboot.

kmcheung12 commented 2 years ago

Hi

You can not install and run applications in Downloads. That is a (well-known/hated) MacOS feature. They are sandboxed.

Thanks for the pointer. As I am getting a taste of the smalltalk ecosystem, I had installed the pharo launcher from the Downloads directory without any problem earlier today.

Anyway, I moved the installer to other directories and it solved the problem. Thank you again for taking the time to look into this issue! I'm closing this issue and consider it resolved.