Critical error! - could not boot sonic pi server. for windows

[GUI] - Welcome to the Sonic Pi GUI
[GUI] - ===========================
[GUI] -                            
[GUI] - {cd6f5244-8c11-4d5e-b710-99583ff9f5ec}
[GUI] - Discovering port numbers...
[GUI] - Port entry server-listen-to-gui : 51235 : 51235
[GUI] - Port entry gui-send-to-server : 51235 : 51235
[GUI] - Port entry gui-listen-to-server : 51236 : 51236
[GUI] - Port entry server-send-to-gui : 51236 : 51236
[GUI] - Port entry scsynth : 51237 : 51237
[GUI] - Port entry scsynth-send : 51237 : 51237
[GUI] - Port entry osc-midi-out : 51238 : 51238
[GUI] - Port entry osc-midi-in : 51239 : 51239
[GUI] - Port entry server-osc-cues : 4560 : 4560
[GUI] - Port entry erlang-router : 51240 : 51240
[GUI] - Port entry websocket : 51241 : 51241
[GUI] - Detecting port numbers...
[GUI] - GUI listen to server port 51236
[GUI] -    port: 51236 [OK]
[GUI] - Server listen to gui port 51235
[GUI] -    port: 51235 [OK]
[GUI] - Server incoming OSC cues port 4560
[GUI] -    port: 4560 [OK]
[GUI] - Scsynth port 51237
[GUI] -    port: 51237 [OK]
[GUI] - Server send to GUI port 51236
[GUI] -    port: 51236 [OK]
[GUI] - GUI send to server port 51235
[GUI] -    port: 51235 [OK]
[GUI] - Scsynth send port 51237
[GUI] -    port: 51237 [OK]
[GUI] - Erlang router port 51240
[GUI] -    port: 51240 [OK]
[GUI] - OSC MIDI out port 51238
[GUI] -    port: 51238 [OK]
[GUI] - OSC MIDI in port 51239
[GUI] -    port: 51239 [OK]
[GUI] - Websocket port 51241
[GUI] -    port: 51241 [OK]
[GUI] - All ports OK
[GUI] - launching Sonic Pi Runtime Server:
[GUI] - Ruby server pid registered: 8996
[GUI] - hiding main window
[GUI] - initialising toolbar icons
[GUI] - setting up window structure
[GUI] - restoring scope states 
[GUI] - creating status bar
[GUI] - creating info panel
[GUI] - creating shortcuts
[GUI] - creating tool bar
[GUI] - initialising documentation window
[GUI] - wait for sync
[GUI] - waiting for Sonic Pi Server to boot...
[GUI] - starting UDP OSC Server on port 51236...
[GUI] - UDP OSC Server ready and listening
..................................
[GUI] - Sonic Pi Server failed to start with this error message: 
      > Server Exception:
 Boot - Unable to connect to SuperCollider
 ["C:/Program Files/Sonic Pi/app/server/ruby/lib/sonicpi/scsynthexternal.rb:267:in `boot_and_wait'", "C:/Program Files/Sonic Pi/app/server/ruby/lib/sonicpi/scsynthexternal.rb:368:in `boot_server_windows'", "C:/Program Files/Sonic Pi/app/server/ruby/lib/sonicpi/scsynthexternal.rb:155:in `boot'", "C:/Program Files/Sonic Pi/app/server/ruby/lib/sonicpi/scsynthexternal.rb:37:in `initialize'", "C:/Program Files/Sonic Pi/app/server/ruby/lib/sonicpi/server.rb:78:in `new'", "C:/Program Files/Sonic Pi/app/server/ruby/lib/sonicpi/server.rb:78:in `initialize'", "C:/Program Files/Sonic Pi/app/server/ruby/lib/sonicpi/studio.rb:192:in `new'", "C:/Program Files/Sonic Pi/app/server/ruby/lib/sonicpi/studio.rb:192:in `init_scsynth'", "C:/Program Files/Sonic Pi/app/server/ruby/lib/sonicpi/studio.rb:57:in `initialize'", "C:/Program Files/Sonic Pi/app/server/ruby/lib/sonicpi/lang/sound.rb:89:in `new'", "C:/Program Files/Sonic Pi/app/server/ruby/lib/sonicpi/lang/sound.rb:89:in `block (2 levels) in included'", "C:/Program Files/Sonic Pi/app/server/ruby/lib/sonicpi/lang/ixi.rb:72:in `block (2 levels) in included'", "C:/Program Files/Sonic Pi/app/gui/qt/build/Release/../../../../../app/server/ruby/bin/sonic-pi-server.rb:302:in `new'", "C:/Program Files/Sonic Pi/app/gui/qt/build/Release/../../../../../app/server/ruby/bin/sonic-pi-server.rb:302:in `<main>'"]
[GUI] - UDP OSC Server no longer listening
..........................
[GUI] - Critical error! Could not boot Sonic Pi Server.
[GUI] - stopping UDP OSC Server...
[GUI] - Critical Error. Unable to connect to server..

