Re: SCClassLIbrary as symlink crashes interpreter on Linux

[email protected] Mon, 3 May 2021 14:11:27 +0200
Newsgroups gmane.comp.audio.supercollider.user
Message-ID <[email protected]>
Maestro _f, 

Brilliant. I had no idea these were separate values. Added the path to the startup file and the includePaths, and all is golden.

Sam

> On May 3, 2021, at 1:35 PM, [email protected] wrote:
> 
> this i believe is a separate problem.
> 
> includePaths is for classes and help files.  use ServerOptions ugenPluginsPath to tell the server where to find plugins (scx files under macOS and .so files under Linux).
> 
> ugenPluginsPath is not so straight forward to use though because there's no 'add'.  so if you try to override it and set it to a custom path, the server won't boot because it can't find the standard built-in plugins.
> s.options.ugenPluginsPath = "/some/place/f0plugins";	//does not work
> 
> so if you set ugenPluginsPath to something other than the default nil, you'll need to make sure to include all the built-in plugins as well as any plugins in the Extensions folder and also your custom path.  something like this..
> (
> s.options.ugenPluginsPath = [
> 	thisProcess.platform.classLibraryDir.dirname+/+"plugins",
> 	"~/Library/Application Support/SuperCollider/Extensions/".standardizePath,
> 	"~/ttest/f0plugins".standardizePath,	//custom path
> ];
> )
> s.reboot;
> 
> (i checked and the last folder here above - the ttest/f0plugins - can also be an alias or a symbolic link.)
> 
> _f
> 
> 
> 
>> 3 maj 2021 kl. 12:49 skrev [email protected]:
>> 
>> Yeah. I just tried moving some .scx files to a path in the includePaths, and it doesn’t work. I get this error on server boot:
>> 
>> exception in GraphDef_Recv: UGen 'LotkaVolterraA' not installed.
>> 
>> Would be great if this worked, especially for sharing projects with others.
>> 
>> Sam
>> 
>>> On May 3, 2021, at 12:35 PM, [email protected] wrote:
>>> 
>>> It crashes on Linux still for me so good to know about the .config
>>> 
>>> Sam, on Mac it works for me with the Terminal ln -s command, but not with macOS aliases.
>>> 
>>> On Windows I can’t remember if I set it up but I remember it was a pain.
>>> 
>>>> On 3 May 2021, at 11:02, [email protected] wrote:
>>>> 
>>>> Previously there was an issue where you couldn’t link to folders with scx files in them, only classes. Has this been resolved?
>>>> 
>>>> Sam
>>>> 
>>>>> On May 3, 2021, at 11:35 AM, [email protected] wrote:
>>>>> 
>>>>> Thank you very much Fredrik, the second way is good, and working.
>>>>> I don't know why my simlinks didn't work.
>>>>> 
>>>>> best
>>>>> paum
>>>>> 
>>>>> On Fri, Apr 30, 2021 at 1:13 PM <[email protected]> wrote:
>>>>> works fine here (sc3.10.4).  for example moving and linking the Extensions folder...
>>>>> mv .local/share/SuperCollider/Extensions my_classes
>>>>> ln -s my_classes .local/share/SuperCollider/Extensions
>>>>> 
>>>>> but a better way is to just add your path to .config/SuperCollider/sclang_conf.yaml
>>>>> you can also add paths directly in the IDE under Edit/Preferences/Interpreter
>>>>> same thing.
>>>>> _f
>>>>> 
>>>>>> 29 apr. 2021 kl. 02:00 skrev [email protected]:
>>>>>> 
>>>>>> Hi, I don't know if it is a bug or a feature but when I replaced a SCClassLIbrary folder in ~/.local/share/SuperCollider/ with symlink which targets folder in other location, interpreter crashes on startup.
>>>>>> 
>>>>>> thank you for an advice.
>>>>>> 
>>>>>> paum
> 
>  #|
>     fredrikolofsson.com     musicalfieldsforever.com
>  |#
> 
> 
> _______________________________________________
> 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/


_______________________________________________
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/