They do have git on their machines, so that isn’t it. One time the only solution appeared to be to bluntly copy a SuperCollider application support folder from another machine, but I’d like to know how this issue can be solved and if it is a bug or not.
When this error occurs, what is in the downloaded-quarks folder?
Which OS? In the past, I’d found that quarks git integration was basically totally broken in Windows. To my knowledge, that hasn’t been fixed but I could be wrong.
This sort of git issue is really hard to troubleshoot…
(Edit: The specific error “Error: Failed to read quarks directory listing” because “Primitive ‘_FileReadLine’ failed” occurs because downloaded-quarks/quarks/directory.txt doesn’t exist, which would be the case if the git checkout failed. That can be for a whole lot of reasons that are outside of SC’s direct control. In Windows, the most likely reason is that the git calls simply don’t work on that platform (to my knowledge). On Mac… I don’t know without more info.)
I’ve seen it on various macOS machines. The latest occurrence was fixed by manually deleting the downloaded-quarks folder and trying again. It was a vanilla install of SuperCollider so it somehow created the apparently faulty folder itself…
I’ve seen this issue on different systems over the years. And today, once again, trying to do a fresh install on a friends MacBook Air. Did you ever find a solution to this?
Git is installed on her system (”which git”.unixCmd returns /usr/bin/git) but it seems SuperCollider can’t find it because ”git version”.unixCmd returns only the process id.
The downloaded-quarks folder is empty and I also tried deleting it. Any ideas?
What happens if you run git version in a regular Terminal window? I wonder if your friend needs to run xcode-select --install for the first time on that system.