Open mi-skam opened 3 years ago
Same in MacOS (setting the Sonic Pi Root Directory to /Applications/Sonic Pi.app/
and a few sub-dirs like Contents/MacOS
or Contents/Resources/
If I run the command Sonic Pi: Start Server
then I get an error dialog:
Command 'Sonic Pi: Start Server' resulted in an error (Cannot read properties 'forEach' of null)
I do see output in VS Code's OUTPUT pain:
[GUI] - Cleaning old sessions...
[GUI] - Discovering port numbers...
So the initAndCheckPorts is running.
Confirmed that Sonic Pi is running, and has incoming OSC enabled, it listens on port 4560.
Also tried closing Sonic Pi (in case two server's can't run at the same time), didn't make a difference.
Likely because it's relying on /app/server/ruby/bin/port-discovery.rb
which is not in my freshly installed Sonic Pi (v4.2). Since this commit in July 2021, programs would need to look into ~/.sonic-pi/log/daemon.log
for lines similar to the following:
[2022-09-17 10:27:08] log: UTF-8, UTF-8, Ports: {:server_port=>35516, :gui_port=>35517, :scsynth_port=>35518, :scsynth_send_port=>35518, :osc_cues_port=>4560, :tau_port=>35519, :listen_to_tau_port=>35523}
Hi there,
I installed your extension on the current version of
vscode
andsonic-pi
running on windows. Unfortunatey I am not sure how to get this extension goin.I tried to run one of the examples, and like the subject states, it flashes purple and nothing happens in sonic-pi. I changed the
Vscode-sonic-pi: Sonic Pi Root Directory
but still nothing works.