Returning to sonic-pi after long time away having issues with the latest beta version please help

Hi everyone hope you’re doing well and staying safe :slight_smile: as many of you may know I’m totally blind and I’ve been away for a long while. I just a few minutes ago tried to open up the latest beta version of Sonic Pi on macOS Big Sur on a 2019 MacBook Pro 30 2GB ram 8 core Intel processor 2.9 Gb processor speed 2 TB hard drive. VoiceOver told me it was busy for a while then I got the following error:
Apologies, a critical error occurred during startup:
GUI was unable to connect to the Ruby server.

Please consider reporting a bug at

Sonic Pi Boot Error Report

System Information

Sonic Pi version: 4.0-beta3
OS: macOS 10.16

Logs:

spider.log:
Sonic Pi Spider Server booting…
The time is 2022-02-15 16:22:09 +0000
Using primary protocol: udp
Detecting port numbers…
Ports: {:server_port=>36695, :gui_port=>36696, :scsynth_port=>36697, :scsynth_send_port=>36697, :osc_cues_port=>36698, :tau_port=>36699, :listen_to_tau_port=>36704}
Opening UDP Server to listen to GUI on port: 36695
Spider - Pulling in modules…
Spider - Starting Runtime Server
TauComms - Sending /ping to tau: 127.0.0.1:36699
studio - init
scsynth boot - Waiting for the SuperCollider Server to have booted…
scsynth boot - Sending /status to server: 127.0.0.1:36697
TauComms - Sending /ping to tau: 127.0.0.1:36699
TauComms - Receiving ack from tau
TauComms - connection established
scsynth boot - Sending /status to server: 127.0.0.1:36697
scsynth boot - Sending /status to server: 127.0.0.1:36697
scsynth boot - Sending /status to server: 127.0.0.1:36697
scsynth boot - Sending /status to server: 127.0.0.1:36697
scsynth boot - Sending /status to server: 127.0.0.1:36697
scsynth boot - Sending /status to server: 127.0.0.1:36697
scsynth boot - Sending /status to server: 127.0.0.1:36697
scsynth boot - Sending /status to server: 127.0.0.1:36697
scsynth boot - Sending /status to server: 127.0.0.1:36697
scsynth boot - Sending /status to server: 127.0.0.1:36697
scsynth boot - Sending /status to server: 127.0.0.1:36697
scsynth boot - Sending /status to server: 127.0.0.1:36697
scsynth boot - Sending /status to server: 127.0.0.1:36697
scsynth boot - Sending /status to server: 127.0.0.1:36697
scsynth boot - Sending /status to server: 127.0.0.1:36697
scsynth boot - Sending /status to server: 127.0.0.1:36697
scsynth boot - Sending /status to server: 127.0.0.1:36697
scsynth boot - Sending /status to server: 127.0.0.1:36697
scsynth boot - Sending /status to server: 127.0.0.1:36697
scsynth boot - Sending /status to server: 127.0.0.1:36697
scsynth boot - Sending /status to server: 127.0.0.1:36697
scsynth boot - Sending /status to server: 127.0.0.1:36697
scsynth boot - Sending /status to server: 127.0.0.1:36697
scsynth boot - Sending /status to server: 127.0.0.1:36697
scsynth boot - Sending /status to server: 127.0.0.1:36697
scsynth boot - Sending /status to server: 127.0.0.1:36697
scsynth boot - Sending /status to server: 127.0.0.1:36697
scsynth boot - Sending /status to server: 127.0.0.1:36697
scsynth boot - Sending /status to server: 127.0.0.1:36697
scsynth boot - Unable to connect to SuperCollider Audio Server (Promise timed out after 30 seconds.). Exiting…
Spider - Failed to start server: exit
/Applications/Sonic Pi v4 BETA 3.app/Contents/Resources/app/server/ruby/lib/sonicpi/scsynthexternal.rb:183:in exit' /Applications/Sonic Pi v4 BETA 3.app/Contents/Resources/app/server/ruby/lib/sonicpi/scsynthexternal.rb:183:in rescue in wait_for_boot’
/Applications/Sonic Pi v4 BETA 3.app/Contents/Resources/app/server/ruby/lib/sonicpi/scsynthexternal.rb:181:in wait_for_boot' /Applications/Sonic Pi v4 BETA 3.app/Contents/Resources/app/server/ruby/lib/sonicpi/scsynthexternal.rb:145:in boot’
/Applications/Sonic Pi v4 BETA 3.app/Contents/Resources/app/server/ruby/lib/sonicpi/scsynthexternal.rb:38:in initialize' /Applications/Sonic Pi v4 BETA 3.app/Contents/Resources/app/server/ruby/lib/sonicpi/server.rb:81:in new’
/Applications/Sonic Pi v4 BETA 3.app/Contents/Resources/app/server/ruby/lib/sonicpi/server.rb:81:in initialize' /Applications/Sonic Pi v4 BETA 3.app/Contents/Resources/app/server/ruby/lib/sonicpi/studio.rb:67:in new’
/Applications/Sonic Pi v4 BETA 3.app/Contents/Resources/app/server/ruby/lib/sonicpi/studio.rb:67:in init_scsynth' /Applications/Sonic Pi v4 BETA 3.app/Contents/Resources/app/server/ruby/lib/sonicpi/studio.rb:44:in initialize’
/Applications/Sonic Pi v4 BETA 3.app/Contents/Resources/app/server/ruby/lib/sonicpi/lang/sound.rb:90:in new' /Applications/Sonic Pi v4 BETA 3.app/Contents/Resources/app/server/ruby/lib/sonicpi/lang/sound.rb:90:in block (2 levels) in included’
/Applications/Sonic Pi v4 BETA 3.app/Contents/Resources/app/server/ruby/lib/sonicpi/lang/ixi.rb:72:in block (2 levels) in included' /Applications/Sonic Pi v4 BETA 3.app/Contents/Resources/app/server/ruby/bin/sonic-pi-server.rb:241:in new’
/Applications/Sonic Pi v4 BETA 3.app/Contents/Resources/app/server/ruby/bin/sonic-pi-server.rb:241:in `’

daemon.log:
[2022-02-15 16:22:08] Welcome to the Daemon Booter
[2022-02-15 16:22:08] checked port 36695, #UDPSocket:0x000000011083b420
[2022-02-15 16:22:08] checked port 36696, #UDPSocket:0x000000011083aea8
[2022-02-15 16:22:08] checked port 36697, #UDPSocket:0x000000011083aac0
[2022-02-15 16:22:08] checked port 36698, #UDPSocket:0x000000011083a1d8
[2022-02-15 16:22:08] checked port 36699, #UDPSocket:0x0000000110839d28
[2022-02-15 16:22:08] checked port 36700, #UDPSocket:0x00000001108396c0
[2022-02-15 16:22:08] checked port 36701, #UDPSocket:0x0000000110838f18
[2022-02-15 16:22:08] checked port 36702, #UDPSocket:0x0000000110833b08
[2022-02-15 16:22:08] checked port 36703, #UDPSocket:0x00000001108332c0
[2022-02-15 16:22:08] checked port 36704, #UDPSocket:0x0000000110832cf8
[2022-02-15 16:22:08] checked port 36705, #UDPSocket:0x00000001108323c0
[2022-02-15 16:22:08] Selected ports:
[2022-02-15 16:22:08] {“spider-listen-to-gui”=>36695, “gui-send-to-spider”=>36695, “gui-listen-to-spider”=>36696, “spider-send-to-gui”=>36696, “scsynth”=>36697, “scsynth-send”=>36697, “osc-cues”=>36698, “tau”=>36699, “spider”=>36700, “phx”=>36701, “gui-keep-alive”=>36702, “tau-keep-alive”=>36703, “spider-listen-to-tau”=>36704, “daemon-listen-to-tau”=>36705}
[2022-02-15 16:22:08] Setting up zombie kill switch for gui-keep-alive listening on port 36702
[2022-02-15 16:22:08] Setting up zombie kill switch for tau-keep-alive listening on port 36703
[2022-02-15 16:22:08] Booting Tau
[2022-02-15 16:22:08] fetching toml opts
[2022-02-15 16:22:08] Daemon listening to info from Tau on port 36705
[2022-02-15 16:22:08] Process Booter - booting sh with args ["/Applications/Sonic Pi v4 BETA 3.app/Contents/Resources/app/server/beam/tau/boot-mac.sh", “true”, “false”, “true”, “true”, “36698”, “36699”, “36704”, “36705”, “36703”, “/Users/trculver/.sonic-pi/log/tau.log”, “true”, “true”, “36701”, “GA2t6HQ/pprMSr8zCciMC5S1Pc1+olKPEJiW6kBKOx7floD0I7Y0W/2BbtMBm3BWbr9ADu1nFL2gEVLqWL3ghg==”, “prod”]
[2022-02-15 16:22:08] sh /Applications/Sonic Pi v4 BETA 3.app/Contents/Resources/app/server/beam/tau/boot-mac.sh true false true true 36698 36699 36704 36705 36703 /Users/trculver/.sonic-pi/log/tau.log true true 36701 GA2t6HQ/pprMSr8zCciMC5S1Pc1+olKPEJiW6kBKOx7floD0I7Y0W/2BbtMBm3BWbr9ADu1nFL2gEVLqWL3ghg== prod
[2022-02-15 16:22:08] Booting Scsynth
[2022-02-15 16:22:08] Process Booter - booting /Applications/Sonic Pi v4 BETA 3.app/Contents/Resources/app/server/native/scsynth with args ["-u", “36697”, “-a”, “1024”, “-m”, “131072”, “-D”, “0”, “-R”, “0”, “-l”, “1”, “-i”, “16”, “-o”, “16”, “-b”, “4096”, “-B”, “127.0.0.1”]
[2022-02-15 16:22:08] /Applications/Sonic Pi v4 BETA 3.app/Contents/Resources/app/server/native/scsynth -u 36697 -a 1024 -m 131072 -D 0 -R 0 -l 1 -i 16 -o 16 -b 4096 -B 127.0.0.1
[2022-02-15 16:22:08] Kill switch #36702 Received UDP data ["/daemon/keep-alive", [], [“AF_INET”, 64551, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:08] Booting Spider Server
[2022-02-15 16:22:08] Process Booter - booting /Applications/Sonic Pi v4 BETA 3.app/Contents/Resources/app/server/native/ruby/bin/ruby with args ["–enable-frozen-string-literal", “-E”, “utf-8”, “/Applications/Sonic Pi v4 BETA 3.app/Contents/Resources/app/server/ruby/bin/sonic-pi-server.rb”, “-u”, “36695”, “36696”, “36697”, “36697”, “36698”, “36699”, “36704”]
[2022-02-15 16:22:08] /Applications/Sonic Pi v4 BETA 3.app/Contents/Resources/app/server/native/ruby/bin/ruby --enable-frozen-string-literal -E utf-8 /Applications/Sonic Pi v4 BETA 3.app/Contents/Resources/app/server/ruby/bin/sonic-pi-server.rb -u 36695 36696 36697 36697 36698 36699 36704
[2022-02-15 16:22:08] Waiting for processes to complete…
[2022-02-15 16:22:08] Kill switch #33793 Received UDP data ["/daemon/keep-alive", [], [“AF_INET”, 50989, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:08] Kill switch for port 32841 triggered. Exiting…
[2022-02-15 16:22:08] Daemon Booter is now exiting.
[2022-02-15 16:22:08] Cleaning up any running processes…
[2022-02-15 16:22:08] Process Booter - no need to kill /Applications/Sonic Pi v4 BETA 3.app/Contents/Resources/app/server/native/ruby/bin/ruby with pid 18710 and args ["–enable-frozen-string-literal", “-E”, “utf-8”, “/Applications/Sonic Pi v4 BETA 3.app/Contents/Resources/app/server/ruby/bin/sonic-pi-server.rb”, “-u”, “32835”, “32836”, “32837”, “32837”, “4560”, “32838”, “32843”] - already terminated, wait_thr status: #<Process::Waiter:0x0000000112f00ee8 dead>, false
[2022-02-15 16:22:08] Process Booter - no need to kill /Applications/Sonic Pi v4 BETA 3.app/Contents/Resources/app/server/native/scsynth with pid 18707 and args ["-u", “32837”, “-a”, “1024”, “-m”, “131072”, “-D”, “0”, “-R”, “0”, “-l”, “1”, “-i”, “16”, “-o”, “16”, “-b”, “4096”, “-B”, “127.0.0.1”] - already terminated, wait_thr status: #<Process::Waiter:0x0000000112f0a448 dead>, false
[2022-02-15 16:22:08] Killing Tau with pid 18709
[2022-02-15 16:22:08] Tau process has completed
[2022-02-15 16:22:08] Process Booter - killing sh with pid 18709 and args ["/Applications/Sonic Pi v4 BETA 3.app/Contents/Resources/app/server/beam/tau/boot-mac.sh", “true”, “false”, “true”, “true”, “4560”, “32838”, “32843”, “32844”, “32842”, “/Users/trculver/.sonic-pi/log/tau.log”, “true”, “true”, “32840”, “hActXq/AnBJTnBHsqe43JmsacDrbpmpxcSJkoZ0l56vV9bQnzFsfBktBPZMSXrJk6h5lg9ZccjssJynj3pBqdA==”, “prod”], wait_thr status: #<Process::Waiter:0x0000000112f18ca0 sleep>, sleep
[2022-02-15 16:22:08] Scsynth process has completed
[2022-02-15 16:22:08] Spider Server process has completed
[2022-02-15 16:22:08] Sending TERM kill command to 18709
[2022-02-15 16:22:08] Process 18709 still running, waiting for it to finish… [5]
[2022-02-15 16:22:09] Process 18709 still running, waiting for it to finish… [4]
[2022-02-15 16:22:10] Daemon received Pid data from Tau: [18831]
[2022-02-15 16:22:10] Kill switch #36703 Received UDP data ["/daemon/keep-alive", [], [“AF_INET”, 60470, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:10] Daemon received UDP data from Tau: ["/tau/pid", [18831], [“AF_INET”, 60531, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:10] Process 18709 still running, waiting for it to finish… [3]
[2022-02-15 16:22:11] Daemon received Pid data from Tau: [18831]
[2022-02-15 16:22:11] Daemon received UDP data from Tau: ["/tau/pid", [18831], [“AF_INET”, 60531, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:11] Process 18709 still running, waiting for it to finish… [2]
[2022-02-15 16:22:12] Daemon received Pid data from Tau: [18831]
[2022-02-15 16:22:12] Daemon received UDP data from Tau: ["/tau/pid", [18831], [“AF_INET”, 60531, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:12] Kill switch #36702 Received UDP data ["/daemon/keep-alive", [], [“AF_INET”, 58232, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:12] Kill switch #33793 Received UDP data ["/daemon/keep-alive", [], [“AF_INET”, 50989, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:12] Process 18709 still running, waiting for it to finish… [1]
[2022-02-15 16:22:13] Daemon received Pid data from Tau: [18831]
[2022-02-15 16:22:13] Daemon received UDP data from Tau: ["/tau/pid", [18831], [“AF_INET”, 60531, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:13] Process 18709 still running, waiting for it to finish… [0]
[2022-02-15 16:22:14] Kill switch #36703 Received UDP data ["/daemon/keep-alive", [], [“AF_INET”, 60470, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:14] Daemon received Pid data from Tau: [18831]
[2022-02-15 16:22:14] Daemon received UDP data from Tau: ["/tau/pid", [18831], [“AF_INET”, 60531, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:14] Sending KILL kill command to 18709
[2022-02-15 16:22:14] Process 18709 still running, waiting for it to finish… [5]
[2022-02-15 16:22:15] Daemon received Pid data from Tau: [18831]
[2022-02-15 16:22:15] Daemon received UDP data from Tau: ["/tau/pid", [18831], [“AF_INET”, 60531, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:15] Process 18709 terminated
[2022-02-15 16:22:15] Daemon Booter - Over and Out.
[2022-02-15 16:22:16] Daemon received Pid data from Tau: [18831]
[2022-02-15 16:22:16] Daemon received UDP data from Tau: ["/tau/pid", [18831], [“AF_INET”, 60531, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:16] Kill switch #36702 Received UDP data ["/daemon/keep-alive", [], [“AF_INET”, 56043, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:16] Kill switch #33793 Received UDP data ["/daemon/keep-alive", [], [“AF_INET”, 50989, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:17] Daemon received Pid data from Tau: [18831]
[2022-02-15 16:22:17] Daemon received UDP data from Tau: ["/tau/pid", [18831], [“AF_INET”, 60531, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:18] Kill switch #36703 Received UDP data ["/daemon/keep-alive", [], [“AF_INET”, 60470, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:18] Daemon received Pid data from Tau: [18831]
[2022-02-15 16:22:18] Daemon received UDP data from Tau: ["/tau/pid", [18831], [“AF_INET”, 60531, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:19] Daemon received Pid data from Tau: [18831]
[2022-02-15 16:22:19] Daemon received UDP data from Tau: ["/tau/pid", [18831], [“AF_INET”, 60531, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:20] Daemon received Pid data from Tau: [18831]
[2022-02-15 16:22:20] Daemon received UDP data from Tau: ["/tau/pid", [18831], [“AF_INET”, 60531, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:20] Kill switch #36702 Received UDP data ["/daemon/keep-alive", [], [“AF_INET”, 58114, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:20] Kill switch #33793 Received UDP data ["/daemon/keep-alive", [], [“AF_INET”, 50989, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:21] Daemon received Pid data from Tau: [18831]
[2022-02-15 16:22:21] Daemon received UDP data from Tau: ["/tau/pid", [18831], [“AF_INET”, 60531, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:22] Kill switch #36703 Received UDP data ["/daemon/keep-alive", [], [“AF_INET”, 60470, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:22] Daemon received Pid data from Tau: [18831]
[2022-02-15 16:22:22] Daemon received UDP data from Tau: ["/tau/pid", [18831], [“AF_INET”, 60531, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:23] Daemon received Pid data from Tau: [18831]
[2022-02-15 16:22:23] Daemon received UDP data from Tau: ["/tau/pid", [18831], [“AF_INET”, 60531, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:24] Daemon received Pid data from Tau: [18831]
[2022-02-15 16:22:24] Daemon received UDP data from Tau: ["/tau/pid", [18831], [“AF_INET”, 60531, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:24] Kill switch #36702 Received UDP data ["/daemon/keep-alive", [], [“AF_INET”, 49859, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:24] Kill switch #33793 Received UDP data ["/daemon/keep-alive", [], [“AF_INET”, 50989, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:25] Daemon received Pid data from Tau: [18831]
[2022-02-15 16:22:25] Daemon received UDP data from Tau: ["/tau/pid", [18831], [“AF_INET”, 60531, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:26] Kill switch #36703 Received UDP data ["/daemon/keep-alive", [], [“AF_INET”, 60470, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:26] Daemon received Pid data from Tau: [18831]
[2022-02-15 16:22:26] Daemon received UDP data from Tau: ["/tau/pid", [18831], [“AF_INET”, 60531, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:27] Daemon received Pid data from Tau: [18831]
[2022-02-15 16:22:27] Daemon received UDP data from Tau: ["/tau/pid", [18831], [“AF_INET”, 60531, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:28] Daemon received Pid data from Tau: [18831]
[2022-02-15 16:22:28] Daemon received UDP data from Tau: ["/tau/pid", [18831], [“AF_INET”, 60531, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:28] Kill switch #36702 Received UDP data ["/daemon/keep-alive", [], [“AF_INET”, 58008, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:28] Kill switch #33793 Received UDP data ["/daemon/keep-alive", [], [“AF_INET”, 50989, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:29] Daemon received Pid data from Tau: [18831]
[2022-02-15 16:22:29] Daemon received UDP data from Tau: ["/tau/pid", [18831], [“AF_INET”, 60531, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:30] Kill switch #36703 Received UDP data ["/daemon/keep-alive", [], [“AF_INET”, 60470, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:30] Daemon received Pid data from Tau: [18831]
[2022-02-15 16:22:30] Daemon received UDP data from Tau: ["/tau/pid", [18831], [“AF_INET”, 60531, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:31] Daemon received Pid data from Tau: [18831]
[2022-02-15 16:22:31] Daemon received UDP data from Tau: ["/tau/pid", [18831], [“AF_INET”, 60531, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:32] Daemon received Pid data from Tau: [18831]
[2022-02-15 16:22:32] Daemon received UDP data from Tau: ["/tau/pid", [18831], [“AF_INET”, 60531, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:32] Kill switch #36702 Received UDP data ["/daemon/keep-alive", [], [“AF_INET”, 55683, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:32] Kill switch #33793 Received UDP data ["/daemon/keep-alive", [], [“AF_INET”, 50989, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:33] Daemon received Pid data from Tau: [18831]
[2022-02-15 16:22:33] Daemon received UDP data from Tau: ["/tau/pid", [18831], [“AF_INET”, 60531, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:34] Kill switch #36703 Received UDP data ["/daemon/keep-alive", [], [“AF_INET”, 60470, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:34] Daemon received Pid data from Tau: [18831]
[2022-02-15 16:22:34] Daemon received UDP data from Tau: ["/tau/pid", [18831], [“AF_INET”, 60531, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:35] Daemon received Pid data from Tau: [18831]
[2022-02-15 16:22:35] Daemon received UDP data from Tau: ["/tau/pid", [18831], [“AF_INET”, 60531, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:36] Daemon received Pid data from Tau: [18831]
[2022-02-15 16:22:36] Daemon received UDP data from Tau: ["/tau/pid", [18831], [“AF_INET”, 60531, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:36] Kill switch #36702 Received UDP data ["/daemon/keep-alive", [], [“AF_INET”, 61114, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:36] Kill switch #33793 Received UDP data ["/daemon/keep-alive", [], [“AF_INET”, 50989, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:37] Daemon received Pid data from Tau: [18831]
[2022-02-15 16:22:37] Daemon received UDP data from Tau: ["/tau/pid", [18831], [“AF_INET”, 60531, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:38] Kill switch #36703 Received UDP data ["/daemon/keep-alive", [], [“AF_INET”, 60470, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:38] Daemon received Pid data from Tau: [18831]
[2022-02-15 16:22:38] Daemon received UDP data from Tau: ["/tau/pid", [18831], [“AF_INET”, 60531, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:39] Daemon received Pid data from Tau: [18831]
[2022-02-15 16:22:39] Daemon received UDP data from Tau: ["/tau/pid", [18831], [“AF_INET”, 60531, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:40] Daemon received Pid data from Tau: [18831]
[2022-02-15 16:22:40] Daemon received UDP data from Tau: ["/tau/pid", [18831], [“AF_INET”, 60531, “127.0.0.1”, “127.0.0.1”]]
[2022-02-15 16:22:40] Kill switch #36702 Received UDP data ["/daemon/keep-alive", [], [“AF_INET”, 56339, “127.0.0.1”, “127.0.0.1”]]

tau.log:
16:22:08.967 [info] SIGTERM received - shutting down

16:22:09.096 [info] All systems booting…
16:22:09.096 [info] extracting env TAU_MIDI_ENABLED bool true
16:22:09.096 [info] extracting env TAU_LINK_ENABLED bool true
16:22:09.096 [info] extracting env TAU_CUES_ON bool true
16:22:09.096 [info] extracting env TAU_OSC_IN_UDP_LOOPBACK_RESTRICTED bool false
16:22:09.096 [info] extracting env TAU_MIDI_ON bool true
16:22:09.096 [info] extracting env TAU_LINK_ON bool true
16:22:09.096 [info] extracting env TAU_OSC_IN_UDP_PORT int 36698
16:22:09.096 [info] extracting env TAU_API_PORT int 36699
16:22:09.096 [info] extracting env TAU_SPIDER_PORT int 36704
16:22:09.096 [info] extracting env TAU_DAEMON_PORT int 36705
16:22:09.096 [info] extracting env TAU_KEEP_ALIVE_PORT int 36703
16:22:09.096 [info] Initialising MIDI native interface
16:22:09.117 [info] Initialising Link native interface
16:22:09.163 [error] Connecting to Daemon keepalive port via UDP…36703 36705
16:22:09.163 [info] Waiting for keepalive messages…
16:22:09.163 [info] Starting with MIDI server enabled
16:22:09.163 [info] Starting with Link server enabled
16:22:09.163 [info]
±-------------------------------------+
This is the Sonic Pi Link Server
Powered by Erlang 24

Number of detected peers:
0

Current tempo:
120.0
±-------------------------------------+

16:22:09.179 [info]
±-------------------------------------+
This is the Sonic Pi MIDI Server
Powered by Erlang 24

Detected MIDI input ports:
[‘iac_driver_bus_1’,
‘iac_driver_live_reeder_feedback_input’,
‘iac_driver_live_reeder_commands_output’,
‘clarett_8pre_usb’]

Detected MIDI output ports:
[‘iac_driver_bus_1’,
‘iac_driver_live_reeder_feedback_input’,
‘iac_driver_live_reeder_commands_output’,
‘clarett_8pre_usb’]
±-------------------------------------+

16:22:09.179 [info]
±-------------------------------------+
This is the Sonic Pi OSC Server
== Tau ==
Powered by Erlang 24

    Incoming OSC on port 36698         

OSC cue forwarding to {127, 0, 0, 1}
on port 36704
±-------------------------------------+

16:22:09.179 [info]
±-------------------------------------+
This is the Sonic Pi API Server
Powered by Erlang 24

   API listening on port 36699         

±-------------------------------------+

16:22:09.179 [info] Starting Phoenix server
16:22:09.180 [info]
±-------------------------------------+
This is the Sonic Pi Link Server
Powered by Erlang 24

Number of detected peers:
2

Current tempo:
120.0
±-------------------------------------+

16:22:09.181 [info]
±-------------------------------------+
This is the Sonic Pi MIDI Server
Powered by Erlang 24

Detected MIDI input ports:
[‘iac_driver_bus_1’,
‘iac_driver_live_reeder_feedback_input’,
‘iac_driver_live_reeder_commands_output’,
‘clarett_8pre_usb’]

Detected MIDI output ports:
[‘iac_driver_bus_1’,
‘iac_driver_live_reeder_feedback_input’,
‘iac_driver_live_reeder_commands_output’,
‘clarett_8pre_usb’]
±-------------------------------------+

16:22:09.181 [info]
±-------------------------------------+
This is the Sonic Pi OSC Server
== Tau ==
Powered by Erlang 24

    Incoming OSC on port 36698         

OSC cue forwarding to {127, 0, 0, 1}
on port 36704
±-------------------------------------+

16:22:09.181 [info]
±-------------------------------------+
This is the Sonic Pi API Server
Powered by Erlang 24

   API listening on port 36699         

±-------------------------------------+

16:22:09.181 [info] Running TauWeb.Endpoint with cowboy 2.9.0 at 127.0.0.1:36701 (http)
16:22:09.182 [info] Access TauWeb.Endpoint at http://localhost:36701

scsynth.log:
Number of Devices: 9
0 : “CalDigit Thunderbolt 3 Audio”
1 : “CalDigit Thunderbolt 3 Audio”
2 : “Clarett 8Pre USB”
3 : “External Microphone”
4 : “External Headphones”
5 : “MacBook Pro Microphone”
6 : “MacBook Pro Speakers”
7 : “Pro Tools Aggregate I/O”
8 : “ZoomAudioD”

ERROR: Input sample rate is 48000, but output is 44100. Mismatched sample rates are not supported. To disable input, set the number of input channels to 0.
could not initialize audio.
libc++abi: terminating

gui.log:
[API] [INFO ] : daemon_stdout: 36702
[API] [INFO ] : daemon_stdout: 36696
[API] [INFO ] : daemon_stdout: 36695
[API] [INFO ] : daemon_stdout: 36697
[API] [INFO ] : daemon_stdout: 36698
[API] [INFO ] : daemon_stdout: 36701
[API] [INFO ] : daemon_stdout: lINgGMA26x89rHBtx2hRrNvcxobbiTXE3zzhfa9LxE087rCtwMYflbZu5PEuHgNY1m1vnQ2HlzC+0r0uFRLV0w==
[API] [INFO ] : Setting up Boot Daemon keep alive loop
[API] [INFO ] : API Init Started…
[API] [INFO ] : API State set to: Initializing…
[API] [INFO ] : Going to start pinging server…
[API] [INFO ] : Starting UDP OSC Server on port 36696…
[API] [INFO ] : Pinging Spider Server until a response is received…
[API] [INFO ] : Waiting for Sonic Pi Spider Server to respond…
[API] [INFO ] : UDP OSC Server ready and listening
[GUI] [i18n] - Looping through preferred ui languages
[GUI] - Language setting: system_language
[GUI] - System language: en_GB
[GUI] [i18n] - Looping through preferred ui languages
[GUI] - Using language: en_GB
[GUI] [i18n] - Loading translations for en_GB
[GUI] - translations available
[GUI] - hiding main window
[GUI] - initialising toolbar icons
[GUI] - setting up window structure
[Debug] Adding language combo box entries…
2
[Debug] Adding language system_language to the combo box
[Debug] Adding language en_GB to the combo box
[GUI] - restoring scope states
[GUI] - creating status bar
[GUI] - creating info panel
[GUI] - creating shortcuts
[GUI] - creating tool bar
[GUI] - initialising documentation window
[API] [ERROR] : Waiting Until Ready… 59
[API] [INFO ] : .
[API] [ERROR] : Waiting Until Ready… 58
[API] [INFO ] : .
[API] [ERROR] : Waiting Until Ready… 57
[API] [INFO ] : .
[API] [ERROR] : Waiting Until Ready… 56
[API] [INFO ] : .
[API] [ERROR] : Waiting Until Ready… 55
[API] [INFO ] : .
[API] [ERROR] : Waiting Until Ready… 54
[API] [INFO ] : .
[API] [ERROR] : Waiting Until Ready… 53
[API] [INFO ] : .
[API] [ERROR] : Waiting Until Ready… 52
[API] [INFO ] : .
[API] [ERROR] : Waiting Until Ready… 51
[API] [INFO ] : .
[API] [ERROR] : Waiting Until Ready… 50
[API] [INFO ] : .
[API] [ERROR] : Waiting Until Ready… 49
[API] [INFO ] : .
[API] [ERROR] : Waiting Until Ready… 48
[API] [INFO ] : .
[API] [ERROR] : Waiting Until Ready… 47
[API] [INFO ] : .
[API] [ERROR] : Waiting Until Ready… 46
[API] [INFO ] : .
[API] [ERROR] : Waiting Until Ready… 45
[API] [INFO ] : .
[API] [ERROR] : Waiting Until Ready… 44
[API] [INFO ] : .
[API] [ERROR] : Waiting Until Ready… 43
[API] [INFO ] : .
[API] [ERROR] : Waiting Until Ready… 42
[API] [INFO ] : .
[API] [ERROR] : Waiting Until Ready… 41
[API] [INFO ] : .
[API] [ERROR] : Waiting Until Ready… 40
[API] [INFO ] : .
[API] [ERROR] : Waiting Until Ready… 39
[API] [INFO ] : .
[API] [ERROR] : Waiting Until Ready… 38
[API] [INFO ] : .
[API] [ERROR] : Waiting Until Ready… 37
[API] [INFO ] : .
[API] [ERROR] : Waiting Until Ready… 36
[API] [INFO ] : .
[API] [ERROR] : Waiting Until Ready… 35
[API] [INFO ] : .
[API] [ERROR] : Waiting Until Ready… 34
[API] [INFO ] : .
[API] [ERROR] : Waiting Until Ready… 33
[API] [INFO ] : .
[API] [ERROR] : Waiting Until Ready… 32
[API] [INFO ] : .
[API] [ERROR] : Waiting Until Ready… 31
[API] [INFO ] : .
[API] [ERROR] : Waiting Until Ready… 30
[API] [INFO ] : .
[API] [ERROR] : Waiting Until Ready… 29
[API] [INFO ] : UDP OSC Server no longer listening
[API] [INFO ] : .
[API] [ERROR] : Oh no, Spider Server got to an Error State whilst starting…
[GUI] - Critical Error. Unable to connect to server…

[GUI] - Sonic Pi Server failed to start with this error message:
> Server Exception:
exit
["/Applications/Sonic Pi v4 BETA 3.app/Contents/Resources/app/server/ruby/lib/sonicpi/scsynthexternal.rb:183:in exit'", "/Applications/Sonic Pi v4 BETA 3.app/Contents/Resources/app/server/ruby/lib/sonicpi/scsynthexternal.rb:183:in rescue in wait_for_boot’", “/Applications/Sonic Pi v4 BETA 3.app/Contents/Resources/app/server/ruby/lib/sonicpi/scsynthexternal.rb:181:in wait_for_boot'", "/Applications/Sonic Pi v4 BETA 3.app/Contents/Resources/app/server/ruby/lib/sonicpi/scsynthexternal.rb:145:in boot’”, “/Applications/Sonic Pi v4 BETA 3.app/Contents/Resources/app/server/ruby/lib/sonicpi/scsynthexternal.rb:38:in initialize'", "/Applications/Sonic Pi v4 BETA 3.app/Contents/Resources/app/server/ruby/lib/sonicpi/server.rb:81:in new’”, “/Applications/Sonic Pi v4 BETA 3.app/Contents/Resources/app/server/ruby/lib/sonicpi/server.rb:81:in initialize'", "/Applications/Sonic Pi v4 BETA 3.app/Contents/Resources/app/server/ruby/lib/sonicpi/studio.rb:67:in new’”, “/Applications/Sonic Pi v4 BETA 3.app/Contents/Resources/app/server/ruby/lib/sonicpi/studio.rb:67:in init_scsynth'", "/Applications/Sonic Pi v4 BETA 3.app/Contents/Resources/app/server/ruby/lib/sonicpi/studio.rb:44:in initialize’”, “/Applications/Sonic Pi v4 BETA 3.app/Contents/Resources/app/server/ruby/lib/sonicpi/lang/sound.rb:90:in new'", "/Applications/Sonic Pi v4 BETA 3.app/Contents/Resources/app/server/ruby/lib/sonicpi/lang/sound.rb:90:in block (2 levels) in included’”, “/Applications/Sonic Pi v4 BETA 3.app/Contents/Resources/app/server/ruby/lib/sonicpi/lang/ixi.rb:72:in block (2 levels) in included'", "/Applications/Sonic Pi v4 BETA 3.app/Contents/Resources/app/server/ruby/bin/sonic-pi-server.rb:241:in new’”, “/Applications/Sonic Pi v4 BETA 3.app/Contents/Resources/app/server/ruby/bin/sonic-pi-server.rb:241:in `’”]

