sonic-pi-net / sonic-pi

Code. Music. Live.
https://sonic-pi.net
Other
10.86k stars 924 forks source link

booting error #2477

Closed koanleach closed 2 years ago

koanleach commented 4 years ago

Sonic Pi Boot Error Report

System Information

GUI Log

C:\Users\mihai\.sonic-pi\log\gui.log

[GUI] - Welcome to the Sonic Pi GUI
[GUI] - ===========================
[GUI] -                            
[GUI] - {89819bc4-a3c4-4436-9422-1381e7e776a8}
[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: 1872
[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] - Critical error! Could not boot Sonic Pi Server.
[GUI] - stopping UDP OSC Server...
[GUI] - Critical Error. Unable to connect to server..
[GUI] - UDP OSC Server no longer listening

Server Errors

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

Server Output

C:\Users\mihai\.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 2020-07-12 17:52:03 +0200
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

Scsynth Output

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

# Starting SuperCollider 2020-07-12 17:52:04

Device options:
  - MME : Microsoft Sound Mapper - Input   (device #0 with 2 ins 0 outs)
  - MME : Line In (Scarlett 6i6 USB)   (device #1 with 6 ins 0 outs)
  - MME : Microphone Array (Realtek(R) Au   (device #2 with 4 ins 0 outs)
  - MME : Microsoft Sound Mapper - Output   (device #3 with 0 ins 2 outs)
  - MME : Line Out (Scarlett 6i6 USB)   (device #4 with 0 ins 12 outs)
  - MME : DELL U2515H (NVIDIA High Defini   (device #5 with 0 ins 2 outs)
  - MME : Speaker/HP (Realtek(R) Audio)   (device #6 with 0 ins 8 outs)
  - Windows DirectSound : Primary Sound Capture Driver   (device #7 with 2 ins 0 outs)
  - Windows DirectSound : Line In (Scarlett 6i6 USB)   (device #8 with 6 ins 0 outs)
  - Windows DirectSound : Microphone Array (Realtek(R) Audio)   (device #9 with 4 ins 0 outs)
  - Windows DirectSound : Primary Sound Driver   (device #10 with 0 ins 2 outs)
  - Windows DirectSound : Line Out (Scarlett 6i6 USB)   (device #11 with 0 ins 12 outs)
  - Windows DirectSound : DELL U2515H (NVIDIA High Definition Audio)   (device #12 with 0 ins 2 outs)
  - Windows DirectSound : Speaker/HP (Realtek(R) Audio)   (device #13 with 0 ins 8 outs)
  - ASIO : Focusrite USB 2.0 Audio Driver   (device #14 with 6 ins 12 outs)
  - Windows WASAPI : DELL U2515H (NVIDIA High Definition Audio)   (device #15 with 0 ins 2 outs)
  - Windows WASAPI : Speaker/HP (Realtek(R) Audio)   (device #16 with 0 ins 2 outs)
  - Windows WASAPI : Line Out (Scarlett 6i6 USB)   (device #17 with 0 ins 2 outs)
  - Windows WASAPI : Line In (Scarlett 6i6 USB)   (device #18 with 2 ins 0 outs)
  - Windows WASAPI : Microphone Array (Realtek(R) Audio)   (device #19 with 2 ins 0 outs)
  - Windows WDM-KS : Speakers 1 (Realtek HD Audio output with SST)   (device #20 with 0 ins 2 outs)
  - Windows WDM-KS : Speakers 2 (Realtek HD Audio output with SST)   (device #21 with 0 ins 8 outs)
  - Windows WDM-KS : PC Speaker (Realtek HD Audio output with SST)   (device #22 with 2 ins 0 outs)
  - Windows WDM-KS : Microphone Array 1 (Realtek HD Audio Mic input with SST)   (device #23 with 2 ins 0 outs)
  - Windows WDM-KS : Microphone Array 2 (Realtek HD Audio Mic input with SST)   (device #24 with 4 ins 0 outs)
  - Windows WDM-KS : Microphone Array 3 (Realtek HD Audio Mic input with SST)   (device #25 with 4 ins 0 outs)
  - Windows WDM-KS : Output ()   (device #26 with 0 ins 2 outs)
  - Windows WDM-KS : Output (Scarlett 6i6 USB)   (device #27 with 0 ins 12 outs)
  - Windows WDM-KS : Input (Scarlett 6i6 USB)   (device #28 with 6 ins 0 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 : Line In (Scarlett 6i6 USB)
  Out: MME : Line Out (Scarlett 6i6 USB)
SC_PortAudioDriver: PortAudio failed at Pa_OpenStream with error: 'Unanticipated host error'
could not initialize audio.

Process Log

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


Clearing pids: []
No pids to clear :-)
Started [1872] [-] "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/mihai/AppData/Local/Temp/sonic-pi-pids/1872
YPares commented 4 years ago

At startup it tries to install Yamaha USB Driver and hangs at "Preparing installation", and then I'm getting the same log:

Sonic Pi Boot Error Report

System Information

GUI Log

C:\Users\yvesp\.sonic-pi\log\gui.log

[GUI] - Welcome to the Sonic Pi GUI
[GUI] - ===========================
[GUI] -                            
[GUI] - {d0597641-396e-4973-bfd0-0644febf489c}
[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: 10932
[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] - Critical error! Could not boot Sonic Pi Server.
[GUI] - stopping UDP OSC Server...
[GUI] - Critical Error. Unable to connect to server..
[GUI] - UDP OSC Server no longer listening

Server Errors

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

Server Output

C:\Users\yvesp\.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 2020-07-22 02:50:25 +0200
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 [3188] [-] "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/yvesp/AppData/Local/Temp/sonic-pi-pids/3188

Scsynth Output

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

Process Log

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


Clearing pids: []
No pids to clear :-)
Started [10932] [-] "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/yvesp/AppData/Local/Temp/sonic-pi-pids/10932
Started [3188] [-] "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/yvesp/AppData/Local/Temp/sonic-pi-pids/3188
YPares commented 4 years ago

Following the recommendation here https://github.com/supercollider/supercollider/issues/2409 and running write-eventlog -logname System -source 'EventLog' -EventID 6005 -EntryType Information -Category 0 -message "foobar" (prior the launch or during the launch) in the Powershell as admin did not fix it. It's still blocking at "Preparing installation" (of Yamaha USB driver) and then I get the same error log.

samaaron commented 2 years ago

Closing for now due to inactivity.

We have completely overhauled the process with which we boot the system, and it would still be really great to know if this has somehow not resolved your situation.

Therefore, please feel free to re-open if this is still an issue with the recently released v4 of Sonic Pi - https://github.com/sonic-pi-net/sonic-pi/releases