Quarks.gui
will open a window but there is nothing listed.
I tried clicking on Check for Updates thinking it might just need to be populated (I’ve never opened it on this machine) and I get this error in the post window
ERROR: Failed to read quarks directory listing: https://github.com/supercollider-quarks/quarks.git
ERROR: Primitive '_FileReadLine' failed.
Failed.
Am I missing a step?
Quarks automatic download requires git version control software .
However, I’ve never been able to get quarks to work automatically in Windows. The git subprocess returns with an error and then sclang hangs. (At least that was the case a couple years ago; I’m pretty sure it hasn’t changed much since then.) There are already bug reports filed.
hjh
thanks. manual downloads it is!
I use windows, and it works for me v3.11.2 for the last 4 months or so.
when you installed git did you do anything other than the defaults? it was still giving me trouble. I’m on Windows 10 Pro 20H2
No. Do you have the environment variable set? If you open SC as admin does it change?
Probably not, I didn’t know I needed to set anything. What environment variable do I need to set?
I just run Quarks.gui
and get an empty window.
I think when you install git for Windows, depending on how you installed it, it should have an option to set git in your PATH. This way its global in your environment.
Otherwise try this:
https://www.answerlookup.com/how-add-git-windows-path-environment-variable
Then I would re-install SuperCollider, and if that doesn’t work let me know. Also reboot.
If none of this works, is the “recompile class library” button greyed out in the Quarks window?
If you navigate to: C:\Users\<you>\AppData\Local\SuperCollider\downloaded-quarks\quarks\
and open “directory.txt” what’s in it?
I have had this problem twice last year, and there is an issue on github:
opened 11:24AM - 05 May 15 UTC
closed 07:10AM - 12 May 15 UTC
bug
os: Windows
quarks
Reported by @bagong :
This is an unlucky overlap of different issues. The basic… parse error is still there. Currently is it as follows:
- if no folder is in sc's include path (manually in preferences or via Quarks.install) it is possible to install one Quark like so: Quarks.install("Mathlib"). The install ends cleanly.
- the second install will complain:
`ERROR: C:\Users\Rainer\AppData\Local\SuperCollider\downloaded-quarks\MathLib not found`
- starting Quarks.gui from a completely clean install will make Quarks fetch directory.txt (the `quarks`
folder is created and populated properly) and then fail as posted below.
It seems Quarks can't read path's on Windows. Including/Excluding folders in preferences works as expected.
```
init_OSC
empty
compiling class library...
initPassOne started
NumPrimitives = 691
initPassOne done
compiling dir: 'C:\Users\Rainer\Projects\jenkins\SCWin\workspace\buildVS64\Install\SuperCollider\SCClassLibrary'
pass 1 done
numentries = 812525 / 11246520 = 0.072
5066 method selectors, 2220 classes
method table size 12354592 bytes, big table size 89972160
Number of Symbols 11560
Byte Code Size 349088
compiled 315 files in 0.43 seconds
Info: 2 methods are currently overwritten by extensions. To see which, execute:
MethodOverride.printAll
compile done
Class tree inited in 0.02 seconds
Cleaning up temp synthdefs...
*** Welcome to SuperCollider 3.7alpha0. *** For help press Ctrl-D.
file "C:\Users\Rainer\AppData\Local\SuperCollider\Help\scdoc_version" does not exist.
SCDoc: Indexing help-files...
SCDoc: Indexed 1339 documents in 1.79 seconds
Interpreter has crashed or stopped forcefully. [Exit code: -1073741819]
init_OSC
empty
compiling class library...
initPassOne started
NumPrimitives = 691
initPassOne done
compiling dir: 'C:\Users\Rainer\Projects\jenkins\SCWin\workspace\buildVS64\Install\SuperCollider\SCClassLibrary'
pass 1 done
numentries = 812525 / 11246520 = 0.072
5066 method selectors, 2220 classes
method table size 12354592 bytes, big table size 89972160
Number of Symbols 11560
Byte Code Size 349088
compiled 315 files in 0.39 seconds
Info: 2 methods are currently overwritten by extensions. To see which, execute:
MethodOverride.printAll
compile done
Class tree inited in 0.02 seconds
Cleaning up temp synthdefs...
*** Welcome to SuperCollider 3.7alpha0. *** For help press Ctrl-D.
Fetching https://github.com/supercollider-quarks/quarks.git
ERROR: C:\Users\Rainer\AppData\Local\SuperCollider\downloaded-quarks\quarks not found
CALL STACK:
Exception:reportError 0000000143FA3E68
arg this = <instance of Error>
Nil:handleError 0000000102B08C88
arg this = nil
arg error = <instance of Error>
Thread:handleError 0000000102A96B68
arg this = <instance of Thread>
arg error = <instance of Error>
Object:throw 0000000143F7A658
arg this = <instance of Error>
Meta_Quark:new 0000000144F90598
arg this = <instance of Meta_Quark>
arg name = "C:\Users\Rainer\AppData\Loca..."
arg refspec = nil
var args = nil
Meta_Quarks:quarkNameAsLocalPath 000000014413B2D8
arg this = <instance of Meta_Quarks>
arg name = "C:\Users\Rainer\AppData\Loca..."
Meta_Quark:fromLocalPath 0000000144F63998
arg this = <instance of Meta_Quark>
arg path = "C:\Users\Rainer\AppData\Loca..."
var name = nil
var url = nil
var refspec = nil
< FunctionDef in Method Meta_Quarks:all > 000000014413BB18
arg path = "C:\Users\Rainer\AppData\Loca..."
ArrayedCollection:do 000000014413C988
arg this = [*1]
arg function = <instance of Function>
var i = 0
Meta_Quarks:all 000000014532BBD8
arg this = <instance of Meta_Quarks>
var all = <instance of Dictionary>
var f = <instance of Function>
QuarksGui:update 000000014532C318
arg this = <instance of QuarksGui>
var recompile = false
QuarksGui:init 0000000145414F68
arg this = <instance of QuarksGui>
var bounds = <instance of Rect>
var btnUpdateDirectory = <instance of Button>
var btnQuarksHelp = <instance of Button>
var btnInstallFolder = <instance of Button>
var btnOpenFolder = nil
var btnClear = <instance of Button>
var btnLoad = <instance of Button>
var btnSave = <instance of Button>
Interpreter:interpretPrintCmdLine 00000001454159D8
arg this = <instance of Interpreter>
var res = nil
var func = <instance of Function>
var code = "Quarks.gui"
var doc = nil
var ideClass = <instance of Meta_ScIDE>
Process:interpretPrintCmdLine 00000001453A8958
arg this = <instance of Main>
^^ The preceding error dump is for ERROR: C:\Users\Rainer\AppData\Local\SuperCollider\downloaded-quarks\quarks not found
```
but each time I was able to resolve it.