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

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

Open dsolito opened this issue 4 years ago • 9 comments

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

dsolito avatar Apr 17 '20 20:04 dsolito

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.

lpil avatar Apr 18 '20 11:04 lpil

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.

technicalpickles avatar Apr 18 '20 15:04 technicalpickles

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

'"]

dsolito avatar Apr 18 '20 18:04 dsolito

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

lpil avatar Apr 18 '20 18:04 lpil

thank you @technicalpickles and @lpil ! David

dsolito avatar Apr 18 '20 20:04 dsolito

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

lpil avatar Apr 18 '20 20:04 lpil

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

dsolito avatar Apr 18 '20 20:04 dsolito

No worries! Thank you for the bug report!

On Sat, 18 Apr 2020, 21:36 dsolito, [email protected] wrote:

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

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/lpil/sonic-pi-tool/issues/32#issuecomment-615943503, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABOZVBTD3DKFIIDQ4U2DYQTRNIFNRANCNFSM4MLAQDXA .

lpil avatar Apr 18 '20 20:04 lpil

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

adrianlyjak avatar Feb 25 '23 22:02 adrianlyjak