[GUI] - Sonic Pi Server failed to start with this error message:
> Critical error! Could not connect to Sonic Pi Server.

Does anybody know what’s going on and how to fix this error? Thank you very much for all your help kind regards Trey.

Hey hey @soundwarrior,

A small side note: we prefer to track things like Sonic Pi booting issues all in one place over on GitHub - it makes them easier to manage! The forum here is useful for issues with Sonic Pi where folks are not sure how to do something, or Sonic Pi maybe does something unusual, but it still runs. If Sonic Pi doesn’t really run at all, that’s a critical issue that we need to track at the source repository.

Regarding the problem you’re having above, this is a known issue in the system that is still to be addressed, that is a result of our recent heavy changes introduced at the start of version 4. The key error message is in scsynth.log:

ERROR: Input sample rate is 48000, but output is 44100. Mismatched sample rates are not supported. To disable input, set the number of input channels to 0.

Sonic Pi on macOS is temporarily no longer attempting to handle mismatched input and output sample rates. As such, until we’re able to fix this in time for a future version 4 beta or final release, it’s necessary to use the audio and MIDI settings window in macOS to update both input and output sample rates to be the same.

There are details about how to change device sample rate at Set up audio devices in Audio MIDI Setup on Mac – Apple Support (AU) .

Once they’re the same, Sonic Pi should hopefully boot up properly!

1 Like

Hi Ethan, thank you for your reply. I looked in audio midi setup as you suggested and both the input and output sample rates of the same. Wells can you advise please? Thank you very much

In that case, I’m guessing that the problem is that while the audio MIDI setup window may say that two of the devices on your system might have the same input and output sample rates, these devices may not be the same ones that Sonic Pi is selecting on startup - and hence the sample mismatch may remain, for the devices it does try to select.

It may require copying the following file: audio-settings.toml into your .sonic-pi/config folder and editing the line that says:

# sound_card_name = ""

By removing the # and inserting text that matches the name of a different sound device in between the quotes, perhaps something like this:

sound_card_name = "MacBook Pro"

(Assuming the ‘MacBook Pro Microphone’ and ‘MacBook Pro Speakers’ both have the same sample rate). Or, any other device name in between the quotes that will allow Sonic Pi to select both input and output device that matches the name.

hi thanks for your help think i fixed the problem :slight_smile:

1 Like

@soundwarrior that’s good to know! you’re welcome.

1 Like