sonic-pi icon indicating copy to clipboard operation
sonic-pi copied to clipboard

GUI was unable to connect to the Ruby server.

Open llm1538 opened this issue 2 years ago • 3 comments

I tried all the answers to the issue here but still couldn't solve the problem. The log is shown below:

Sonic Pi Boot Error Report

System Information

Sonic Pi version: 4.3.0 OS: macOS 13.2

Logs:

spider.log: Sonic Pi Spider Server booting... The time is 2023-02-10 15:05:09 +0800 Using primary protocol: udp Detecting port numbers... Ports: {:server_port=>35686, :gui_port=>35687, :scsynth_port=>35688, :scsynth_send_port=>35688, :osc_cues_port=>4560, :tau_port=>35689, :listen_to_tau_port=>35693} Token: -310224660 Opening UDP Server to listen to GUI on port: 35686 Spider - Pulling in modules... Spider - Starting Runtime Server TauComms - Sending /ping to tau: 127.0.0.1:35689 TauComms - Sending /ping to tau: 127.0.0.1:35689 TauComms - Sending /ping to tau: 127.0.0.1:35689 TauComms - Sending /ping to tau: 127.0.0.1:35689 TauComms - Sending /ping to tau: 127.0.0.1:35689 TauComms - Sending /ping to tau: 127.0.0.1:35689 TauComms - Sending /ping to tau: 127.0.0.1:35689 TauComms - Sending /ping to tau: 127.0.0.1:35689 TauComms - Sending /ping to tau: 127.0.0.1:35689 TauComms - Sending /ping to tau: 127.0.0.1:35689 TauComms - Sending /ping to tau: 127.0.0.1:35689 TauComms - Sending /ping to tau: 127.0.0.1:35689 TauComms - Sending /ping to tau: 127.0.0.1:35689 TauComms - Sending /ping to tau: 127.0.0.1:35689 TauComms - Sending /ping to tau: 127.0.0.1:35689 TauComms - Sending /ping to tau: 127.0.0.1:35689 TauComms - Sending /ping to tau: 127.0.0.1:35689 TauComms - Sending /ping to tau: 127.0.0.1:35689 TauComms - Sending /ping to tau: 127.0.0.1:35689 TauComms - Sending /ping to tau: 127.0.0.1:35689 TauComms - Sending /ping to tau: 127.0.0.1:35689 TauComms - Sending /ping to tau: 127.0.0.1:35689 TauComms - Sending /ping to tau: 127.0.0.1:35689 TauComms - Sending /ping to tau: 127.0.0.1:35689 TauComms - Sending /ping to tau: 127.0.0.1:35689 TauComms - Sending /ping to tau: 127.0.0.1:35689 TauComms - Sending /ping to tau: 127.0.0.1:35689 TauComms - Sending /ping to tau: 127.0.0.1:35689 TauComms - Sending /ping to tau: 127.0.0.1:35689 TauComms - Sending /ping to tau: 127.0.0.1:35689 TauComms - Unable to connect to tau (Promise timed out after 30 seconds.). Exiting... Spider - Failed to start server: exit /Applications/Sonic Pi.app/Contents/Resources/app/server/ruby/lib/sonicpi/tau_comms.rb:96:in exit' /Applications/Sonic Pi.app/Contents/Resources/app/server/ruby/lib/sonicpi/tau_comms.rb:96:in rescue in block_until_tau_ready!' /Applications/Sonic Pi.app/Contents/Resources/app/server/ruby/lib/sonicpi/tau_comms.rb:92:in block_until_tau_ready!' /Applications/Sonic Pi.app/Contents/Resources/app/server/ruby/lib/sonicpi/tau_api.rb:70:in block_until_tau_ready!' /Applications/Sonic Pi.app/Contents/Resources/app/server/ruby/lib/sonicpi/tau_api.rb:49:in initialize' /Applications/Sonic Pi.app/Contents/Resources/app/server/ruby/lib/sonicpi/runtime.rb:1491:in new' /Applications/Sonic Pi.app/Contents/Resources/app/server/ruby/lib/sonicpi/runtime.rb:1491:in initialize' /Applications/Sonic Pi.app/Contents/Resources/app/server/ruby/lib/sonicpi/lang/sound.rb:70:in block (2 levels) in included' /Applications/Sonic Pi.app/Contents/Resources/app/server/ruby/lib/sonicpi/lang/ixi.rb:72:in block (2 levels) in included' /Applications/Sonic Pi.app/Contents/Resources/app/server/ruby/bin/spider-server.rb:243:in new' /Applications/Sonic Pi.app/Contents/Resources/app/server/ruby/bin/spider-server.rb:243:in `

' TauComms - Unable to connect to tau (Promise timed out after 30 seconds.). Exiting...

daemon.log: [2023-02-10 15:05:08] Welcome to the Daemon Booter [2023-02-10 15:05:08] ---------------------------- [2023-02-10 15:05:08] SuperCollider inputs disabled by GUI [2023-02-10 15:05:08] checked port 35686, #UDPSocket:0x000000010c906ae8 [2023-02-10 15:05:08] checked port 35687, #UDPSocket:0x000000010c906778 [2023-02-10 15:05:08] checked port 35688, #UDPSocket:0x000000010c9064f8 [2023-02-10 15:05:08] checked port 4560, #UDPSocket:0x000000010c906278 [2023-02-10 15:05:08] checked port 35689, #UDPSocket:0x000000010c905f80 [2023-02-10 15:05:08] checked port 35690, #UDPSocket:0x000000010c905850 [2023-02-10 15:05:08] checked port 35691, #UDPSocket:0x000000010c9055f8 [2023-02-10 15:05:08] checked port 35692, #UDPSocket:0x000000010c905350 [2023-02-10 15:05:08] checked port 35693, #UDPSocket:0x000000010c9050f8 [2023-02-10 15:05:08] Selected ports: [2023-02-10 15:05:08] {"spider-listen-to-gui"=>35686, "gui-send-to-spider"=>35686, "gui-listen-to-spider"=>35687, "spider-send-to-gui"=>35687, "scsynth"=>35688, "scsynth-send"=>35688, "osc-cues"=>4560, "tau"=>35689, "spider"=>35690, "phx"=>35691, "daemon"=>35692, "spider-listen-to-tau"=>35693} [2023-02-10 15:05:08] Booting Scsynth [2023-02-10 15:05:08] Got Audio Settings toml hash: {} [2023-02-10 15:05:08] Unified Audio Settings toml hash: {} [2023-02-10 15:05:08] Combined Audio Settings toml hash with GUI scsynth inputs hash: {"-i"=>"0"} [2023-02-10 15:05:08] Merged Audio Settings toml hash: {"-u"=>35688, "-a"=>"1024", "-m"=>"131072", "-D"=>"0", "-R"=>"0", "-l"=>"1", "-i"=>"0", "-o"=>"16", "-b"=>"4096", "-B"=>"127.0.0.1"} [2023-02-10 15:05:08] Process Booter - booting /Applications/Sonic Pi.app/Contents/Resources/app/server/native/scsynth with args ["-u", "35688", "-a", "1024", "-m", "131072", "-D", "0", "-R", "0", "-l", "1", "-i", "0", "-o", "16", "-b", "4096", "-B", "127.0.0.1"] [2023-02-10 15:05:08] /Applications/Sonic Pi.app/Contents/Resources/app/server/native/scsynth -u 35688 -a 1024 -m 131072 -D 0 -R 0 -l 1 -i 0 -o 16 -b 4096 -B 127.0.0.1 [2023-02-10 15:05:08] Waiting for the SuperCollider Server to have booted... [2023-02-10 15:05:08] Sending /status to server: localhost:35688 [2023-02-10 15:05:08] log: UTF-8, UTF-8, Number of Devices: 3 [2023-02-10 15:05:08] log: UTF-8, UTF-8, 0 : "MacBook Pro的" [2023-02-10 15:05:08] log: UTF-8, UTF-8, 1 : "MacBook Pro的" [2023-02-10 15:05:08] log: UTF-8, UTF-8, 2 : "iLoud Micro-Monitor" [2023-02-10 15:05:08] log: UTF-8, UTF-8, [2023-02-10 15:05:08] log: UTF-8, UTF-8, "MacBook Pro的" Input Device [2023-02-10 15:05:08] log: UTF-8, UTF-8, Streams: 1 [2023-02-10 15:05:08] log: UTF-8, UTF-8, 0 channels 1 [2023-02-10 15:05:08] log: UTF-8, UTF-8, [2023-02-10 15:05:08] log: UTF-8, UTF-8, "iLoud Micro-Monitor" Output Device [2023-02-10 15:05:08] log: UTF-8, UTF-8, Streams: 1 [2023-02-10 15:05:08] log: UTF-8, UTF-8, 0 channels 2 [2023-02-10 15:05:08] log: UTF-8, UTF-8, [2023-02-10 15:05:08] log: UTF-8, UTF-8, SC_AudioDriver: sample rate = 44100.000000, driver's block size = 512 [2023-02-10 15:05:08] log: UTF-8, UTF-8, SuperCollider 3 server ready. [2023-02-10 15:05:09] Sending /status to server: localhost:35688 [2023-02-10 15:05:09] Receiving ack from scsynth [2023-02-10 15:05:09] SuperCollider Server connection established [2023-02-10 15:05:09] Extracting Scsynth info [2023-02-10 15:05:09] Booting Tau... [2023-02-10 15:05:09] Fetching Tau toml opts... [2023-02-10 15:05:09] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:09] Daemon listening to info from Tau on port 35692 [2023-02-10 15:05:09] Process Booter - booting sh with args ["/Applications/Sonic Pi.app/Contents/Resources/app/server/beam/tau/boot-mac.sh"] [2023-02-10 15:05:09] sh /Applications/Sonic Pi.app/Contents/Resources/app/server/beam/tau/boot-mac.sh [2023-02-10 15:05:09] Booting Spider Server [2023-02-10 15:05:09] Process Booter - booting /Applications/Sonic Pi.app/Contents/Resources/app/server/native/ruby/bin/ruby with args ["--enable-frozen-string-literal", "-E", "utf-8", "/Applications/Sonic Pi.app/Contents/Resources/app/server/ruby/bin/spider-server.rb", "-u", "35686", "35687", "35688", "35688", "4560", "35689", "35693", "-310224660"] [2023-02-10 15:05:09] /Applications/Sonic Pi.app/Contents/Resources/app/server/native/ruby/bin/ruby --enable-frozen-string-literal -E utf-8 /Applications/Sonic Pi.app/Contents/Resources/app/server/ruby/bin/spider-server.rb -u 35686 35687 35688 35688 4560 35689 35693 -310224660 [2023-02-10 15:05:09] 35692 35687 35686 35688 4560 35689 35691 -310224660 [2023-02-10 15:05:09] Blocking main thread until exit signal received... [2023-02-10 15:05:09] log: UTF-8, UTF-8, Booting Tau on macOS... [2023-02-10 15:05:09] log: UTF-8, UTF-8, /Applications/Sonic Pi.app/Contents/Resources/app/server/beam/tau/boot-mac.sh: line 22: 869 Segmentation fault: 11 _build/prod/rel/tau/bin/tau start > /dev/null 2>&1 [2023-02-10 15:05:09] log: UTF-8, UTF-8, Sonic Pi Spider Server booting... [2023-02-10 15:05:09] log: UTF-8, UTF-8, The time is 2023-02-10 15:05:09 +0800 [2023-02-10 15:05:09] log: UTF-8, UTF-8, Using primary protocol: udp [2023-02-10 15:05:09] log: UTF-8, UTF-8, Detecting port numbers... [2023-02-10 15:05:09] log: UTF-8, UTF-8, Ports: {:server_port=>35686, :gui_port=>35687, :scsynth_port=>35688, :scsynth_send_port=>35688, :osc_cues_port=>4560, :tau_port=>35689, :listen_to_tau_port=>35693} [2023-02-10 15:05:09] log: UTF-8, UTF-8, Token: -310224660 [2023-02-10 15:05:09] log: UTF-8, UTF-8, Opening UDP Server to listen to GUI on port: 35686 [2023-02-10 15:05:09] log: UTF-8, UTF-8, Spider - Pulling in modules... [2023-02-10 15:05:09] log: UTF-8, UTF-8, Spider - Starting Runtime Server [2023-02-10 15:05:10] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:10] Error talking to Tau - connection refused (perhaps Tau is still booting?) [2023-02-10 15:05:11] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:12] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:12] Error talking to Tau - connection refused (perhaps Tau is still booting?) [2023-02-10 15:05:13] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:14] Sending scsynth info to GUI... [2023-02-10 15:05:14] Raw:

Number of Devices: 3 0 : "MacBook Pro的" 1 : "MacBook Pro的" 2 : "iLoud Micro-Monitor"

"MacBook Pro的" Input Device Streams: 1 0 channels 1

"iLoud Micro-Monitor" Output Device Streams: 1 0 channels 2

SC_AudioDriver: sample rate = 44100.000000, driver's block size = 512 SuperCollider 3 server ready. [2023-02-10 15:05:14] Extracted:

{:hw_in=>"Not connected", :hw_out=>"iLoud Micro-Monitor", :hw_in_chans=>0, :hw_out_chans=>2, :sc_sample_rate=>44100, :sc_block_size=>512} [2023-02-10 15:05:14] Pretty:

Out [2 ch]: iLoud Micro-Monitor In [0 ch]: Not connected Sample Rate: 44100 Block Size: 512 [2023-02-10 15:05:14]

[2023-02-10 15:05:14] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:14] Error talking to Tau - connection refused (perhaps Tau is still booting?) [2023-02-10 15:05:15] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:16] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:16] Error talking to Tau - connection refused (perhaps Tau is still booting?) [2023-02-10 15:05:17] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:18] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:18] Error talking to Tau - connection refused (perhaps Tau is still booting?) [2023-02-10 15:05:19] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:20] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:20] Error talking to Tau - connection refused (perhaps Tau is still booting?) [2023-02-10 15:05:21] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:22] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:22] Error talking to Tau - connection refused (perhaps Tau is still booting?) [2023-02-10 15:05:23] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:24] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:24] Error talking to Tau - connection refused (perhaps Tau is still booting?) [2023-02-10 15:05:25] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:26] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:26] Error talking to Tau - connection refused (perhaps Tau is still booting?) [2023-02-10 15:05:27] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:28] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:28] Error talking to Tau - connection refused (perhaps Tau is still booting?) [2023-02-10 15:05:29] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:30] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:30] Error talking to Tau - connection refused (perhaps Tau is still booting?) [2023-02-10 15:05:31] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:32] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:32] Error talking to Tau - connection refused (perhaps Tau is still booting?) [2023-02-10 15:05:33] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:34] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:34] Error talking to Tau - connection refused (perhaps Tau is still booting?) [2023-02-10 15:05:35] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:36] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:36] Error talking to Tau - connection refused (perhaps Tau is still booting?) [2023-02-10 15:05:37] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:38] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:38] Error talking to Tau - connection refused (perhaps Tau is still booting?) [2023-02-10 15:05:39] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:39] log: UTF-8, UTF-8, TauComms - Sending /ping to tau: 127.0.0.1:35689 [2023-02-10 15:05:39] log: UTF-8, UTF-8, TauComms - Sending /ping to tau: 127.0.0.1:35689 [2023-02-10 15:05:39] log: UTF-8, UTF-8, TauComms - Sending /ping to tau: 127.0.0.1:35689 [2023-02-10 15:05:39] log: UTF-8, UTF-8, TauComms - Sending /ping to tau: 127.0.0.1:35689 [2023-02-10 15:05:39] log: UTF-8, UTF-8, TauComms - Sending /ping to tau: 127.0.0.1:35689 [2023-02-10 15:05:39] log: UTF-8, UTF-8, TauComms - Sending /ping to tau: 127.0.0.1:35689 [2023-02-10 15:05:39] log: UTF-8, UTF-8, TauComms - Sending /ping to tau: 127.0.0.1:35689 [2023-02-10 15:05:39] log: UTF-8, UTF-8, TauComms - Sending /ping to tau: 127.0.0.1:35689 [2023-02-10 15:05:39] log: UTF-8, UTF-8, TauComms - Sending /ping to tau: 127.0.0.1:35689 [2023-02-10 15:05:39] log: UTF-8, UTF-8, TauComms - Sending /ping to tau: 127.0.0.1:35689 [2023-02-10 15:05:39] log: UTF-8, UTF-8, TauComms - Sending /ping to tau: 127.0.0.1:35689 [2023-02-10 15:05:39] log: UTF-8, UTF-8, TauComms - Sending /ping to tau: 127.0.0.1:35689 [2023-02-10 15:05:39] log: UTF-8, UTF-8, TauComms - Sending /ping to tau: 127.0.0.1:35689 [2023-02-10 15:05:39] log: UTF-8, UTF-8, TauComms - Sending /ping to tau: 127.0.0.1:35689 [2023-02-10 15:05:39] log: UTF-8, UTF-8, TauComms - Sending /ping to tau: 127.0.0.1:35689 [2023-02-10 15:05:39] log: UTF-8, UTF-8, TauComms - Sending /ping to tau: 127.0.0.1:35689 [2023-02-10 15:05:39] log: UTF-8, UTF-8, TauComms - Sending /ping to tau: 127.0.0.1:35689 [2023-02-10 15:05:39] log: UTF-8, UTF-8, TauComms - Sending /ping to tau: 127.0.0.1:35689 [2023-02-10 15:05:39] log: UTF-8, UTF-8, TauComms - Sending /ping to tau: 127.0.0.1:35689 [2023-02-10 15:05:39] log: UTF-8, UTF-8, TauComms - Sending /ping to tau: 127.0.0.1:35689 [2023-02-10 15:05:39] log: UTF-8, UTF-8, TauComms - Sending /ping to tau: 127.0.0.1:35689 [2023-02-10 15:05:39] log: UTF-8, UTF-8, TauComms - Sending /ping to tau: 127.0.0.1:35689 [2023-02-10 15:05:39] log: UTF-8, UTF-8, TauComms - Sending /ping to tau: 127.0.0.1:35689 [2023-02-10 15:05:39] log: UTF-8, UTF-8, TauComms - Sending /ping to tau: 127.0.0.1:35689 [2023-02-10 15:05:39] log: UTF-8, UTF-8, TauComms - Sending /ping to tau: 127.0.0.1:35689 [2023-02-10 15:05:39] log: UTF-8, UTF-8, TauComms - Sending /ping to tau: 127.0.0.1:35689 [2023-02-10 15:05:39] log: UTF-8, UTF-8, TauComms - Sending /ping to tau: 127.0.0.1:35689 [2023-02-10 15:05:39] log: UTF-8, UTF-8, TauComms - Sending /ping to tau: 127.0.0.1:35689 [2023-02-10 15:05:39] log: UTF-8, UTF-8, TauComms - Sending /ping to tau: 127.0.0.1:35689 [2023-02-10 15:05:39] log: UTF-8, UTF-8, TauComms - Sending /ping to tau: 127.0.0.1:35689 [2023-02-10 15:05:39] log: UTF-8, UTF-8, TauComms - Unable to connect to tau (Promise timed out after 30 seconds.). Exiting... [2023-02-10 15:05:39] log: UTF-8, UTF-8, Spider - Failed to start server: exit [2023-02-10 15:05:39] log: UTF-8, UTF-8, /Applications/Sonic Pi.app/Contents/Resources/app/server/ruby/lib/sonicpi/tau_comms.rb:96:in exit' [2023-02-10 15:05:39] log: UTF-8, UTF-8, /Applications/Sonic Pi.app/Contents/Resources/app/server/ruby/lib/sonicpi/tau_comms.rb:96:in rescue in block_until_tau_ready!' [2023-02-10 15:05:39] log: UTF-8, UTF-8, /Applications/Sonic Pi.app/Contents/Resources/app/server/ruby/lib/sonicpi/tau_comms.rb:92:in block_until_tau_ready!' [2023-02-10 15:05:39] log: UTF-8, UTF-8, /Applications/Sonic Pi.app/Contents/Resources/app/server/ruby/lib/sonicpi/tau_api.rb:70:in block_until_tau_ready!' [2023-02-10 15:05:39] log: UTF-8, UTF-8, /Applications/Sonic Pi.app/Contents/Resources/app/server/ruby/lib/sonicpi/tau_api.rb:49:in initialize' [2023-02-10 15:05:39] log: UTF-8, UTF-8, /Applications/Sonic Pi.app/Contents/Resources/app/server/ruby/lib/sonicpi/runtime.rb:1491:in new' [2023-02-10 15:05:39] log: UTF-8, UTF-8, /Applications/Sonic Pi.app/Contents/Resources/app/server/ruby/lib/sonicpi/runtime.rb:1491:in initialize' [2023-02-10 15:05:39] log: UTF-8, UTF-8, /Applications/Sonic Pi.app/Contents/Resources/app/server/ruby/lib/sonicpi/lang/sound.rb:70:in block (2 levels) in included' [2023-02-10 15:05:39] log: UTF-8, UTF-8, /Applications/Sonic Pi.app/Contents/Resources/app/server/ruby/lib/sonicpi/lang/ixi.rb:72:in block (2 levels) in included' [2023-02-10 15:05:39] log: UTF-8, UTF-8, /Applications/Sonic Pi.app/Contents/Resources/app/server/ruby/bin/spider-server.rb:243:in new' [2023-02-10 15:05:39] log: UTF-8, UTF-8, /Applications/Sonic Pi.app/Contents/Resources/app/server/ruby/bin/spider-server.rb:243:in `

