ambisonictoolkit / atk-sc3

An extension library for the SuperCollider programming language
GNU General Public License v3.0
74 stars 12 forks source link

convenience install method fails on macOS 10.15.7 #91

Closed telephon closed 3 years ago

telephon commented 3 years ago

This is on macOS 10.15.7, with SuperCollider being allowed to access "Files and Folders".

Atk.downloadKernels;

results in:

curl: (7) Couldn't connect to server
download error, exit code 7
If you would like to proceed with manual installation, please see the Ambisonic Toolkit webpage at ambisonictoolkit.net or run "http://ambisonictoolkit.net".openOS

Tracing it down in ATK.downloadFile, the generated command is:

"curl -L https://github.com/ambisonictoolkit/atk-kernels/releases/latest/download/kernels.zip --output '/Users/julian/Library/Application Support/SuperCollider/tmp/2023206293kernels.zip' -# 2>&1"

Which in bash gives me "No such file or directory":

"curl -L https://github.com/ambisonictoolkit/atk-kernels/releases/latest/download/kernels.zip --output '/Users/julian/Library/Application Support/SuperCollider/tmp/2023206293kernels.zip' -# 2>&1"
-bash: curl -L https://github.com/ambisonictoolkit/atk-kernels/releases/latest/download/kernels.zip --output '/Users/julian/Library/Application Support/SuperCollider/tmp/2023206293kernels.zip' -# 2>&1: No such file or directory
joslloand commented 3 years ago

@dyfer can you comment about at this?

df90fd6f9249e3239b7778b6fecba3dca5d8dbfc

dyfer commented 3 years ago

@telephon does the temp directory /Users/julian/Library/Application Support/SuperCollider/tmp/ exist?

telephon commented 3 years ago

no, this directory doesn't exist.

joslloand commented 3 years ago

NOTE to self: we'd like to resolve this before announcing release on sc-users list.

dyfer commented 3 years ago

no, this directory doesn't exist.

That's weird. On my system it gets created when recompiling the library. Which SC version are you running?

dyfer commented 3 years ago

I tested this on macOS 10.15.7 with SC 3.11.2, 3.11.1, 3.10.4, installing atk-sc3 from Quarks.gui. I cannot reproduce this problem unfortunately. Even if I manually delete ~/Library/Application Support/SuperCollider/tmp/, it gets recreated when calling Atk.downloadKernels and the installation succeeds.

telephon commented 3 years ago

Uups, sorry. I somehow must have been blind. It does exist. Sorry for making you test all this, I just saw this now.

telephon commented 3 years ago

I've just tried again, and – for the first time – was asked by the OS to allow the connection. Now it downloads perfectly well. I don't know what I've done. If anyone else runs into this, please reopen, but maybe it was just some quirk in my system.