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

Sonic Pi Boot Error - Linux Mint XFCE - after installing from Software Manager and Synaptic Package Manager.

Open ScarletMcLearn opened this issue 1 year ago • 1 comments

Sonic Pi Boot Error

Apologies, a critical error occurred during startup:

Critical error! - Could not boot Sonic Pi Server.

Please consider reporting a bug at http://github.com/samaaron/sonic-pi/issues

Sonic Pi Boot Error Report
==================


System Information
----------------

* Sonic Pi version: 3.2.2
* OS: Linux Mint 21


GUI Log
-------

**`/home/scarlet2/.sonic-pi/log/gui.log`**

[GUI] - Welcome to the Sonic Pi GUI [GUI] - =========================== [GUI] -
[GUI] - {71769123-e3eb-4686-a961-c8dc6f311a9a} [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: 32539 [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... Server on port 51236... [GUI] - waiting for Sonic Pi Server to boot... [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 ["/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/scsynthexternal.rb:267:in boot_and_wait'", "/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/scsynthexternal.rb:443:in boot_server_linux'", "/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/scsynthexternal.rb:151:in boot'", "/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/scsynthexternal.rb:37:in initialize'", "/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/server.rb:78:in new'", "/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/server.rb:78:in initialize'", "/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/studio.rb:192:in new'", "/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/studio.rb:192:in init_scsynth'", "/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/studio.rb:57:in initialize'", "/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/lang/sound.rb:89:in new'", "/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/lang/sound.rb:89:in block (2 levels) in included'", "/usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/lang/ixi.rb:72:in block (2 levels) in included'", "/usr/lib/sonic-pi/app/server/ruby/bin/sonic-pi-server.rb:302:in new'", "/usr/lib/sonic-pi/app/server/ruby/bin/sonic-pi-server.rb:302:in

'"] [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
-------------

**`/home/scarlet2/.sonic-pi/log/server-errors.log`**

Cannot create RT messagebuffer thread: Operation not permitted (1) Retrying messagebuffer thread without RT scheduling Messagebuffer not realtime; consider enabling RT scheduling for user no message buffer overruns Cannot create RT messagebuffer thread: Operation not permitted (1) Retrying messagebuffer thread without RT scheduling Messagebuffer not realtime; consider enabling RT scheduling for user no message buffer overruns Cannot create RT messagebuffer thread: Operation not permitted (1) Retrying messagebuffer thread without RT scheduling Messagebuffer not realtime; consider enabling RT scheduling for user no message buffer overruns Cannot use real-time scheduling (RR/10) (1: Operation not permitted) AcquireSelfRealTime error Cannot use real-time scheduling (RR/5) (1: Operation not permitted) JackClient::AcquireSelfRealTime error jack_port_get_buffer called with an incorrect port 0 JackEngine::XRun: client = SuperCollider was not finished, state = Running JackAudioDriver::ProcessGraphAsyncMaster: Process error JackEngine::XRun: client = SuperCollider was not finished, state = Triggered JackAudioDriver::ProcessGraphAsyncMaster: Process error JackEngine::XRun: client = SuperCollider was not finished, state = Triggered JackAudioDriver::ProcessGraphAsyncMaster: Process error JackEngine::XRun: client = SuperCollider was not finished, state = Triggered JackAudioDriver::ProcessGraphAsyncMaster: Process error JackEngine::XRun: client = SuperCollider was not finished, state = Triggered JackAudioDriver::ProcessGraphAsyncMaster: Process error JackEngine::XRun: client = SuperCollider was not finished, state = Triggered JackAudioDriver::ProcessGraphAsyncMaster: Process error JackEngine::XRun: client = SuperCollider was not finished, state = Triggered JackAudioDriver::ProcessGraphAsyncMaster: Process error JackEngine::XRun: client = SuperCollider was not finished, state = Triggered JackAudioDriver::ProcessGraphAsyncMaster: Process error JackEngine::XRun: client = SuperCollider was not finished, state = Triggered JackAudioDriver::ProcessGraphAsyncMaster: Process error JackEngine::XRun: client = SuperCollider was not finished, state = Triggered JackAudioDriver::ProcessGraphAsyncMaster: Process error JackEngine::XRun: client = SuperCollider was not finished, state = Triggered JackAudioDriver::ProcessGraphAsyncMaster: Process error JackEngine::XRun: client = SuperCollider was not finished, state = Triggered JackAudioDriver::ProcessGraphAsyncMaster: Process error JackEngine::XRun: client = SuperCollider was not finished, state = Triggered JackAudioDriver::ProcessGraphAsyncMaster: Process error JackEngine::XRun: client = SuperCollider was not finished, state = Triggered JackAudioDriver::ProcessGraphAsyncMaster: Process error JackEngine::XRun: client = SuperCollider was not finished, state = Triggered JackAudioDriver::ProcessGraphAsyncMaster: Process error JackEngine::XRun: client = SuperCollider was not finished, state = Triggered JackAudioDriver::ProcessGraphAsyncMaster: Process error JackEngine::XRun: client = SuperCollider was not finished, state = Triggered JackAudioDriver::ProcessGraphAsyncMaster: Process error JackEngine::XRun: client = SuperCollider was not finished, state = Triggered JackAudioDriver::ProcessGraphAsyncMaster: Process error JackEngine::XRun: client = SuperCollider was not finished, state = Triggered JackAudioDriver::ProcessGraphAsyncMaster: Process error JackEngine::XRun: client = SuperCollider was not finished, state = Triggered JackAudioDriver::ProcessGraphAsyncMaster: Process error JackEngine::XRun: client = SuperCollider was not finished, state = Triggered JackAudioDriver::ProcessGraphAsyncMaster: Process error JackEngine::XRun: client = SuperCollider was not finished, state = Triggered JackAudioDriver::ProcessGraphAsyncMaster: Process error JackEngine::XRun: client = SuperCollider was not finished, state = Triggered JackAudioDriver::ProcessGraphAsyncMaster: Process error Cannot read socket fd = 18 err = Connection reset by peer Could not read notification result ClientNotify fails name = SuperCollider notification = 18 val1 = 0 val2 = 0 Cannot write socket fd = 18 err = Broken pipe CheckRes error Could not write notification ClientNotify fails name = SuperCollider notification = 18 val1 = 1 val2 = 0 Cannot write socket fd = 18 err = Broken pipe CheckRes error Could not write notification ClientNotify fails name = SuperCollider notification = 4 val1 = 0 val2 = 0 Cannot write socket fd = 18 err = Broken pipe CheckRes error Could not write notification ClientNotify fails name = SuperCollider notification = 3 val1 = 0 val2 = 0 Cannot write socket fd = 18 err = Broken pipe CheckRes error Could not write notification ClientNotify fails name = SuperCollider notification = 3 val1 = 0 val2 = 0 Cannot write socket fd = 18 err = Broken pipe CheckRes error Could not write notification ClientNotify fails name = SuperCollider notification = 3 val1 = 0 val2 = 0 Cannot write socket fd = 18 err = Broken pipe CheckRes error Could not write notification ClientNotify fails name = SuperCollider notification = 3 val1 = 0 val2 = 0 Cannot write socket fd = 18 err = Broken pipe CheckRes error Could not write notification ClientNotify fails name = SuperCollider notification = 3 val1 = 0 val2 = 0 Cannot write socket fd = 18 err = Broken pipe CheckRes error Could not write notification ClientNotify fails name = SuperCollider notification = 3 val1 = 0 val2 = 0 Cannot write socket fd = 18 err = Broken pipe CheckRes error Could not write notification ClientNotify fails name = SuperCollider notification = 3 val1 = 0 val2 = 0 Cannot write socket fd = 18 err = Broken pipe CheckRes error Could not write notification ClientNotify fails name = SuperCollider notification = 3 val1 = 0 val2 = 0 Cannot write socket fd = 18 err = Broken pipe CheckRes error Could not write notification ClientNotify fails name = SuperCollider notification = 3 val1 = 0 val2 = 0 Cannot write socket fd = 18 err = Broken pipe CheckRes error Could not write notification ClientNotify fails name = SuperCollider notification = 3 val1 = 0 val2 = 0 Cannot write socket fd = 18 err = Broken pipe CheckRes error Could not write notification ClientNotify fails name = SuperCollider notification = 3 val1 = 0 val2 = 0 Cannot write socket fd = 18 err = Broken pipe CheckRes error Could not write notification ClientNotify fails name = SuperCollider notification = 3 val1 = 0 val2 = 0 Cannot write socket fd = 18 err = Broken pipe CheckRes error Could not write notification ClientNotify fails name = SuperCollider notification = 3 val1 = 0 val2 = 0 Cannot write socket fd = 18 err = Broken pipe CheckRes error Could not write notification ClientNotify fails name = SuperCollider notification = 3 val1 = 0 val2 = 0 Cannot write socket fd = 18 err = Broken pipe CheckRes error Could not write notification ClientNotify fails name = SuperCollider notification = 3 val1 = 0 val2 = 0 Cannot write socket fd = 18 err = Broken pipe CheckRes error Could not write notification ClientNotify fails name = SuperCollider notification = 3 val1 = 0 val2 = 0 Cannot write socket fd = 18 err = Broken pipe CheckRes error Could not write notification ClientNotify fails name = SuperCollider notification = 3 val1 = 0 val2 = 0 Cannot write socket fd = 18 err = Broken pipe CheckRes error Could not write notification ClientNotify fails name = SuperCollider notification = 3 val1 = 0 val2 = 0 Cannot write socket fd = 18 err = Broken pipe CheckRes error Could not write notification ClientNotify fails name = SuperCollider notification = 3 val1 = 0 val2 = 0 Cannot write socket fd = 18 err = Broken pipe CheckRes error Could not write notification ClientNotify fails name = SuperCollider notification = 3 val1 = 0 val2 = 0 Cannot write socket fd = 18 err = Broken pipe CheckRes error Could not write notification ClientNotify fails name = SuperCollider notification = 3 val1 = 0 val2 = 0 Cannot write socket fd = 18 err = Broken pipe CheckRes error Could not write notification ClientNotify fails name = SuperCollider notification = 3 val1 = 0 val2 = 0 Cannot write socket fd = 18 err = Broken pipe CheckRes error Could not write notification ClientNotify fails name = SuperCollider notification = 3 val1 = 0 val2 = 0 Unknown error... terminate called after throwing an instance of 'Jack::JackTemporaryException' what():



Server Output
-------------

**`/home/scarlet2/.sonic-pi/log/server-output.log`**

Sonic Pi server booting... This is version 3.2.0 running on Ruby 3.0.2. The time is 2023-09-07 12:08:07 +0600 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 Starting Server Runtime Booting server...

Booting Sonic Pi

Booting on Linux Jackd not running on system. Starting... jackdmp 1.9.20 Copyright 2001-2005 Paul Davis and others. Copyright 2004-2016 Grame. Copyright 2016-2021 Filipe Coelho. jackdmp comes with ABSOLUTELY NO WARRANTY This is free software, and you are welcome to redistribute it under certain conditions; see the file COPYING for details JACK server starting in realtime mode with priority 10 self-connect-mode is "Don't restrict self connect requests" audio_reservation_init Acquire audio card Audio0 creating alsa driver ... hw:0|hw:0|2048|3|44100|0|0|nomon|swmeter|-|32bit configuring for 44100Hz, period = 2048 frames (46.4 ms), buffer = 3 periods ALSA: final selected sample format for capture: 32bit integer little-endian ALSA: use 3 periods for capture ALSA: final selected sample format for playback: 32bit integer little-endian ALSA: use 3 periods for playback Started [32729] [-] jackd -R -T -p 32 -d alsa -n 3 -p 2048 -r 44100 [-] /tmp/sonic-pi-pids/32729 Boot - Starting the SuperCollider server... Boot - scsynth -u 51237 -m 131072 -a 1024 -D 0 -R 0 -l 1 -i 16 -o 16 -b 4096 -B 127.0.0.1 Started [32817] [-] scsynth -u 51237 -m 131072 -a 1024 -D 0 -R 0 -l 1 -i 16 -o 16 -b 4096 -B 127.0.0.1 [-] /tmp/sonic-pi-pids/32817 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 - 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 /usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/scsynthexternal.rb:267:in boot_and_wait' /usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/scsynthexternal.rb:443:in boot_server_linux' /usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/scsynthexternal.rb:151:in boot' /usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/scsynthexternal.rb:37:in initialize' /usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/server.rb:78:in new' /usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/server.rb:78:in initialize' /usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/studio.rb:192:in new' /usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/studio.rb:192:in init_scsynth' /usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/studio.rb:57:in initialize' /usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/lang/sound.rb:89:in new' /usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/lang/sound.rb:89:in block (2 levels) in included' /usr/lib/sonic-pi/app/server/ruby/lib/sonicpi/lang/ixi.rb:72:in block (2 levels) in included' /usr/lib/sonic-pi/app/server/ruby/bin/sonic-pi-server.rb:302:in new' /usr/lib/sonic-pi/app/server/ruby/bin/sonic-pi-server.rb:302:in

'



Scsynth Output
--------------

**`/home/scarlet2/.sonic-pi/log/scsynth.log`**

Starting SuperCollider 2023-09-07 12:08:08

Found 0 LADSPA plugins JackDriver: client name is 'SuperCollider' SC_AudioDriver: sample rate = 44100.000000, driver's block size = 2048 SuperCollider 3 server ready.



Process Log
--------------

**`/home/scarlet2/.sonic-pi/log/processes.log`**

No pids store found here: /tmp/sonic-pi-pids Exiting Creating pids store: /tmp/sonic-pi-pids Started [32539] [-] /usr/bin/ruby -E utf-8 /usr/lib/sonic-pi/app/server/ruby/bin/sonic-pi-server.rb -u 51235 51236 51237 51237 4560 51240 51238 51239 51241 [-] /tmp/sonic-pi-pids/32539 Started [32729] [-] jackd -R -T -p 32 -d alsa -n 3 -p 2048 -r 44100 [-] /tmp/sonic-pi-pids/32729 Started [32817] [-] scsynth -u 51237 -m 131072 -a 1024 -D 0 -R 0 -l 1 -i 16 -o 16 -b 4096 -B 127.0.0.1 [-] /tmp/sonic-pi-pids/32817


ScarletMcLearn avatar Sep 07 '23 06:09 ScarletMcLearn

Apologies, unable to start...
Sorry, Sonic Pi is having issues booting:
GUI was unable to connect to the Ruby server.

Please consider reporting a bug at
http://github.com/samaaron/sonic-pi/issues
System Information
Sonic Pi version: 4.4.0
OS: KDE Flatpak runtime
daemon.log
[2023-09-07 12:13:58] Welcome to the Daemon Booter
[2023-09-07 12:13:58] ----------------------------
[2023-09-07 12:13:58] SuperCollider inputs disabled by GUI
[2023-09-07 12:13:58] checked port 37493, #<UDPSocket:0x00007fe629141ec0>
[2023-09-07 12:13:58] checked port 37494, #<UDPSocket:0x00007fe629141a10>
[2023-09-07 12:13:58] checked port 37495, #<UDPSocket:0x00007fe6291416f0>
[2023-09-07 12:13:58] checked port 4560, #<UDPSocket:0x00007fe6291413d0>
[2023-09-07 12:13:58] checked port 37496, #<UDPSocket:0x00007fe629141038>
[2023-09-07 12:13:58] checked port 37497, #<UDPSocket:0x00007fe629140d40>
[2023-09-07 12:13:58] checked port 37498, #<UDPSocket:0x00007fe629140a48>
[2023-09-07 12:13:58] checked port 37499, #<UDPSocket:0x00007fe6291406b0>
[2023-09-07 12:13:58] checked port 37500, #<UDPSocket:0x00007fe6291403b8>
[2023-09-07 12:13:58] Selected ports: 
[2023-09-07 12:13:58] {"spider-listen-to-gui"=>37493, "gui-send-to-spider"=>37493, "gui-listen-to-spider"=>37494, "spider-send-to-gui"=>37494, "scsynth"=>37495, "scsynth-send"=>37495, "osc-cues"=>4560, "tau"=>37496, "spider"=>37497, "phx"=>37498, "daemon"=>37499, "spider-listen-to-tau"=>37500}
[2023-09-07 12:13:58] Booting Scsynth
[2023-09-07 12:13:58] ---- Audio Config Issue ----
[2023-09-07 12:13:58] Could not find /home/scarlet2/.sonic-pi/config/audio-settings.toml - reverting to default audio options.
[2023-09-07 12:13:58] This is not critical - reverting to default audio options
[2023-09-07 12:13:58] ----------------------------
[2023-09-07 12:13:58] Got Audio Settings toml hash: {}
[2023-09-07 12:13:58] Unified Audio Settings toml hash: {}
[2023-09-07 12:13:58] Combined Audio Settings toml hash with GUI scsynth inputs hash: {"-i"=>"0"}
[2023-09-07 12:13:58] Merged Audio Settings toml hash: {"-u"=>37495, "-a"=>"1024", "-m"=>"131072", "-D"=>"0", "-R"=>"0", "-l"=>"1", "-i"=>"0", "-o"=>"16", "-b"=>"4096", "-B"=>"127.0.0.1"}
[2023-09-07 12:15:28] Kill switch timed out...
[2023-09-07 12:15:28] [EXIT] Daemon kill switch triggered. Exiting...
[2023-09-07 12:15:28] Daemon Booter is now exiting.
[2023-09-07 12:15:28] Cleaning up any running processes...
[2023-09-07 12:15:28] Daemon Booter - Over and Out.


gui.log
�

ScarletMcLearn avatar Sep 07 '23 06:09 ScarletMcLearn