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

GUI: Add server startup timeout setting & build process tweaks

Open SunderB opened this issue 5 years ago • 2 comments

Hopefully this’ll help make errors easier to debug in startup issues like #2393 etc.


This is a copy of #2406 but updated to be applied to the new main branch.

SunderB avatar Jun 12 '20 22:06 SunderB

The option seems to appear as it should on my system :) (I've not been able to test if the setting affects the timeout though) Screenshot from 2020-07-01 22-59-04-cropped I don't know if that location is the best for that option, I've just put it there for now. If it would fit better elsewhere then it can be changed :)

SunderB avatar Jul 01 '20 22:07 SunderB

It seemed possibly to work? I set the setting to 120 and temporarily changed a line of code to always do the full timeout, and 120 dots appeared in the log:

[GUI] - UDP OSC Server ready and listening
...
[GUI] - Sonic Pi Server successfully booted.
[GUI] - waiting for Sonic Pi Server to respond...
........................................................................................................................
[GUI] - Sonic Pi Server connection established
[GUI] - honour prefs
[GUI] - asking OSC server to start
[GUI] - cue port in internal mode

SunderB avatar Jul 01 '20 23:07 SunderB

Closing this for now since it doesn't seem like this is needed right now, and nothing has happened with it for a while.

SunderB avatar Jan 06 '23 15:01 SunderB