Closed DarryGon closed 2 years ago
Hi Darygon I notice form the log that this is a dev version. Is it one you have built yourself from source? I notice that there is no mention of erlang or the osmid files o2m and m2o in the logs. These are not mentioned explicitly (yet) in the build requirements, but are necessary for SP to work. I have a WIP script (as issue #1629 ) which you may find useful if it is a self build. It is reasonably up to date.
Alternatively version 3.0 for SP is due for imminent release and you may like to wait for that.
hi,
it's been the downloaded version, not a compiled one. I jumped back to version 2.10. After a reboot everything is fine again.
ciao
Uwe
@DarryGon
Could you please try v3.1.0
to see if that fixes things for you?
Same issue with update to 3.1.0:
/Users/Stuart/.sonic-pi/log/gui.log
[GUI] - Detecting port numbers...
[GUI] - GUI OSC listen port 4558
[GUI] - port: 4558 [OK]
[GUI] - Server OSC listen port 4557
[GUI] - port: 4557 [OK]
[GUI] - Server incoming OSC cues port 4559
[GUI] - port: 4559 [OK]
[GUI] - Scsynth port 4556
[GUI] - port: 4556 [OK]
[GUI] - Server OSC out port 4558
[GUI] - GUI OSC out port 4557
[GUI] - Scsynth send port 4556
[GUI] - Erlang router port 4560
[GUI] - port: 4560 [OK]
[GUI] - OSC MIDI out port 4561
[GUI] - port: 4561 [OK]
[GUI] - OSC MIDI in port 4562
[GUI] - port: 4562 [OK]
[GUI] - Init script completed
[GUI] - using default editor colours
[GUI] - launching Sonic Pi Server:
[GUI] - starting UDP OSC Server on port 4558...
[GUI] - UDP OSC Server ready and listening
[GUI] - Ruby server pid registered: 8904
[GUI] - waiting for Sonic Pi Server to boot...
............................................................
[GUI] - Critical error! Could not boot Sonic Pi Server.
[GUI] - stopping UDP OSC Server...
/Users/Stuart/.sonic-pi/log/server-errors.log
/Applications/Sonic Pi.app/app/server/ruby/vendor/sys-proctable-1.1.3/lib/darwin/sys/proctable.rb:163: warning: constant ::Fixnum is deprecated
/Users/Stuart/.sonic-pi/log/server-output.log
Sonic Pi server booting...
Using protocol: udp
Detecting port numbers...
Send port: 4558
Listen port: 4557
- OK
Scsynth port: 4556
- OK
Scsynth send port: 4556
- OK
OSC cues port: 4559
- OK
Erlang port: 4560
- OK
OSC MIDI out port: 4561
- OK
OSC MIDI in port: 4562
- OK
Booting server...
Booting Sonic Pi
----------------
Boot - Booting on OS X
Boot - Checkout audio rates on OSX:
Boot - Input audio rate: 44100.0
Boot - Output audio rate: 44100.0
Boot - Sample rates match, we may continue to boot...
Boot - Starting the SuperCollider server...
Boot - /Applications/Sonic Pi.app/app/server/native/scsynth -u 4556 -a 1024 -m 131072 -D 0 -R 0 -l 1 -i 16 -o 16 -U /Applications/Sonic Pi.app/app/server/native/supercollider/plugins/ -b 4096 -B 127.0.0.1
Started [8909] [-] /Applications/Sonic Pi.app/app/server/native/scsynth -u 4556 -a 1024 -m 131072 -D 0 -R 0 -l 1 -i 16 -o 16 -U /Applications/Sonic Pi.app/app/server/native/supercollider/plugins/ -b 4096 -B 127.0.0.1 [-] /var/folders/qt/6jh4c4yn5zdbf07t61nmz0_w0000gn/T/sonic-pi-pids/8909
/Users/Stuart/.sonic-pi/log/scsynth.log
# Starting SuperCollider 2018-02-19 08:13:18
Found 0 LADSPA plugins
/Users/Stuart/.sonic-pi/log/processes.log
Clearing pids: ["8501", "8504"]
Clearing [8501]
-- command /Applications/Sonic Pi.app/Contents/MacOS/../../app/server/native/osx/ruby/bin/ruby --enable-frozen-string-literal -E utf-8 /Applications/Sonic Pi.app/Contents/MacOS/../../app/server/bin/sonic-pi-server.rb -u 4557 4558 4556 4556 4559 4560 4561 4562
-- removing /var/folders/qt/6jh4c4yn5zdbf07t61nmz0_w0000gn/T/sonic-pi-pids/8501
-- unable to get ProcTable info for: 8501
-- process: 8501 not running
Clearing [8504]
-- command /Applications/Sonic Pi.app/app/server/native/osx/scsynth -u 4556 -a 1024 -m 131072 -D 0 -R 0 -l 1 -i 16 -o 16 -b 4096 -U /Applications/Sonic Pi.app/app/server/native/osx/supercollider/plugins/ -Z 256
-- removing /var/folders/qt/6jh4c4yn5zdbf07t61nmz0_w0000gn/T/sonic-pi-pids/8504
-- politely killing 8504
-- killed 8504
Finished clearing pids
Started [8904] [-] /Applications/Sonic Pi.app/Contents/MacOS/../../app/server/native/ruby/bin/ruby --enable-frozen-string-literal -E utf-8 /Applications/Sonic Pi.app/Contents/MacOS/../../app/server/ruby/bin/sonic-pi-server.rb -u 4557 4558 4556 4556 4559 4560 4561 4562 [-] /var/folders/qt/6jh4c4yn5zdbf07t61nmz0_w0000gn/T/sonic-pi-pids/8904
Started [8909] [-] /Applications/Sonic Pi.app/app/server/native/scsynth -u 4556 -a 1024 -m 131072 -D 0 -R 0 -l 1 -i 16 -o 16 -U /Applications/Sonic Pi.app/app/server/native/supercollider/plugins/ -b 4096 -B 127.0.0.1 [-] /var/folders/qt/6jh4c4yn5zdbf07t61nmz0_w0000gn/T/sonic-pi-pids/8909
Very weird, for some reason, SuperCollider doesn't want to boot on your machine nicely.
Could you try running it manually:
/Applications/Sonic\ Pi.app/app/server/native/scsynth -u 4556 -a 1024 -m 131072 -D 0 -R 0 -l 1 -i 16 -o 16 -U /Applications/Sonic\ Pi.app/app/server/native/supercollider/plugins/ -b 4096 -B 127.0.0.1
And letting me see what gets printed on Terminal.app?
bash$ /Applications/Sonic\ Pi.app/app/server/native/scsynth -u 4556 -a 1024 -m 131072 -D 0 -R 0 -l 1 -i 16 -o 16 -U /Applications/Sonic\ Pi.app/app/server/native/supercollider/plugins/ -b 4096 -B 127.0.0.1
Found 0 LADSPA plugins
Illegal instruction: 4
bash$
Hmm, there's the problem right there.
I wonder why scsynth
doesn't want to start on your machine!
Would it be possible for you to install vanilla SuperCollider and try and boot a server there:
Hi Sam, Thanks for following up. I downloaded SC 3.9.1 (I had 3.8) and ran the Supercollider.app from within its folder in the /Applications/ directory. It booted up fine, so I presume it’s working. However, launching SonicPi 3.1.0 still stalls and throws the critical error: Could not boot the server. Stuart
On February 20, 2018 at 1:36:28 AM, Sam Aaron (notifications@github.com) wrote:
Hmm, there's the problem right there.
I wonder why scsynth doesn't want to start on your machine!
Would it be possible for you to install vanilla SuperCollider and try and boot a server there:
https://supercollider.github.io/download
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
Hi again, I’m also having similar problems getting SC to run on Linux Mint 18.2 after installing via apt and the PPI. Stuart
On February 20, 2018 at 10:35:34 AM, Stuart Hertzog (notifications@github.com) wrote:
Hi Sam, Thanks for following up. I downloaded SC 3.9.1 (I had 3.8) and ran the Supercollider.app from within its folder in the /Applications/ directory. It booted up fine, so I presume it’s working. However, launching SonicPi 3.1.0 still stalls and throws the critical error: Could not boot the server. Stuart
On February 20, 2018 at 1:36:28 AM, Sam Aaron (notifications@github.com) wrote:
Hmm, there's the problem right there.
I wonder why scsynth doesn't want to start on your machine!
Would it be possible for you to install vanilla SuperCollider and try and boot a server there:
https://supercollider.github.io/download
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
@stuzog did you just boot the SuperCollider app or did you also explicitly try and start an audio server? Unlike Sonic Pi, SuperCollider does not start an audio server by default. It's starting scsynth (the audio server) that we need to test :-)
@stuzog also, the linux issue should be separately handled as it's likely to be a different problem (unless the log files are identical). With linux the issue is often with getting jack
started.
Yes, I started an audio server on the iMac and it worked:
booting server 'localhost' on address: 127.0.0.1:57110
Number of Devices: 6
0 : "Built-in Microph"
1 : "Built-in Input"
2 : "Built-in Output"
3 : "Soundflower (2ch)"
4 : "Soundflower (64ch)"
5 : "Instant On Sound Effects"
"Built-in Input" Input Device
Streams: 1
0 channels 2
"Built-in Output" Output Device
Streams: 1
0 channels 2
SC_AudioDriver: sample rate = 44100.000000, driver's block size = 512
SuperCollider 3 server ready.
Requested notification messages from server 'localhost'
localhost: server process's maxLogins (1) matches with my options.
localhost: keeping clientID (0) as confirmed by server process.
Requested notification messages from server 'localhost'
/notify : already registered
localhost - already registered with clientID 0.
Shared memory server interface initialized
But Sonic Pi still wouldn't boot, just hung at the splash screen then gave these details:
Sonic Pi Boot Error Report
==================
System Information
----------------
* Sonic Pi version: 3.1.0
* OS: OS X El Capitan (10.11)
GUI Log
-------
**`/Users/Stuart/.sonic-pi/log/gui.log`**
[GUI] - Detecting port numbers... [GUI] - GUI OSC listen port 4558 [GUI] - port: 4558 [OK] [GUI] - Server OSC listen port 4557 [GUI] - port: 4557 [OK] [GUI] - Server incoming OSC cues port 4559 [GUI] - port: 4559 [OK] [GUI] - Scsynth port 4556 [GUI] - port: 4556 [OK] [GUI] - Server OSC out port 4558 [GUI] - GUI OSC out port 4557 [GUI] - Scsynth send port 4556 [GUI] - Erlang router port 4560 [GUI] - port: 4560 [OK] [GUI] - OSC MIDI out port 4561 [GUI] - port: 4561 [OK] [GUI] - OSC MIDI in port 4562 [GUI] - port: 4562 [OK] [GUI] - Init script completed [GUI] - using default editor colours [GUI] - launching Sonic Pi Server: [GUI] - starting UDP OSC Server on port 4558... [GUI] - UDP OSC Server ready and listening [GUI] - Ruby server pid registered: 87722 [GUI] - waiting for Sonic Pi Server to boot... ............................................................ [GUI] - Critical error! Could not boot Sonic Pi Server. [GUI] - stopping UDP OSC Server...
Server Errors
-------------
**`/Users/Stuart/.sonic-pi/log/server-errors.log`**
/Applications/Sonic Pi.app/app/server/ruby/vendor/sys-proctable-1.1.3/lib/darwin/sys/proctable.rb:163: warning: constant ::Fixnum is deprecated
Server Output
-------------
**`/Users/Stuart/.sonic-pi/log/server-output.log`**
Sonic Pi server booting... Using protocol: udp Detecting port numbers... Send port: 4558 Listen port: 4557
Boot - Booting on OS X
Boot - Checkout audio rates on OSX:
Boot - Input audio rate: 44100.0
Boot - Output audio rate: 44100.0
Boot - Sample rates match, we may continue to boot...
Boot - Starting the SuperCollider server...
Boot - /Applications/Sonic Pi.app/app/server/native/scsynth -u 4556 -a 1024 -m 131072 -D 0 -R 0 -l 1 -i 16 -o 16 -U /Applications/Sonic Pi.app/app/server/native/supercollider/plugins/ -b 4096 -B 127.0.0.1
Started [87727] [-] /Applications/Sonic Pi.app/app/server/native/scsynth -u 4556 -a 1024 -m 131072 -D 0 -R 0 -l 1 -i 16 -o 16 -U /Applications/Sonic Pi.app/app/server/native/supercollider/plugins/ -b 4096 -B 127.0.0.1 [-] /var/folders/qt/6jh4c4yn5zdbf07t61nmz0_w0000gn/T/sonic-pi-pids/87727
/Users/Stuart/.sonic-pi/log/scsynth.log
# Starting SuperCollider 2018-02-20 17:38:51
Found 0 LADSPA plugins
**`/Users/Stuart/.sonic-pi/log/processes.log`**
Clearing pids: [] No pids to clear :-) Started [87722] [-] /Applications/Sonic Pi.app/Contents/MacOS/../../app/server/native/ruby/bin/ruby --enable-frozen-string-literal -E utf-8 /Applications/Sonic Pi.app/Contents/MacOS/../../app/server/ruby/bin/sonic-pi-server.rb -u 4557 4558 4556 4556 4559 4560 4561 4562 [-] /var/folders/qt/6jh4c4yn5zdbf07t61nmz0_w0000gn/T/sonic-pi-pids/87722 Started [87727] [-] /Applications/Sonic Pi.app/app/server/native/scsynth -u 4556 -a 1024 -m 131072 -D 0 -R 0 -l 1 -i 16 -o 16 -U /Applications/Sonic Pi.app/app/server/native/supercollider/plugins/ -b 4096 -B 127.0.0.1 [-] /var/folders/qt/6jh4c4yn5zdbf07t61nmz0_w0000gn/T/sonic-pi-pids/87727
Hi Is there a fix for this issue? I am facing the same problem.
Port 4561 unavailable. Perhaps Sonic Pi is already running?
We have completely overhauled the building and booting systems in the recently released v4
of Sonic Pi:
https://github.com/sonic-pi-net/sonic-pi/releases
Please give that a try and feel free to create a new issue if you're still having problems.
Note that v4 only supports macOS Catalina 10.15+
I just installed a new version on a Mac with OS X El Capitan 10.11.6. First Ruby crashed then Sonic PI itself.
Here's the report:
ciao
Uwe
Sonic Pi Boot Error Report
System Information
GUI Log
/Users/uwe/.sonic-pi/log/gui.log
Server Errors
/Users/uwe/.sonic-pi/log/server-errors.log
Server Output
/Users/uwe/.sonic-pi/log/server-output.log
Scsynth Output
/Users/uwe/.sonic-pi/log/scsynth.log
Process Log
/Users/uwe/.sonic-pi/log/processes.log