Skip to content

Instantly share code, notes, and snippets.

@miguelvb
Created March 3, 2018 09:07
Show Gist options
  • Save miguelvb/8d3ddb52b340207f46e50b9432b976a9 to your computer and use it in GitHub Desktop.
Save miguelvb/8d3ddb52b340207f46e50b9432b976a9 to your computer and use it in GitHub Desktop.
error inicio sonic-pi rpi v2 raspbian stretch
pi@raspberrypi:~/Documents/Antropoloops/codes/keyboard/examples $ sudo ruby /opt/sonic-pi/app/server/bin/sonic-pi-server.rb
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
----------------
Booting on Raspberry Pi
Jackd not running on system. Starting...
jackdmp 1.9.11
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2014 Grame.
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"
Failed to connect to session bus for device reservation Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
Audio device hw:0 cannot be acquired...
Cannot initialize driver
JackServer::Open failed with -1
Failed to open server
Creating pids store: /tmp/sonic-pi-pids
Started [1590] [-] sh [-] /tmp/sonic-pi-pids/1590
Started [1590] [-] sh [-] /tmp/sonic-pi-pids/1590
Boot - Starting the SuperCollider server...
Boot - scsynth -u 4556 -a 1024 -m 131072 -D 0 -R 0 -l 1 -z 128 -c 128 -U /usr/lib/SuperCollider/plugins:/opt/sonic-pi/app/server/native/raspberry/extra-ugens/ -i 2 -o 2 -b 4096
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Failed to connect to session bus for device reservation Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
Audio device hw:0 cannot be acquired...
Cannot initialize driver
JackServer::Open failed with -1
Failed to open server
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Started [1617] [-] scsynth [-] /tmp/sonic-pi-pids/1617
Clearing pids: ["1590", "1617"]
Clearing [1590]
-- command sh
-- removing /tmp/sonic-pi-pids/1590
-- politely killing 1590
-- politely killing 1590
-- politely killing 1590
-- force killing 1590
-- force killing 1590
-- force killing 1590
-- force killing 1590
-- force killing 1590
-- unable to kill 1590
Clearing [1617]
-- command scsynth
-- removing /tmp/sonic-pi-pids/1617
-- politely killing 1617
-- politely killing 1617
-- politely killing 1617
-- force killing 1617
-- force killing 1617
-- force killing 1617
-- force killing 1617
-- force killing 1617
-- unable to kill 1617
Finished clearing pids
Boot - Unable to boot SuperCollider - boot server log did not report server ready
Failed to start server: Boot - Unable to boot SuperCollider - boot server log did not report server ready
/opt/sonic-pi/app/server/sonicpi/lib/sonicpi/scsynthexternal.rb:228:in `rescue in boot_and_wait'
/opt/sonic-pi/app/server/sonicpi/lib/sonicpi/scsynthexternal.rb:221:in `boot_and_wait'
/opt/sonic-pi/app/server/sonicpi/lib/sonicpi/scsynthexternal.rb:359:in `boot_server_raspberry_pi'
/opt/sonic-pi/app/server/sonicpi/lib/sonicpi/scsynthexternal.rb:149:in `boot'
/opt/sonic-pi/app/server/sonicpi/lib/sonicpi/scsynthexternal.rb:37:in `initialize'
/opt/sonic-pi/app/server/sonicpi/lib/sonicpi/server.rb:77:in `new'
/opt/sonic-pi/app/server/sonicpi/lib/sonicpi/server.rb:77:in `initialize'
/opt/sonic-pi/app/server/sonicpi/lib/sonicpi/studio.rb:183:in `new'
/opt/sonic-pi/app/server/sonicpi/lib/sonicpi/studio.rb:183:in `init_scsynth'
/opt/sonic-pi/app/server/sonicpi/lib/sonicpi/studio.rb:56:in `initialize'
/opt/sonic-pi/app/server/sonicpi/lib/sonicpi/lang/sound.rb:125:in `new'
/opt/sonic-pi/app/server/sonicpi/lib/sonicpi/lang/sound.rb:125:in `block (2 levels) in included'
/opt/sonic-pi/app/server/bin/sonic-pi-server.rb:178:in `new'
/opt/sonic-pi/app/server/bin/sonic-pi-server.rb:178:in `<main>'
Server is exiting.
Shutting down GUI...
/opt/sonic-pi/app/server/sonicpi/lib/sonicpi/osc/udp_client.rb:30:in `send': Connection refused - send(2) (Errno::ECONNREFUSED)
from /opt/sonic-pi/app/server/sonicpi/lib/sonicpi/osc/udp_client.rb:30:in `send'
from /opt/sonic-pi/app/server/bin/sonic-pi-server.rb:142:in `block in <main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment