bacalao icon indicating copy to clipboard operation
bacalao copied to clipboard

ERROR: Message 'addSynthDefFunc' not understood.

Open ndr0n opened this issue 1 year ago • 1 comments

Hey! I was trying to use Bacalao on Ubuntu Lunar Lobster but I can't do b = Bacalao().boot;

The error i get is pasted below:

Execution warning: Class 'Safety' not found ERROR: Message 'addSynthDefFunc' not understood. RECEIVER: nil ARGS: Symbol 'safeLimitNotify' Instance of Function { (0x55cf088c6688, gc=CC, fmt=00, flg=00, set=02) instance variables [2] def : instance of FunctionDef - closed context : Frame (0x55cf0646e498) of Interpreter:functionCompileContext } CALL STACK: DoesNotUnderstandError:reportError arg this = <instance of DoesNotUnderstandError> Nil:handleError arg this = nil arg error = <instance of DoesNotUnderstandError> Thread:handleError arg this = <instance of Thread> arg error = <instance of DoesNotUnderstandError> Object:throw arg this = <instance of DoesNotUnderstandError> Object:doesNotUnderstand arg this = nil arg selector = 'addSynthDefFunc' arg args = [*2] Meta_Bacalao:prSetupSynthDefs arg this = <instance of Meta_Bacalao> var playFunc = <instance of Function> Meta_Bacalao:new arg this = <instance of Meta_Bacalao> arg shareClock = nil arg server = nil arg verbose = nil arg quant = nil arg numChannels = 2 var clock = <instance of TempoClock> < closed FunctionDef > (no arguments or variables) Interpreter:interpretPrintCmdLine arg this = <instance of Interpreter> var res = nil var func = <instance of Function> var code = "b = Bacalao().boot;" var doc = nil var ideClass = <instance of Meta_ScIDE> Process:interpretPrintCmdLine arg this = <instance of Main> ^^ ERROR: Message 'addSynthDefFunc' not understood. RECEIVER: nil

ndr0n avatar Apr 23 '23 10:04 ndr0n

Hi there, thanks for trying it. How did you try to install Bacalao? If you followed the instructions in the README of doing:

Quarks.install("https://github.com/totalgee/bacalao");

it should have automatically downloaded and installed the required dependencies. These dependencies (which can be seen here) are:

[ "wslib", "Bjorklund", "SafetyNet", "SimplexNoise-SC", "ClockFace" ]

Please let me know how you tried to install it. If you just downloaded this repo and installed it without the dependencies, then you would find the error you did. (If that is the case, your other option would be to install these other dependencies manually.)

totalgee avatar Apr 23 '23 21:04 totalgee