Problem with Quark.load Quark.save (solved)

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

I tried using Quarks.save 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=https://github.com/supercollider-quarks/XML@a32e434250b33cdbb4d08b97f547e972ad7d915f
~/Library/Application Support/SuperCollider/downloaded-quarks/SpeakersCorner=https://github.com/supercollider-quarks/SpeakersCorner@6ebb188e33f064364f741b8e08adaa9e088c3664
~/Library/Application Support/SuperCollider/downloaded-quarks/MathLib=https://github.com/supercollider-quarks/MathLib@825551cc0ce76f94b833e1c7ff30497d9a6bb0b3
~/Library/Application Support/SuperCollider/downloaded-quarks/AmbIEM=https://github.com/supercollider-quarks/AmbIEM@fbaecf638bb94a8d582ff048a2ec378d72dc0a23
~/Library/Application Support/SuperCollider/downloaded-quarks/AllGui=https://github.com/supercollider-quarks/AllGui@5e4e2f63c44379ec54c93950810a814d71f68c4d
~/Library/Application Support/SuperCollider/downloaded-quarks/FileLog=https://github.com/supercollider-quarks/FileLog@fea7ba8625307ca69c57a5ef9501dd7f6433308e
~/Library/Application Support/SuperCollider/downloaded-quarks/Hilbert=https://github.com/ambisonictoolkit/Hilbert@tags/0.1.0
~/Library/Application Support/SuperCollider/downloaded-quarks/SFPlayer=https://github.com/dyfer/SFPlayer@6a7f41a666fbd403e498c86f1bbcf28bf3bb4fc3
~/Library/Application Support/SuperCollider/downloaded-quarks/ReaCollider=https://github.com/madskjeldgaard/ReaCollider
~/Library/Application Support/SuperCollider/downloaded-quarks/fxpatterns=https://github.com/madskjeldgaard/fxpatterns@df5e2a0fbc2ba9074e5fa50186eb1e181129ad2e
~/Library/Application Support/SuperCollider/downloaded-quarks/panola=https://github.com/shimpe/panola@da962ab08b521f2c8a9ad48be00e97ab3023de71
~/Library/Application Support/SuperCollider/downloaded-quarks/Deferred=https://github.com/scztt/Deferred.quark@tags/0.0.1



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 Quarks.save 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