' [2023-02-10 15:05:39] log: UTF-8, UTF-8, TauComms - Unable to connect to tau (Promise timed out after 30 seconds.). Exiting... [2023-02-10 15:05:40] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:40] Error talking to Tau - connection refused (perhaps Tau is still booting?) [2023-02-10 15:05:41] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:42] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:42] Error talking to Tau - connection refused (perhaps Tau is still booting?) [2023-02-10 15:05:43] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:44] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:44] Error talking to Tau - connection refused (perhaps Tau is still booting?) [2023-02-10 15:05:45] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:46] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:46] Error talking to Tau - connection refused (perhaps Tau is still booting?) [2023-02-10 15:05:47] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:48] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:48] Error talking to Tau - connection refused (perhaps Tau is still booting?) [2023-02-10 15:05:49] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:50] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:50] Error talking to Tau - connection refused (perhaps Tau is still booting?) [2023-02-10 15:05:51] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:52] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:52] Error talking to Tau - connection refused (perhaps Tau is still booting?) [2023-02-10 15:05:53] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:54] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:54] Error talking to Tau - connection refused (perhaps Tau is still booting?) [2023-02-10 15:05:55] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:56] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:56] Error talking to Tau - connection refused (perhaps Tau is still booting?) [2023-02-10 15:05:57] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:58] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:05:58] Error talking to Tau - connection refused (perhaps Tau is still booting?) [2023-02-10 15:05:59] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:06:00] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:06:00] Error talking to Tau - connection refused (perhaps Tau is still booting?) [2023-02-10 15:06:01] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:06:02] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:06:02] Error talking to Tau - connection refused (perhaps Tau is still booting?) [2023-02-10 15:06:03] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:06:04] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:06:04] Error talking to Tau - connection refused (perhaps Tau is still booting?) [2023-02-10 15:06:05] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:06:06] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:06:06] Error talking to Tau - connection refused (perhaps Tau is still booting?) [2023-02-10 15:06:07] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:06:08] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:06:08] Error talking to Tau - connection refused (perhaps Tau is still booting?) [2023-02-10 15:06:09] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:06:10] Requesting tau send us its pid. Sending /send-pid-to-daemon, -310224660 to localhost:35689 [2023-02-10 15:06:10] Error talking to Tau - connection refused (perhaps Tau is still booting?)