Server Errors

C:\Users\ACER\.sonic-pi\log\server-errors.log


Server Output

C:\Users\ACER\.sonic-pi\log\server-output.log

Sonic Pi server booting...
This is version 3.2.0 running on Ruby 2.7.1.
The time is 2021-01-05 12:44:42 +0330
Using primary protocol: udp
Detecting port numbers...
Listen port: 51235
  - OK
Scsynth port: 51237
  - OK
Scsynth send port: 51237
  - OK
OSC cues port: 4560
  - OK
Erlang port: 51240
  - OK
OSC MIDI out port: 51238
  - OK
OSC MIDI in port: 51239
  - OK
Websocket port: 51241
  - OK
Opening UDP Server to listen to GUI on port: 51235
Started [3960] [-] "C:\Program Files\Sonic Pi\app\server\native\scsynth.exe" -u 51237 -m 131072 -a 1024 -D 0 -R 0 -l 1 -i 16 -o 16 -U "C:/Program Files/Sonic Pi/app/server/native/plugins/" -b 4096 -B 127.0.0.1 [-] C:/Users/ACER/AppData/Local/Temp/sonic-pi-pids/3960
Starting Server Runtime
Booting server...


Booting Sonic Pi
----------------

Booting on Windows
Boot - Starting the SuperCollider server...
Boot - C:/Program Files/Sonic Pi/app/server/native/scsynth.exe -u 51237 -m 131072 -a 1024 -D 0 -R 0 -l 1 -i 16 -o 16 -U C:/Program Files/Sonic Pi/app/server/native/plugins/ -b 4096 -B 127.0.0.1
Boot - SuperCollider booted successfully.
Boot - Connecting to the SuperCollider server...
Boot - Sending /status to server: 127.0.0.1:51237
Boot - Sending /status to server: 127.0.0.1:51237
Boot - Sending /status to server: 127.0.0.1:51237
Boot - Sending /status to server: 127.0.0.1:51237
Boot - Sending /status to server: 127.0.0.1:51237
Boot - Sending /status to server: 127.0.0.1:51237
Boot - Sending /status to server: 127.0.0.1:51237
Boot - Sending /status to server: 127.0.0.1:51237
Boot - Sending /status to server: 127.0.0.1:51237
Boot - Sending /status to server: 127.0.0.1:51237
Boot - Sending /status to server: 127.0.0.1:51237
Boot - Sending /status to server: 127.0.0.1:51237
Boot - Sending /status to server: 127.0.0.1:51237
Boot - Sending /status to server: 127.0.0.1:51237
Boot - Sending /status to server: 127.0.0.1:51237
Boot - Unable to connect to SuperCollider
Failed to start server: Boot - Unable to connect to SuperCollider
C:/Program Files/Sonic Pi/app/server/ruby/lib/sonicpi/scsynthexternal.rb:267:in `boot_and_wait'
C:/Program Files/Sonic Pi/app/server/ruby/lib/sonicpi/scsynthexternal.rb:368:in `boot_server_windows'
C:/Program Files/Sonic Pi/app/server/ruby/lib/sonicpi/scsynthexternal.rb:155:in `boot'
C:/Program Files/Sonic Pi/app/server/ruby/lib/sonicpi/scsynthexternal.rb:37:in `initialize'
C:/Program Files/Sonic Pi/app/server/ruby/lib/sonicpi/server.rb:78:in `new'
C:/Program Files/Sonic Pi/app/server/ruby/lib/sonicpi/server.rb:78:in `initialize'
C:/Program Files/Sonic Pi/app/server/ruby/lib/sonicpi/studio.rb:192:in `new'
C:/Program Files/Sonic Pi/app/server/ruby/lib/sonicpi/studio.rb:192:in `init_scsynth'
C:/Program Files/Sonic Pi/app/server/ruby/lib/sonicpi/studio.rb:57:in `initialize'
C:/Program Files/Sonic Pi/app/server/ruby/lib/sonicpi/lang/sound.rb:89:in `new'
C:/Program Files/Sonic Pi/app/server/ruby/lib/sonicpi/lang/sound.rb:89:in `block (2 levels) in included'
C:/Program Files/Sonic Pi/app/server/ruby/lib/sonicpi/lang/ixi.rb:72:in `block (2 levels) in included'
C:/Program Files/Sonic Pi/app/gui/qt/build/Release/../../../../../app/server/ruby/bin/sonic-pi-server.rb:302:in `new'
C:/Program Files/Sonic Pi/app/gui/qt/build/Release/../../../../../app/server/ruby/bin/sonic-pi-server.rb:302:in `<main>'

Scsynth Output

C:\Users\ACER\.sonic-pi\log\scsynth.log

# Starting SuperCollider 2021-01-05 12:44:43

