sonic-pi-net / sonic-pi

Code. Music. Live.
https://sonic-pi.net
Other
10.81k stars 922 forks source link

Cannot start in Ubuntu #3294

Open DonArnestro opened 1 year ago

DonArnestro commented 1 year ago

Sonic Pi Boot Error Report

System Information

GUI Log

/home/zimmermann/.sonic-pi/log/gui.log

[GUI] - using default editor colours
[GUI] - shutting down any old audio servers...
[GUI] - starting UDP OSC Server on port 4558...
[GUI] - unable to listen to UDP OSC messages on port 4558
[GUI] - booting live coding server
[GUI] - waiting for server to boot...
............................................................
[GUI] - Critical error! Could not boot server.

Server Errors

/home/zimmermann/.sonic-pi/log/server-errors.log

Received Exception!
Address already in use - bind(2) for "127.0.0.1" port 4557
["/usr/lib/sonic-pi/server/sonicpi/lib/sonicpi/osc/udp_server.rb:30:in `bind'", "/usr/lib/sonic-pi/server/sonicpi/lib/sonicpi/osc/udp_server.rb:30:in `initialize'", "/usr/lib/sonic-pi/server/bin/sonic-pi-server.rb:58:in `new'", "/usr/lib/sonic-pi/server/bin/sonic-pi-server.rb:58:in `<main>'"]
/usr/lib/sonic-pi/server/sonicpi/lib/sonicpi/osc/udp_server.rb:30:in `bind'
/usr/lib/sonic-pi/server/sonicpi/lib/sonicpi/osc/udp_server.rb:30:in `initialize'
/usr/lib/sonic-pi/server/bin/sonic-pi-server.rb:58:in `new'
/usr/lib/sonic-pi/server/bin/sonic-pi-server.rb:58:in `<main>'

Server Output

/home/zimmermann/.sonic-pi/log/server-output.log

Sonic Pi server booting...
Using protocol: udp

Scsynth Output

/home/zimmermann/.sonic-pi/log/scsynth.log

rbnpi commented 1 year ago

This is a very old version of Sonic Pi. Some time ago I created a binary .deb file for Sonic Pi 3.3.1 form Ubuntu 20.04 Perhaps you could uninstall the version 2.10.0 and download and install this one See https://in-thread.sonic-pi.net/t/binary-deb-for-ubuntu-20-04-and-20-1-for-sp-3-3-1/5141 for download and installation details.

DonArnestro commented 1 year ago

Hi, Thanks, this workaround is doing well. It's also running under Ubuntu 22.04 which I had upgraded yesterday.

Mit freundlichen Grüßen Arne Zimmermann


Gesendet mit der Telekom Mail App https://kommunikationsdienste.t-online.de/redirects/email_app_android_sendmail_footer

--- Original-Nachricht --- Von: Robin Newman Betreff: Re: [sonic-pi-net/sonic-pi] Cannot start in Ubuntu (Issue #3294) Datum: 31. Mai 2023, 21:57 An: sonic-pi-net/sonic-pi Cc: DonArnestro, Author

This is a very old version of Sonic Pi. Some time ago I created a binary .deb file for Sonic Pi 3.3.1 form Ubuntu 20.04 Perhaps you could uninstall the version 2.10.0 and download and install this one See https://in-thread.sonic-pi.net/t/binary-deb-for-ubuntu-20-04-and-20-1-for-sp-3-3-1/5141 for download and installation details.

— Reply to this email directly, view it on GitHub https://github.com/sonic-pi-net/sonic-pi/issues/3294#issuecomment-1570856167 , or unsubscribe https://github.com/notifications/unsubscribe-auth/A7V2H6BXRUAZ5ESBZHZE2TTXI6PC3ANCNFSM6AAAAAAYVRSSTI . You are receiving this because you authored the thread.Message ID: @.***>

filandra commented 1 year ago

@DonArnestro 3.3.1 is a very old version of Sonic Pi - you can install the latest version (4.4.0) using flatpak.

1) You need to install flatpak 2) You need to install Sonic Pi

This should be a better solution for your issue - I hope it helps!