Fwd: [sc-users] Unable to Install Quarks ("Failed to read quarks directory")

54 views
Skip to first unread message

daniel palkowski

unread,
May 17, 2019, 10:32:25 PM5/17/19
to nycsuper...@googlegroups.com
Can somebody help me parse James's response below?  I'm not sure why he places a git command after "1. In SC:"   is git a command SC actually recognizes?

Cheers
dp

---------- Forwarded message ---------
From: <jamsh...@gmail.com>
Date: Thu, May 16, 2019 at 8:11 PM
Subject: Re: [sc-users] Unable to Install Quarks ("Failed to read quarks directory")
To: sc-users <sc-u...@lists.bham.ac.uk>


On Thu, May 16, 2019 at 10:06 PM James Harkins <jamsh...@gmail.com> wrote:
> > ERROR: Failed to read quarks directory listing: https://github.com/supercollider-quarks/quarks.git ERROR: Primitive '_FileReadLine' failed.
> > Failed.
>
> OK, that's interesting -- I don't know why that primitive would fail,
> but it's a bit more information than before.

I thought about it a bit more overnight... The most likely reason for
"Primitive '_FileReadLine' failed" is that the file doesn't exist:

f = File("~/nonexistent-file.txt".standardizePath, "r");
l = f.getLine;

ERROR: Primitive '_FileReadLine' failed.

 -- and the most likely reason for the file not existing is that git
failed to fetch it.

So we're back to git as the culprit.

Unfortunately, when SC runs the git command, there seems to be no way
to view git's text output. So I think the next troubleshooting step
is:

1. In SC:

"git clone https://github.com/supercollider-quarks/quarks.git
%/quarks".format(thisProcess.platform.formatPathForCmdLine(Quarks.folder));

^^ In the post window, you'll find the git command text.

2. Copy/paste the command from the post window into a terminal window
and run it.

When I do it (with an empty downloaded-quarks directory), I see:

$ git clone https://github.com/supercollider-quarks/quarks.git
/home/dlm/.local/share/SuperCollider/downloaded-quarks/quarks

Cloning into '/home/dlm/.local/share/SuperCollider/downloaded-quarks/quarks'...
remote: Enumerating objects: 41, done.
remote: Counting objects: 100% (41/41), done.
remote: Compressing objects: 100% (24/24), done.
remote: Total 9730 (delta 20), reused 37 (delta 17), pack-reused 9689
Receiving objects: 100% (9730/9730), 13.11 MiB | 941.00 KiB/s, done.
Resolving deltas: 100% (2716/2716), done.

Could you copy/paste both the command and the terminal output into a reply here?

hjh

_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
search: http://www.listarc.bham.ac.uk/lists/sc-users/search/
Reply all
Reply to author
Forward
0 new messages