Device options:
  - MME : Microsoft Sound Mapper - Input   (device #0 with 2 ins 0 outs)
  - MME : Microphone (EpocCam Camera Audi   (device #1 with 2 ins 0 outs)
  - MME : Microphone Array (Realtek High    (device #2 with 2 ins 0 outs)
  - MME : Microsoft Sound Mapper - Output   (device #3 with 0 ins 2 outs)
  - MME : Speakers (Realtek High Definiti   (device #4 with 0 ins 2 outs)
  - Windows DirectSound : Primary Sound Capture Driver   (device #5 with 2 ins 0 outs)
  - Windows DirectSound : Microphone (EpocCam Camera Audio)   (device #6 with 2 ins 0 outs)
  - Windows DirectSound : Microphone Array (Realtek High Definition Audio)   (device #7 with 2 ins 0 outs)
  - Windows DirectSound : Primary Sound Driver   (device #8 with 0 ins 2 outs)
  - Windows DirectSound : Speakers (Realtek High Definition Audio)   (device #9 with 0 ins 2 outs)
  - Windows WASAPI : Speakers (Realtek High Definition Audio)   (device #10 with 0 ins 2 outs)
  - Windows WASAPI : Microphone (EpocCam Camera Audio)   (device #11 with 2 ins 0 outs)
  - Windows WASAPI : Microphone Array (Realtek High Definition Audio)   (device #12 with 2 ins 0 outs)
  - Windows WDM-KS : Line In (Realtek HD Audio Line input)   (device #13 with 2 ins 0 outs)
  - Windows WDM-KS : Speakers (Realtek HD Audio output)   (device #14 with 0 ins 2 outs)
  - Windows WDM-KS : Stereo Mix (Realtek HD Audio Stereo input)   (device #15 with 2 ins 0 outs)
  - Windows WDM-KS : Microphone Array (Realtek HD Audio Mic input)   (device #16 with 2 ins 0 outs)
  - Windows WDM-KS : MIDI (EpocCam Audio)   (device #17 with 2 ins 0 outs)
  - Windows WDM-KS : Output (EpocCam Audio)   (device #18 with 0 ins 2 outs)

Requested devices:
  In (matching device NOT found):
  - (null)
  Out (matching device NOT found):
  - (null)

Selecting default system input/output devices

Booting with:
  In: MME : Microphone (EpocCam Camera Audi
  Out: MME : Speakers (Realtek High Definiti
  Sample rate: 44100.000
  Latency (in/out): 0.013 / 0.091 sec
SC_AudioDriver: sample rate = 44100.000000, driver's block size = 64
SuperCollider 3 server ready.

Process Log

C:\Users\ACER\.sonic-pi\log\processes.log


Clearing pids: ["11724", "6108"]

Clearing [11724]
  -- command "C:\Program Files\Sonic Pi\app\gui\qt\build\Release\..\..\..\..\..\app\server\native\ruby\bin\ruby.exe"  --enable-frozen-string-literal -E utf-8 "C:\Program Files\Sonic Pi\app\gui\qt\build\Release\..\..\..\..\..\app\server\ruby\bin\sonic-pi-server.rb" -u 51235 51236 51237 51237 4560 51240 51238 51239 51241
  -- removing C:/Users/ACER/AppData/Local/Temp/sonic-pi-pids/11724
  -- unable to get ProcTable info for: 11724
  -- process: 11724 not running

Clearing [6108]
  -- command "C:\Program Files\Sonic Pi\app\server\native\scsynth.exe" -u 51237 -m 131072 -a 1024 -D 0 -R 0 -l 1 -i 16 -o 16 -U "C:/Program Files/Sonic Pi/app/server/native/plugins/" -b 4096 -B 127.0.0.1
  -- removing C:/Users/ACER/AppData/Local/Temp/sonic-pi-pids/6108
  -- unable to get ProcTable info for: 6108
  -- process: 6108 not running

Finished clearing pids

Started [8996] [-] "C:\Program Files\Sonic Pi\app\gui\qt\build\Release\..\..\..\..\..\app\server\native\ruby\bin\ruby.exe"  --enable-frozen-string-literal -E utf-8 "C:\Program Files\Sonic Pi\app\gui\qt\build\Release\..\..\..\..\..\app\server\ruby\bin\sonic-pi-server.rb" -u 51235 51236 51237 51237 4560 51240 51238 51239 51241 [-] C:/Users/ACER/AppData/Local/Temp/sonic-pi-pids/8996
Started [3960] [-] "C:\Program Files\Sonic Pi\app\server\native\scsynth.exe" -u 51237 -m 131072 -a 1024 -D 0 -R 0 -l 1 -i 16 -o 16 -U "C:/Program Files/Sonic Pi/app/server/native/plugins/" -b 4096 -B 127.0.0.1 [-] C:/Users/ACER/AppData/Local/Temp/sonic-pi-pids/3960



@Matinovsky - just a heads up, this forum is fine for asking about problems getting Sonic Pi building on your system, or how to use it once it’s running etc, but regarding raising a bug or a start up issue, we’d prefer that things like that are not cross-posted here - the GitHub issue tracker is the best place for start up issues. (We prefer to track things like this in a single location). I have already replied to your issue on GitHub, can you perhaps respond to my question there?

1 Like