Problem with Quark.load (solved)

aaarg I’m trying to install my setup to an intern’s machine…

I tried using and then Quarks.load… but certain Quarks simply wont work - I get an Error Quark ‘Deferred’ (for example) not found (from the .new method in Quark I expect)

most Quarks cheerfully create a new directory and clone into the expected URL but certain community Quarks (from @scztt @shiihs and @madskjeldgaard ) wont work! I’ve inspected the text file and can’t see anything different about these

I’m able to install manually from the URLs in the file!

here’s a truncated version the first 7 load fine - the rest no.

any thoughts appreciated!

~/Library/Application Support/SuperCollider/downloaded-quarks/XML=
~/Library/Application Support/SuperCollider/downloaded-quarks/SpeakersCorner=
~/Library/Application Support/SuperCollider/downloaded-quarks/MathLib=
~/Library/Application Support/SuperCollider/downloaded-quarks/AmbIEM=
~/Library/Application Support/SuperCollider/downloaded-quarks/AllGui=
~/Library/Application Support/SuperCollider/downloaded-quarks/FileLog=
~/Library/Application Support/SuperCollider/downloaded-quarks/Hilbert=
~/Library/Application Support/SuperCollider/downloaded-quarks/SFPlayer=
~/Library/Application Support/SuperCollider/downloaded-quarks/ReaCollider=
~/Library/Application Support/SuperCollider/downloaded-quarks/fxpatterns=
~/Library/Application Support/SuperCollider/downloaded-quarks/panola=
~/Library/Application Support/SuperCollider/downloaded-quarks/Deferred=

No idea why e.g. Deferred wouldn’t install. It’s not in the core quarks directory, so installing via Quarks.install("Deferred") won’t work (and, it won’t work if someone is listing it via "Collapse" as a dependency, only a URL).

Panola also isn’t part of the “official” list of quarks that can be installed using short-hand Quarks.install(“panola”). So maybe that’s a common theme?

(TBH I never looked into how to add quarks in the official list of quarks, maybe I should do that as I have some more that might be interesting).

Its straightforward to add quarks to the list: edit this file and do a pull request quarks/directory.txt at master · supercollider-quarks/quarks · GitHub

Id be happy to do that for all the quarks I use but I wonder if its cool to add someone else’s quark?

…and then I’d have to say that if the Quarks.load/save depends on Quarks being in the list I think that is a bug. The lists that produce include the url so they should be able to load - if I put the url in the list inside `Quarks.install(“url”) they work fine. If I save then reload after that no dice.

1 Like

Just in case anyone ends up here (which I doublt!) I think the problem was that I had installed these Quarks as SubModules (don’t ask). I’m going to do some more testing but I think this is a non-issue