scsynth.log: Number of Devices: 3 0 : "MacBook Pro的" 1 : "MacBook Pro的" 2 : "iLoud Micro-Monitor"

"MacBook Pro的" Input Device Streams: 1 0 channels 1

"iLoud Micro-Monitor" Output Device Streams: 1 0 channels 2

SC_AudioDriver: sample rate = 44100.000000, driver's block size = 512 SuperCollider 3 server ready.

gui.log: [API] [INFO ] : Starting... [API] [INFO ] : Log Path: /Users/yueshi/.sonic-pi/log [API] [INFO ] : Launching Sonic Pi Boot Daemon: [API] [INFO ] : Args: /Applications/Sonic Pi.app/Contents/Resources/app/server/native/ruby/bin/ruby /Applications/Sonic Pi.app/Contents/Resources/app/server/ruby/bin/daemon.rb --no-scsynth-inputs [API] [INFO ] : Started... [API] [INFO ] : Reading Boot Daemon output... [API] [INFO ] : daemon_stdout: 35692 [API] [INFO ] : daemon_stdout: 35687 [API] [INFO ] : daemon_stdout: 35686 [API] [INFO ] : daemon_stdout: 35688 [API] [INFO ] : daemon_stdout: 4560 [API] [INFO ] : daemon_stdout: 35689 [API] [INFO ] : daemon_stdout: 35691 [API] [INFO ] : daemon_stdout: -310224660 [API] [INFO ] : Setting up OSC sender to Spider on port 35686 [API] [INFO ] : Setting up OSC sender to Daemon on port 35692 [API] [INFO ] : Setting up OSC sender to Tau on port 35689 [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 35687... [GUI] - API Boot successful [API] [INFO ] : Pinging Spider Server until a response is received... [API] [INFO ] : Waiting for Sonic Pi Spider Server to respond... [GUI] [i18n] - Looping through preferred ui languages [API] [INFO ] : UDP OSC Server ready and listening [GUI] - Language setting: system_language [GUI] - System language: en_CN [GUI] [i18n] - Looping through preferred ui languages [GUI] - Using language: zh_TW [GUI] [i18n] - Loading translations for zh_TW [GUI] - translations available [GUI] - hiding main window [GUI] - initialising toolbar icons [GUI] - setting up window structure [Debug] Adding language combo box entries... 54 [Debug] Adding language system_language to the combo box [Debug] Adding language ar to the combo box [GUI] [i18n] - Warning: Predefined language name not found: 'ar' [Debug] Adding language bg to the combo box [Debug] Adding language bn to the combo box [Debug] Adding language bs to the combo box [Debug] Adding language ca to the combo box [Debug] Adding language ca@valencia to the combo box [Debug] Adding language cs to the combo box [Debug] Adding language da to the combo box [Debug] Adding language de to the combo box [Debug] Adding language el to the combo box [Debug] Adding language en_AU to the combo box [Debug] Adding language en_GB to the combo box [Debug] Adding language en_US to the combo box [Debug] Adding language eo to the combo box [Debug] Adding language es to the combo box [Debug] Adding language et to the combo box [Debug] Adding language eu to the combo box [Debug] Adding language fa to the combo box [Debug] Adding language fi to the combo box [Debug] Adding language fr to the combo box [Debug] Adding language ga to the combo box [Debug] Adding language gl to the combo box [Debug] Adding language he to the combo box [Debug] Adding language hi to the combo box [Debug] Adding language hu to the combo box [Debug] Adding language hy to the combo box [Debug] Adding language id to the combo box [Debug] Adding language is to the combo box [Debug] Adding language it to the combo box [Debug] Adding language ja to the combo box [Debug] Adding language ka to the combo box [Debug] Adding language ko to the combo box [Debug] Adding language nb to the combo box [Debug] Adding language nl to the combo box [Debug] Adding language pl to the combo box [Debug] Adding language pt to the combo box [Debug] Adding language pt_BR to the combo box [Debug] Adding language ro to the combo box [Debug] Adding language ru to the combo box [Debug] Adding language si to the combo box [Debug] Adding language sk to the combo box [Debug] Adding language sl to the combo box [Debug] Adding language sv to the combo box [Debug] Adding language sw to the combo box [Debug] Adding language th to the combo box [Debug] Adding language tr to the combo box [Debug] Adding language ug to the combo box [Debug] Adding language uk to the combo box [Debug] Adding language vi to the combo box [Debug] Adding language zh to the combo box [Debug] Adding language zh-Hans to the combo box [Debug] Adding language zh_HK to the combo box [Debug] Adding language zh_TW to the combo box [GUI] [i18n] - Warning: Predefined language name not found: 'zh_Hant_CN' [GUI] [i18n] - Warning: Predefined language name not found: 'zh_Hant_TW' [GUI] [i18n] - Warning: Predefined language name not found: 'zh_Hans_CN' [GUI] [i18n] - Warning: Predefined language name not found: 'zh_CN' [GUI] [i18n] - Warning: Predefined language name not found: 'en_Latn_GB' [GUI] [i18n] - Warning: Predefined language name not found: 'ja_CN' [GUI] [i18n] - Warning: Predefined language name not found: 'ja_JP' [GUI] [i18n] - Warning: Predefined language name not found: 'ja_Jpan_JP' [GUI] - restoring scope states [GUI] - creating status bar [GUI] - creating info panel [GUI] - creating shortcuts [GUI] - creating tool bar [GUI] [i18n] - Warning: Predefined language name not found: 'ar' [GUI] - initialising documentation window [API] [INFO ] : Waiting Until Ready... 59 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 58 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 57 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 56 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 55 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 54 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 53 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 52 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 51 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 50 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 49 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 48 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 47 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 46 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 45 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 44 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 43 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 42 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 41 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 40 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 39 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 38 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 37 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 36 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 35 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 34 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 33 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 32 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 31 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 30 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 29 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 28 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 27 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 26 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 25 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 24 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 23 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 22 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 21 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 20 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 19 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 18 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 17 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 16 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 15 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 14 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 13 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 12 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 11 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 10 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 9 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 8 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 7 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 6 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 5 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 4 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 3 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 2 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 1 [API] [INFO ] : . [API] [INFO ] : Waiting Until Ready... 0 [API] [INFO ] : . [GUI] - Critical Error. Unable to connect to server..

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

llm1538 avatar Feb 10 '23 07:02 llm1538

I am using my old intel mac mini to run sonic pi and it works fine. This issue was on my new Macbook pro M2 chip. I guess I might be something wrong with the new chip. I hope I can get the answer soon. And I love Soinc PI.

llm1538 avatar Feb 10 '23 07:02 llm1538

Yup I get the same on an M2 MacBook Pro. Not an easy one to solve. There is an exception crash in the code responsible for the Tau server. The code is of course running under Rosetta as it is not yet built with native code for apple silicon. May take some time to solve. Code works fine on an intel based Mac.

rbnpi avatar Feb 10 '23 23:02 rbnpi

Yup I get the same on an M2 MacBook Pro. Not an easy one to solve. There is an exception crash in the code responsible for the Tau server. The code is of course running under Rosetta as it is not yet built with native code for apple silicon. May take some time to solve. Code works fine on an intel based Mac. Thanks for answering the question. I am gonna have a try.

llm1538 avatar Feb 11 '23 05:02 llm1538