Hi, So I built the Sonic Pi code and it is installed and launched by running the following script in /usr/src/sonic-pi-master/app/gui/qt/.
rp-app-bin: #!/bin/bash #-- # This file is part of Sonic Pi: http://sonic-pi.net # Full project source: https://github.com/samaaron/sonic-pi # License: https://github.com/samaaron/sonic-pi/blob/master/LICENSE.md # # Copyright 2013, 2014, 2015 by Sam Aaron (http://sam.aaron.name). # All rights reserved. # # Permission is granted for use, copying, modification, and # distribution of modified versions of this work as long as this # notice is included. #++ eval $(dbus-launch --auto-syntax) DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" $DIR/sonic-pi If I launch it with sudo ./rp-app-bin it launches Sonic Pi and I get the ability to enter notes etc. (It doesn't work yet, but I think that is to do with jack. I'll worry about that later.) If I launch the same script as myself, I get a dialog with: Apologies, a critical error occurred during startup: Ruby could not be started, is it installed and in your PATH? Please consider reporting a bug at http://github.com/samaaron/sonic-pi/issues Clearly, ruby is installed, since it works when I sudo the script. When I invoke env, I can see the directory containing ruby (/usr/bin/) listed. There are also some details given in the dialog: Detailed Error Report: GUI log ------- [GUI] - shutting down any old audio servers... [GUI] - using default editor colours [GUI] - booting live coding server [GUI] - booting live coding server [GUI] - starting UDP OSC Server on port 4558... [GUI] - UDP OSC Server ready and listening [GUI] - waiting for server to connect... [GUI] - server connection established [GUI] - loading workspaces [GUI] - saving workspaces [GUI] - asking server process to exit... [GUI] - server asked us to exit [GUI] - exiting. Cheerio :-) Server Errors ------------- ERROR system:playback_1 not a valid port ERROR system:playback_2 not a valid port ignoring {:type=>:job, :jobid=>1, :action=>:start, :jobinfo=>{:workspace=>"Workspace 0"}} ignoring {:type=>:job, :jobid=>1, :action=>:killed} ignoring {:type=>:job, :jobid=>1, :action=>:completed, :jobinfo=>{:workspace=>"Workspace 0"}} ignoring {:type=>:job, :jobid=>2, :action=>:start, :jobinfo=>{:workspace=>"Workspace 0"}} ignoring {:type=>:job, :jobid=>2, :action=>:killed} ignoring {:type=>:job, :jobid=>2, :action=>:completed, :jobinfo=>{:workspace=>"Workspace 0"}} Server Output ------------- Using protocol: udp JackDriver: client name is 'SuperCollider' SC_AudioDriver: sample rate = 16000.000000, driver's block size = 1024 SuperCollider 3 server ready. exception in GrafDef_Load: UGen 'MdaPiano' not installed. while reading file '/usr/src/sonic-pi-master/etc/synthdefs/compiled/sonic-pi- piano.scsyndef' exception in GrafDef_Load: UGen 'Decimator' not installed. while reading file '/usr/src/sonic-pi-master/etc/synthdefs/compiled/sonic-pi- fx_bitcrusher.scsyndef' late 0.197549483 late 0.044707808 late 0.108747585 late 0.103747470 FAILURE IN SERVER /n_free Node 84 not found saving: workspace_zero.spi saving: workspace_zero.spi saving: workspace_zero.spi saving: workspace_one.spi saving: workspace_two.spi saving: workspace_three.spi saving: workspace_four.spi saving: workspace_five.spi saving: workspace_six.spi saving: workspace_seven.spi saving: workspace_eight.spi saving: workspace_nine.spi Any ideas? MdaPiano and Decimator seem to be causing an issue, but I don't see why the ruby bit is being thrown up. -- Terry Coles -- Next meeting: Bournemouth, Tuesday, 2015-10-06 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ New thread: mailto:[email protected] / CHECK IF YOU'RE REPLYING Reporting bugs well: http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR

