sonic-pi-net / sonic-pi

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

GUI was unable to connect to the Ruby server. [Windows 10 LTSC 21H2 / Sonic Pi 4.4.0] #3316

Open lil-millp opened 1 year ago

lil-millp commented 1 year ago

I do not know =) sorry I downloaded the program for the first time, and here is an error, it's a pity

Apologies, unable to start...
Sorry, Sonic Pi is having issues booting:
GUI was unable to connect to the Ruby server.
Подумайте о том, чтобы отправить отчёт об ошибке на
http://github.com/samaaron/sonic-pi/issues
System Information
Sonic Pi version: 4.4.0
OS: Windows 10 Version 21H2
gui.log
[API] [INFO ] : Args: C:\Program Files\Sonic Pi\app\server\native\ruby\bin\ruby.exe C:\Program Files\Sonic Pi\app\server\ruby\bin\clear-logs.rb 
[API] [INFO ] : Started...
[API] [INFO ] : Starting...
[API] [INFO ] : Log Path: C:\Users\admin\.sonic-pi\log
[API] [INFO ] : Launching Sonic Pi Boot Daemon:
[API] [INFO ] : Args: C:\Program Files\Sonic Pi\app\server\native\ruby\bin\ruby.exe C:\Program Files\Sonic Pi\app\server\ruby\bin\daemon.rb --no-scsynth-inputs 
[API] [INFO ] : Started...
[API] [INFO ] : Reading Boot Daemon output...
[API] [ERROR] : Error reading ports via Boot Daemon STDOUT. Bytes read: -109 Error code: generic:32
[API] [INFO ] : Attempting to start Boot Daemon failed....
[GUI] - API Boot failed
[GUI] [i18n] - Looping through preferred ui languages
[GUI] - Language setting: system_language
[GUI] - System language: ru_RU
[GUI] [i18n] - Looping through preferred ui languages
[GUI] - Using language: ru
[GUI] [i18n] - Loading translations for ru
[GUI] - translations available 
[GUI] - hiding main window
[GUI] - initialising toolbar icons
[GUI] - setting up window structure
[Debug] Adding language combo box entries...
54
[Debug] Adding language system_language to the combo box
[Debug] Adding language ar to the combo box
[GUI] [i18n] - Warning: Predefined language name not found: 'ar'
[Debug] Adding language bg to the combo box
[Debug] Adding language bn to the combo box
[Debug] Adding language bs to the combo box
[Debug] Adding language ca to the combo box
[Debug] Adding language ca@valencia to the combo box
[Debug] Adding language cs to the combo box
[Debug] Adding language da to the combo box
[Debug] Adding language de to the combo box
[Debug] Adding language el to the combo box
[Debug] Adding language en_AU to the combo box
[Debug] Adding language en_GB to the combo box
[Debug] Adding language en_US to the combo box
[Debug] Adding language eo to the combo box
[Debug] Adding language es to the combo box
[Debug] Adding language et to the combo box
[Debug] Adding language eu to the combo box
[Debug] Adding language fa to the combo box
[Debug] Adding language fi to the combo box
[Debug] Adding language fr to the combo box
[Debug] Adding language ga to the combo box
[Debug] Adding language gl to the combo box
[Debug] Adding language he to the combo box
[Debug] Adding language hi to the combo box
[Debug] Adding language hu to the combo box
[Debug] Adding language hy to the combo box
[Debug] Adding language id to the combo box
[Debug] Adding language is to the combo box
[Debug] Adding language it to the combo box
[Debug] Adding language ja to the combo box
[Debug] Adding language ka to the combo box
[Debug] Adding language ko to the combo box
[Debug] Adding language nb to the combo box
[Debug] Adding language nl to the combo box
[Debug] Adding language pl to the combo box
[Debug] Adding language pt to the combo box
[Debug] Adding language pt_BR to the combo box
[Debug] Adding language ro to the combo box
[Debug] Adding language ru to the combo box
[Debug] Adding language si to the combo box
[Debug] Adding language sk to the combo box
[Debug] Adding language sl to the combo box
[Debug] Adding language sv to the combo box
[Debug] Adding language sw to the combo box
[Debug] Adding language th to the combo box
[Debug] Adding language tr to the combo box
[Debug] Adding language ug to the combo box
[Debug] Adding language uk to the combo box
[Debug] Adding language vi to the combo box
[Debug] Adding language zh to the combo box
[Debug] Adding language zh-Hans to the combo box
[Debug] Adding language zh_HK to the combo box
[Debug] Adding language zh_TW to the combo box
[GUI] [i18n] - Warning: Predefined language name not found: 'ru_Cyrl_RU'
[GUI] [i18n] - Warning: Predefined language name not found: 'ru_RU'
[GUI] [i18n] - Warning: Predefined language name not found: 'en_Latn_US'
[GUI] - restoring scope states 
[GUI] - creating status bar
[GUI] - creating info panel
[GUI] - creating shortcuts
[GUI] - creating tool bar
[GUI] [i18n] - Warning: Predefined language name not found: 'ar'
[GUI] - initialising documentation window
[API] [INFO ] : Waiting Until Ready... 59
[API] [INFO ] : Waiting Until Ready... 58
[API] [INFO ] : Waiting Until Ready... 57
[API] [INFO ] : Waiting Until Ready... 56
[API] [INFO ] : Waiting Until Ready... 55
[API] [INFO ] : Waiting Until Ready... 54
[API] [INFO ] : Waiting Until Ready... 53
[API] [INFO ] : Waiting Until Ready... 52
[API] [INFO ] : Waiting Until Ready... 51
[API] [INFO ] : Waiting Until Ready... 50
[API] [INFO ] : Waiting Until Ready... 49
[API] [INFO ] : Waiting Until Ready... 48
[API] [INFO ] : Waiting Until Ready... 47
[API] [INFO ] : Waiting Until Ready... 46
[API] [INFO ] : Waiting Until Ready... 45
[API] [INFO ] : Waiting Until Ready... 44
[API] [INFO ] : Waiting Until Ready... 43
[API] [INFO ] : Waiting Until Ready... 42
[API] [INFO ] : Waiting Until Ready... 41
[API] [INFO ] : Waiting Until Ready... 40
[API] [INFO ] : Waiting Until Ready... 39
[API] [INFO ] : Waiting Until Ready... 38
[API] [INFO ] : Waiting Until Ready... 37
[API] [INFO ] : Waiting Until Ready... 36
[API] [INFO ] : Waiting Until Ready... 35
[API] [INFO ] : Waiting Until Ready... 34
[API] [INFO ] : Waiting Until Ready... 33
[API] [INFO ] : Waiting Until Ready... 32
[API] [INFO ] : Waiting Until Ready... 31
[API] [INFO ] : Waiting Until Ready... 30
[API] [INFO ] : Waiting Until Ready... 29
[API] [INFO ] : Waiting Until Ready... 28
[API] [INFO ] : Waiting Until Ready... 27
[API] [INFO ] : Waiting Until Ready... 26
[API] [INFO ] : Waiting Until Ready... 25
[API] [INFO ] : Waiting Until Ready... 24
[API] [INFO ] : Waiting Until Ready... 23
[API] [INFO ] : Waiting Until Ready... 22
[API] [INFO ] : Waiting Until Ready... 21
[API] [INFO ] : Waiting Until Ready... 20
[API] [INFO ] : Waiting Until Ready... 19
[API] [INFO ] : Waiting Until Ready... 18
[API] [INFO ] : Waiting Until Ready... 17
[API] [INFO ] : Waiting Until Ready... 16
[API] [INFO ] : Waiting Until Ready... 15
[API] [INFO ] : Waiting Until Ready... 14
[API] [INFO ] : Waiting Until Ready... 13
[API] [INFO ] : Waiting Until Ready... 12
[API] [INFO ] : Waiting Until Ready... 11
[API] [INFO ] : Waiting Until Ready... 10
[API] [INFO ] : Waiting Until Ready... 9
[API] [INFO ] : Waiting Until Ready... 8
[API] [INFO ] : Waiting Until Ready... 7
[API] [INFO ] : Waiting Until Ready... 6
[API] [INFO ] : Waiting Until Ready... 5
[API] [INFO ] : Waiting Until Ready... 4
[API] [INFO ] : Waiting Until Ready... 3
[API] [INFO ] : Waiting Until Ready... 2
[API] [INFO ] : Waiting Until Ready... 1
[API] [INFO ] : Waiting Until Ready... 0
[GUI] - Critical Error. Unable to connect to server..
lil-millp commented 1 year ago

Sonic.Pi.Log.txt I also found the log of the installation file

The firewall is turned off The "hosts" is clean I don't use antiviruses, I don't use Windows Defender either

lil-millp commented 1 year ago

I found some option, tried it tau.bat eval "IO.puts 'hi'" Some mistake came out image

lil-millp commented 1 year ago

Downloaded version 4.3 and everything works

erjenkins29 commented 1 year ago

Same issue happened to me today, downloaded 4.4 msi file for windows, installed on my windows 11 machine, restarted, execution failed with the above mentioned log. solved using version 4.3 as OP mentioned.

davebasham commented 1 year ago

I got the same issue on my Windows 10 machine today.

iamjonny commented 10 months ago

total punt, but another user on another os in the past tried these actions, which fixed (theirs then)

It works! Audio didn't output when I first loaded (I'm on an M1 MacBook Pro using a Tascam US 2x2 USB audio interface). To get it working, I checked "Invert Stereo", "Force Mono" and "Enable Audio Inputs" in the preferences, and restarted the app. This solved the problem, but I'm not sure which of these actions fixed it.

🤷‍♀️

ComfyDust commented 7 months ago

Got the same error on a fresh install of 4.5 with Windwos 11

[API] [ERROR] : Error reading ports via Boot Daemon STDOUT. Bytes read: -109 Error code: generic:32

Downgrading to 4.3 fixed it for me too