Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I couldn't find the Sonic Pi server executable :( #32

Open
dsolito opened this issue Apr 17, 2020 · 10 comments
Open

I couldn't find the Sonic Pi server executable :( #32

dsolito opened this issue Apr 17, 2020 · 10 comments

Comments

@dsolito
Copy link

dsolito commented Apr 17, 2020

hello,
sonic-pi-tool start-server
gives me an error :
I couldn't find the Sonic Pi server executable :(

sonic-pi 3.2.2 App is in Applications folder.
I am on mac os 10.14.4

what can I do ?

thanks

@lpil
Copy link
Owner

lpil commented Apr 18, 2020

Hi there! Sonic Pi recently made some changes in how the server accepts code (it now uses a random code and the server start script has moved). This has broken sonic-pi-tool but hopefully we'll be able to fix it in future.

For now consider using an older version of Sonic Pi or using the build in Sonic Pi GUI editor.

@technicalpickles
Copy link

Ran into this too, and foudn the sonic-pi-server.rb at /Applications/Sonic Pi.app/Contents/Resources/server/ruby/bin/sonic-pi-server.rb

You can manually run it like ruby /Applications/Sonic\ Pi.app/Contents/Resources/server/ruby/bin/sonic-pi-server.rb, and then sonic-pi-tool check should work.

@dsolito
Copy link
Author

dsolito commented Apr 18, 2020

Thanks, but when I do that, I have a connection refused

Connection refused - send(2)
["/Applications/Sonic Pi.app/Contents/Resources/app/server/ruby/lib/sonicpi/osc/udp_client.rb:31:in send'", "/Applications/Sonic Pi.app/Contents/Resources/app/server/ruby/lib/sonicpi/osc/udp_client.rb:31:in send'", "/Applications/Sonic Pi.app/Contents/Resources/app/server/ruby/bin/sonic-pi-server.rb:621:in `block in

'"]

@lpil
Copy link
Owner

lpil commented Apr 18, 2020

This is because Sonic Pi has changed how to connect to the server. There is no fix at present.

@dsolito
Copy link
Author

dsolito commented Apr 18, 2020

thank you @technicalpickles and @lpil !
David

@dsolito dsolito closed this as completed Apr 18, 2020
@lpil
Copy link
Owner

lpil commented Apr 18, 2020

I'm going to re-open this as it still a problem

@lpil lpil reopened this Apr 18, 2020
@dsolito
Copy link
Author

dsolito commented Apr 18, 2020

Ok, I was not able to comment without closing it. Sorry.

@lpil
Copy link
Owner

lpil commented Apr 18, 2020 via email

@adrianlyjak
Copy link

adrianlyjak commented Feb 25, 2023

Looking to automate a pi with sonic-pi-tool. Just a heads up, if anyone else is looking for a workaround, currently v3.3.1 is the latest version of sonic-pi with the sonic-pi-server.rb file. It was dropped in the subsequent v4.0.0 release

@rsmath
Copy link

rsmath commented Oct 30, 2024

where does sonic-pi-tool look for the server file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants