Coder Social home page Coder Social logo

Comments (22)

samaaron avatar samaaron commented on June 5, 2024 1

We'll need to wait until the Windows installer catches up: https://rubyinstaller.org

from sonic-pi.

samaaron avatar samaaron commented on June 5, 2024

Hi there,

I'm not sure what's going wrong here. Would it be possible to open up a cmd.exe terminal window and run the following command and let me know what it says:

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

from sonic-pi.

QuinGeeks avatar QuinGeeks commented on June 5, 2024

This same problem happened to me. I cannot run Sonic Pi on my new Windows 11 Home (Version 10.0.22621 Build 22621
) Lenovo laptop. Keep in mind that I'm not a programmer, but I did what you suggested and this was what I got back:

'C:\Program' is not recognized as an internal or external command, operable program or batch file.

Does this help to know this?
CMD window screenshot 2024-02-21 073420

from sonic-pi.

Oly-Green avatar Oly-Green commented on June 5, 2024

@samaaron

This is what you get when you run the command you sent (You need quotes around the filepaths because of the whitespace)

C:/Program Files/Sonic Pi/app/server/native/ruby/lib/ruby/3.2.0/rubygems.rb:1342:in rescue in <top (required)>': U+7F51 to IBM437 in conversion from UTF-16LE to UTF-8 to IBM437 (Encoding::UndefinedConversionError) Loading the C:/Program Files/Sonic Pi/app/server/native/ruby/lib/ruby/3.2.0/rubygems/defaults/operating_system.rb file caused an error. This file is owned by your OS, not by rubygems upstream. Please find out which OS package this file belongs to and follow the guidelines from your OS to report the problem and ask for help. from C:/Program Files/Sonic Pi/app/server/native/ruby/lib/ruby/3.2.0/rubygems.rb:1328:in <top (required)>'
from internal:gem_prelude:2:in require' from <internal:gem_prelude>:2:in internal:gem_prelude'
C:/Program Files/Sonic Pi/app/server/native/ruby/lib/ruby/3.2.0/win32/registry.rb:910:in encode': U+7F51 to IBM437 in conversion from UTF-16LE to UTF-8 to IBM437 (Encoding::UndefinedConversionError) from C:/Program Files/Sonic Pi/app/server/native/ruby/lib/ruby/3.2.0/win32/registry.rb:910:in export_string'
from C:/Program Files/Sonic Pi/app/server/native/ruby/lib/ruby/3.2.0/win32/registry.rb:611:in each_key' from C:/Program Files/Sonic Pi/app/server/native/ruby/lib/ruby/site_ruby/3.2.0/ruby_installer/runtime/msys2_installation.rb:71:in block (2 levels) in iterate_msys_paths'
from C:/Program Files/Sonic Pi/app/server/native/ruby/lib/ruby/3.2.0/win32/registry.rb:435:in open' from C:/Program Files/Sonic Pi/app/server/native/ruby/lib/ruby/3.2.0/win32/registry.rb:542:in open'
from C:/Program Files/Sonic Pi/app/server/native/ruby/lib/ruby/site_ruby/3.2.0/ruby_installer/runtime/msys2_installation.rb:70:in block in iterate_msys_paths' from C:/Program Files/Sonic Pi/app/server/native/ruby/lib/ruby/site_ruby/3.2.0/ruby_installer/runtime/msys2_installation.rb:68:in each'
from C:/Program Files/Sonic Pi/app/server/native/ruby/lib/ruby/site_ruby/3.2.0/ruby_installer/runtime/msys2_installation.rb:68:in iterate_msys_paths' from C:/Program Files/Sonic Pi/app/server/native/ruby/lib/ruby/site_ruby/3.2.0/ruby_installer/runtime/msys2_installation.rb:102:in msys_path'
from C:/Program Files/Sonic Pi/app/server/native/ruby/lib/ruby/site_ruby/3.2.0/ruby_installer/runtime/msys2_installation.rb:115:in mingw_bin_path' from C:/Program Files/Sonic Pi/app/server/native/ruby/lib/ruby/site_ruby/3.2.0/ruby_installer/runtime/msys2_installation.rb:125:in enable_dll_search_paths'
from C:/Program Files/Sonic Pi/app/server/native/ruby/lib/ruby/site_ruby/3.2.0/ruby_installer/runtime/singleton.rb:27:in enable_dll_search_paths' from C:/Program Files/Sonic Pi/app/server/native/ruby/lib/ruby/3.2.0/rubygems/defaults/operating_system.rb:24:in <top (required)>'
from C:/Program Files/Sonic Pi/app/server/native/ruby/lib/ruby/3.2.0/rubygems.rb:1332:in require' from C:/Program Files/Sonic Pi/app/server/native/ruby/lib/ruby/3.2.0/rubygems.rb:1332:in <top (required)>'
from internal:gem_prelude:2:in require' from <internal:gem_prelude>:2:in internal:gem_prelude'

from sonic-pi.

coder0107git avatar coder0107git commented on June 5, 2024

I'm running into the same issue and I get the same log as @Oly-Green. I just barely upgraded from 4.3 to 4.5. v4.3 was working just fine but when I upgraded to v4.5 I couldn't get it to go past the loading screen.

My Error Log

Apologies, unable to start...
Sorry, Sonic Pi is having issues booting:
GUI was unable to connect to the Ruby server.
Please consider reporting a bug at
http://github.com/samaaron/sonic-pi/issues
System Information
Sonic Pi version: 4.5.0
OS: Windows 11 Version 23H2
spider.log
Sonic Pi Spider Server booting...
The time is 2024-03-03 15:15:24 -0700
Using primary protocol: udp
Detecting port numbers...
Ports: {:server_port=>37952, :gui_port=>37953, :scsynth_port=>37954, :scsynth_send_port=>37954, :osc_cues_port=>4560, :tau_port=>37955, :listen_to_tau_port=>37959}
Token: -913844399
Opening UDP Server to listen to GUI on port: 37952
Spider - Pulling in modules...
Spider - Starting Runtime Server
TauComms - Sending /ping to tau: 127.0.0.1:37955
TauComms - Receiving ack from tau
TauComms - connection established
studio - init
scsynth boot - Waiting for the SuperCollider Server to have booted...
scsynth boot - Sending /status to server: 127.0.0.1:37954
scsynth boot - Receiving ack from scsynth
scsynth boot - Server connection established
scsynth - clear!
scsynth - clear schedule 
scsynth - schedule cleared!
scsynth - group clear 0
scsynth - group clear 0 completed
Studio - Initialised SuperCollider Audio Server v3.12.0
Studio - Resetting server
Studio - Reset and setup groups and busses
Studio - Clearing scsynth
scsynth - clear schedule
scsynth - clear scsynth
scsynth - clear!
scsynth - clear schedule 
scsynth - schedule cleared!
scsynth - group clear 0
scsynth - group clear 0 completed
scsynth - cleared scsynth
scsynth - bus allocators reset
Studio - Allocating audio bus
Studio - Create Base Synth Groups
Studio - Starting mixer
Studio - Starting scope
Spider - Runtime Server Initialised
Spider - Registering incoming Spider Server API endpoints
Spider - Booted Successfully.
Spider - v4.3, OS windows, on Ruby  3.1.2 | 3.1.0.
Spider - ------------------------------------------

daemon.log
[2024-03-03 15:15:01] Welcome to the Daemon Booter
[2024-03-03 15:15:01] ----------------------------
[2024-03-03 15:15:01] SuperCollider inputs disabled by GUI
[2024-03-03 15:15:01] checked port 37952, #<UDPSocket:0x00000203dc3e0418>
[2024-03-03 15:15:01] checked port 37953, #<UDPSocket:0x00000203dc3e0080>
[2024-03-03 15:15:01] checked port 37954, #<UDPSocket:0x00000203dc3b3ad0>
[2024-03-03 15:15:01] checked port 4560, #<UDPSocket:0x00000203dc3b3468>
[2024-03-03 15:15:01] checked port 37955, #<UDPSocket:0x00000203dc3b3170>
[2024-03-03 15:15:01] checked port 37956, #<UDPSocket:0x00000203dc3b2ef0>
[2024-03-03 15:15:01] checked port 37957, #<UDPSocket:0x00000203dc3b2c98>
[2024-03-03 15:15:01] checked port 37958, #<UDPSocket:0x00000203dc3b2a18>
[2024-03-03 15:15:01] checked port 37959, #<UDPSocket:0x00000203dc3b27c0>
[2024-03-03 15:15:01] Selected ports: 
[2024-03-03 15:15:01] {"spider-listen-to-gui"=>37952, "gui-send-to-spider"=>37952, "gui-listen-to-spider"=>37953, "spider-send-to-gui"=>37953, "scsynth"=>37954, "scsynth-send"=>37954, "osc-cues"=>4560, "tau"=>37955, "spider"=>37956, "phx"=>37957, "daemon"=>37958, "spider-listen-to-tau"=>37959}
[2024-03-03 15:15:01] Booting Scsynth
[2024-03-03 15:15:01] Got Audio Settings toml hash: {}
[2024-03-03 15:15:01] Unified Audio Settings toml hash: {}
[2024-03-03 15:15:01] Combined Audio Settings toml hash with GUI scsynth inputs hash: {"-i"=>"0"}
[2024-03-03 15:15:01] Merged Audio Settings toml hash: {"-u"=>37954, "-a"=>"1024", "-m"=>"131072", "-D"=>"0", "-R"=>"0", "-l"=>"1", "-i"=>"0", "-o"=>"16", "-b"=>"4096", "-B"=>"127.0.0.1", "-U"=>"C:/Program Files/Sonic Pi/app/server/native/plugins"}
[2024-03-03 15:15:01] Process Booter - booting C:/Program Files/Sonic Pi/app/server/native/scsynth.exe with args ["-u", "37954", "-a", "1024", "-m", "131072", "-D", "0", "-R", "0", "-l", "1", "-i", "0", "-o", "16", "-b", "4096", "-B", "127.0.0.1", "-U", "C:/Program Files/Sonic Pi/app/server/native/plugins"]
[2024-03-03 15:15:01] C:/Program Files/Sonic Pi/app/server/native/scsynth.exe -u 37954 -a 1024 -m 131072 -D 0 -R 0 -l 1 -i 0 -o 16 -b 4096 -B 127.0.0.1 -U C:/Program Files/Sonic Pi/app/server/native/plugins
[2024-03-03 15:15:01] Waiting for the SuperCollider Server to have booted...
[2024-03-03 15:15:01] Sending /status to server: localhost:37954
[2024-03-03 15:15:02] Sending /status to server: localhost:37954
[2024-03-03 15:15:03] log: UTF-8, UTF-8, 
[2024-03-03 15:15:03] log: UTF-8, UTF-8, Device options:
[2024-03-03 15:15:03] log: UTF-8, UTF-8,   - MME : Microsoft Sound Mapper - Input   (device #0 with 2 ins 0 outs)
[2024-03-03 15:15:03] log: UTF-8, UTF-8,   - MME : Microphone (USB camera)   (device #1 with 2 ins 0 outs)
[2024-03-03 15:15:03] log: UTF-8, UTF-8,   - MME : Microsoft Sound Mapper - Output   (device #2 with 0 ins 2 outs)
[2024-03-03 15:15:03] log: UTF-8, UTF-8,   - MME : Speakers (Intel® Smart Sound Te   (device #3 with 0 ins 6 outs)
[2024-03-03 15:15:03] log: UTF-8, UTF-8,   - Windows DirectSound : Primary Sound Capture Driver   (device #4 with 2 ins 0 outs)
[2024-03-03 15:15:03] log: UTF-8, UTF-8,   - Windows DirectSound : Microphone (USB camera)   (device #5 with 2 ins 0 outs)
[2024-03-03 15:15:03] log: UTF-8, UTF-8,   - Windows DirectSound : Primary Sound Driver   (device #6 with 0 ins 2 outs)
[2024-03-03 15:15:03] log: UTF-8, UTF-8,   - Windows DirectSound : Speakers (Intel® Smart Sound Technology (Intel® SST))   (device #7 with 0 ins 6 outs)
[2024-03-03 15:15:03] log: UTF-8, UTF-8,   - Windows WASAPI : Speakers (Intel® Smart Sound Technology (Intel® SST))   (device #8 with 0 ins 2 outs)
[2024-03-03 15:15:03] log: UTF-8, UTF-8,   - Windows WASAPI : Microphone (USB camera)   (device #9 with 2 ins 0 outs)
[2024-03-03 15:15:03] log: UTF-8, UTF-8,   - Windows WDM-KS : Output 1 (Intel® Smart Sound Technology (Intel® SST) Output)   (device #10 with 0 ins 2 outs)
[2024-03-03 15:15:03] log: UTF-8, UTF-8,   - Windows WDM-KS : Output 2 (Intel® Smart Sound Technology (Intel® SST) Output)   (device #11 with 0 ins 6 outs)
[2024-03-03 15:15:03] log: UTF-8, UTF-8,   - Windows WDM-KS : Input (Intel® Smart Sound Technology (Intel® SST) Output)   (device #12 with 2 ins 0 outs)
[2024-03-03 15:15:03] log: UTF-8, UTF-8,   - Windows WDM-KS : Microphone (USB camera)   (device #13 with 2 ins 0 outs)
[2024-03-03 15:15:03] log: UTF-8, UTF-8, 
[2024-03-03 15:15:03] log: UTF-8, UTF-8, Requested devices:
[2024-03-03 15:15:03] log: UTF-8, UTF-8,   Out:
[2024-03-03 15:15:03] log: UTF-8, UTF-8,   - (default)
[2024-03-03 15:15:03] log: UTF-8, UTF-8, 
[2024-03-03 15:15:03] log: UTF-8, UTF-8, Selecting default system output device
[2024-03-03 15:15:03] log: UTF-8, UTF-8, 
[2024-03-03 15:15:03] log: UTF-8, UTF-8, Booting with:
[2024-03-03 15:15:03] log: UTF-8, UTF-8,   Out: MME : Speakers (Intel® Smart Sound Te
[2024-03-03 15:15:03] log: UTF-8, UTF-8,   Sample rate: 44100.000
[2024-03-03 15:15:03] log: UTF-8, UTF-8,   Latency (in/out): 0.000 / 0.091 sec
[2024-03-03 15:15:03] log: UTF-8, UTF-8, SC_AudioDriver: sample rate = 44100.000000, driver's block size = 64
[2024-03-03 15:15:03] log: UTF-8, UTF-8, SuperCollider 3 server ready.
[2024-03-03 15:15:03] Sending /status to server: localhost:37954
[2024-03-03 15:15:03] Receiving ack from scsynth
[2024-03-03 15:15:03] SuperCollider Server connection established
[2024-03-03 15:15:03] Extracting Scsynth info
[2024-03-03 15:15:03] Booting Tau...
[2024-03-03 15:15:03] Fetching Tau toml opts...
[2024-03-03 15:15:03] Requesting tau send us its pid. Sending /send-pid-to-daemon, -913844399 to localhost:37955
[2024-03-03 15:15:03] Daemon listening to info from Tau on port 37958
[2024-03-03 15:15:03] Process Booter - booting C:\Program Files\Sonic Pi\app\server\beam\tau\_build\prod\rel\tau\erts-13.1\bin\erl.exe with args ["-config", "C:\\Program Files\\Sonic Pi\\app\\server\\beam\\tau\\_build\\prod\\rel\\tau\\releases\\0.1.0\\sys", "-boot", "C:\\Program Files\\Sonic Pi\\app\\server\\beam\\tau\\_build\\prod\\rel\\tau\\releases\\0.1.0\\start", "-boot_var", "RELEASE_LIB", "C:\\Program Files\\Sonic Pi\\app\\server\\beam\\tau\\_build\\prod\\rel\\tau\\lib", "-args_file", "C:\\Program Files\\Sonic Pi\\app\\server\\beam\\tau\\_build\\prod\\rel\\tau\\releases\\0.1.0\\vm.args", "-noshell", "-s", "elixir", "start_cli", "-mode", "embedded", "-extra", "--no-halt"]
[2024-03-03 15:15:03] C:\Program Files\Sonic Pi\app\server\beam\tau\_build\prod\rel\tau\erts-13.1\bin\erl.exe -config C:\Program Files\Sonic Pi\app\server\beam\tau\_build\prod\rel\tau\releases\0.1.0\sys -boot C:\Program Files\Sonic Pi\app\server\beam\tau\_build\prod\rel\tau\releases\0.1.0\start -boot_var RELEASE_LIB C:\Program Files\Sonic Pi\app\server\beam\tau\_build\prod\rel\tau\lib -args_file C:\Program Files\Sonic Pi\app\server\beam\tau\_build\prod\rel\tau\releases\0.1.0\vm.args -noshell -s elixir start_cli -mode embedded -extra --no-halt
[2024-03-03 15:15:03] Booting Spider Server
[2024-03-03 15:15:03] Process Booter - booting C:/Program Files/Sonic Pi/app/server/native/ruby/bin/ruby.exe with args ["--enable-frozen-string-literal", "-E", "utf-8", "C:/Program Files/Sonic Pi/app/server/ruby/bin/spider-server.rb", "-u", "37952", "37953", "37954", "37954", "4560", "37955", "37959", "-913844399"]
[2024-03-03 15:15:03] C:/Program Files/Sonic Pi/app/server/native/ruby/bin/ruby.exe --enable-frozen-string-literal -E utf-8 C:/Program Files/Sonic Pi/app/server/ruby/bin/spider-server.rb -u 37952 37953 37954 37954 4560 37955 37959 -913844399
[2024-03-03 15:15:03] 37958 37953 37952 37954 4560 37955 37957 -913844399
[2024-03-03 15:15:03] Blocking main thread until exit signal received...
[2024-03-03 15:15:04] Requesting tau send us its pid. Sending /send-pid-to-daemon, -913844399 to localhost:37955
[2024-03-03 15:15:05] Requesting tau send us its pid. Sending /send-pid-to-daemon, -913844399 to localhost:37955
[2024-03-03 15:15:06] Requesting tau send us its pid. Sending /send-pid-to-daemon, -913844399 to localhost:37955
[2024-03-03 15:15:07] Requesting tau send us its pid. Sending /send-pid-to-daemon, -913844399 to localhost:37955
[2024-03-03 15:15:08] scsynth log match - res: nil, res_no_input: #<MatchData "  Out: MME : Speakers (Intel® Smart Sound Te\n  Sample rate: 44100.000\n  Latency (in/out): 0.000 / 0.091 sec" 1:"MME : Speakers (Intel® Smart Sound Te" 2:"44100.000" 3:"0.000" 4:"0.091">, res_no_output: nil
[2024-03-03 15:15:08] Extracted Windows in audio hw only: {:hw_in=>"Not connected", :hw_out=>"MME : Speakers (Intel® Smart Sound Te", :hw_sample_rate=>44100, :hw_latency_in=>0.0, :hw_latency_out=>0.091}
[2024-03-03 15:15:08] Sending scsynth info to GUI...
[2024-03-03 15:15:08] 
Raw:
---
 
Device options:
  - MME : Microsoft Sound Mapper - Input   (device #0 with 2 ins 0 outs)
  - MME : Microphone (USB camera)   (device #1 with 2 ins 0 outs)
  - MME : Microsoft Sound Mapper - Output   (device #2 with 0 ins 2 outs)
  - MME : Speakers (Intel® Smart Sound Te   (device #3 with 0 ins 6 outs)
  - Windows DirectSound : Primary Sound Capture Driver   (device #4 with 2 ins 0 outs)
  - Windows DirectSound : Microphone (USB camera)   (device #5 with 2 ins 0 outs)
  - Windows DirectSound : Primary Sound Driver   (device #6 with 0 ins 2 outs)
  - Windows DirectSound : Speakers (Intel® Smart Sound Technology (Intel® SST))   (device #7 with 0 ins 6 outs)
  - Windows WASAPI : Speakers (Intel® Smart Sound Technology (Intel® SST))   (device #8 with 0 ins 2 outs)
  - Windows WASAPI : Microphone (USB camera)   (device #9 with 2 ins 0 outs)
  - Windows WDM-KS : Output 1 (Intel® Smart Sound Technology (Intel® SST) Output)   (device #10 with 0 ins 2 outs)
  - Windows WDM-KS : Output 2 (Intel® Smart Sound Technology (Intel® SST) Output)   (device #11 with 0 ins 6 outs)
  - Windows WDM-KS : Input (Intel® Smart Sound Technology (Intel® SST) Output)   (device #12 with 2 ins 0 outs)
  - Windows WDM-KS : Microphone (USB camera)   (device #13 with 2 ins 0 outs)

Requested devices:
  Out:
  - (default)

Selecting default system output device

Booting with:
  Out: MME : Speakers (Intel® Smart Sound Te
  Sample rate: 44100.000
  Latency (in/out): 0.000 / 0.091 sec
SC_AudioDriver: sample rate = 44100.000000, driver's block size = 64
SuperCollider 3 server ready.
[2024-03-03 15:15:08] 
Extracted:
---------
 {:hw_in=>"Not connected", :hw_out=>"MME : Speakers (Intel® Smart Sound Te", :hw_sample_rate=>44100, :hw_latency_in=>0.0, :hw_latency_out=>0.091, :sc_sample_rate=>44100, :sc_block_size=>64}
[2024-03-03 15:15:08] 
Pretty:
------
 Out: MME : Speakers (Intel® Smart Sound Te
In: Not connected
Sample Rate: 44100
Block Size: 64
Latency Out: 0.091
[2024-03-03 15:15:08] 
---
[2024-03-03 15:15:08] Requesting tau send us its pid. Sending /send-pid-to-daemon, -913844399 to localhost:37955
[2024-03-03 15:15:09] Requesting tau send us its pid. Sending /send-pid-to-daemon, -913844399 to localhost:37955
[2024-03-03 15:15:10] Requesting tau send us its pid. Sending /send-pid-to-daemon, -913844399 to localhost:37955
[2024-03-03 15:15:11] Requesting tau send us its pid. Sending /send-pid-to-daemon, -913844399 to localhost:37955
[2024-03-03 15:15:12] Requesting tau send us its pid. Sending /send-pid-to-daemon, -913844399 to localhost:37955
[2024-03-03 15:15:13] Requesting tau send us its pid. Sending /send-pid-to-daemon, -913844399 to localhost:37955
[2024-03-03 15:15:16] Requesting tau send us its pid. Sending /send-pid-to-daemon, -913844399 to localhost:37955
[2024-03-03 15:15:17] Requesting tau send us its pid. Sending /send-pid-to-daemon, -913844399 to localhost:37955
[2024-03-03 15:15:18] Requesting tau send us its pid. Sending /send-pid-to-daemon, -913844399 to localhost:37955
[2024-03-03 15:15:19] Requesting tau send us its pid. Sending /send-pid-to-daemon, -913844399 to localhost:37955
[2024-03-03 15:15:20] log: UTF-8, UTF-8, prod
[2024-03-03 15:15:21] Requesting tau send us its pid. Sending /send-pid-to-daemon, -913844399 to localhost:37955
[2024-03-03 15:15:21] log: UTF-8, UTF-8, 
[2024-03-03 15:15:21] log: UTF-8, UTF-8, MidiOutWinMM::openPort: error creating Windows MM MIDI output port.
[2024-03-03 15:15:21] log: UTF-8, UTF-8, 
[2024-03-03 15:15:21] log: UTF-8, UTF-8, 
[2024-03-03 15:15:21] log: UTF-8, UTF-8, MidiOutWinMM::openPort: error creating Windows MM MIDI output port.
[2024-03-03 15:15:21] log: UTF-8, UTF-8, 
[2024-03-03 15:15:21] log: UTF-8, UTF-8, 
[2024-03-03 15:15:21] log: UTF-8, UTF-8, MidiInWinMM::openPort: error creating Windows MM MIDI input port.
[2024-03-03 15:15:21] log: UTF-8, UTF-8, 
[2024-03-03 15:15:22] Requesting tau send us its pid. Sending /send-pid-to-daemon, -913844399 to localhost:37955
[2024-03-03 15:15:22] Daemon received Pid from Tau: [-913844399, 10916]
[2024-03-03 15:15:24] log: UTF-8, UTF-8, Sonic Pi Spider Server booting...
[2024-03-03 15:15:24] log: UTF-8, UTF-8, The time is 2024-03-03 15:15:24 -0700
[2024-03-03 15:15:24] log: UTF-8, UTF-8, Using primary protocol: udp
[2024-03-03 15:15:24] log: UTF-8, UTF-8, Detecting port numbers...
[2024-03-03 15:15:24] log: UTF-8, UTF-8, Ports: {:server_port=>37952, :gui_port=>37953, :scsynth_port=>37954, :scsynth_send_port=>37954, :osc_cues_port=>4560, :tau_port=>37955, :listen_to_tau_port=>37959}
[2024-03-03 15:15:24] log: UTF-8, UTF-8, Token: -913844399
[2024-03-03 15:15:24] log: UTF-8, UTF-8, Opening UDP Server to listen to GUI on port: 37952
[2024-03-03 15:15:24] log: UTF-8, UTF-8, Spider - Pulling in modules...
[2024-03-03 15:15:24] log: UTF-8, UTF-8, Spider - Starting Runtime Server
[2024-03-03 15:15:25] log: UTF-8, UTF-8, TauComms - Sending /ping to tau: 127.0.0.1:37955
[2024-03-03 15:15:25] log: UTF-8, UTF-8, TauComms - Receiving ack from tau
[2024-03-03 15:15:25] log: UTF-8, UTF-8, TauComms - connection established
[2024-03-03 15:15:25] log: UTF-8, UTF-8, studio - init
[2024-03-03 15:15:26] log: UTF-8, UTF-8, 
[2024-03-03 15:15:26] log: UTF-8, UTF-8, MidiInWinMM::openPort: error creating Windows MM MIDI input port.
[2024-03-03 15:15:26] log: UTF-8, UTF-8, 
[2024-03-03 15:15:27] log: UTF-8, UTF-8, 
[2024-03-03 15:15:27] log: UTF-8, UTF-8, MidiOutWinMM::openPort: error creating Windows MM MIDI output port.
[2024-03-03 15:15:27] log: UTF-8, UTF-8, 
[2024-03-03 15:15:27] log: UTF-8, UTF-8, 
[2024-03-03 15:15:27] log: UTF-8, UTF-8, MidiOutWinMM::openPort: error creating Windows MM MIDI output port.
[2024-03-03 15:15:27] log: UTF-8, UTF-8, 
[2024-03-03 15:15:28] log: UTF-8, UTF-8, scsynth boot - Waiting for the SuperCollider Server to have booted...
[2024-03-03 15:15:28] log: UTF-8, UTF-8, scsynth boot - Sending /status to server: 127.0.0.1:37954
[2024-03-03 15:15:28] log: UTF-8, UTF-8, scsynth boot - Receiving ack from scsynth
[2024-03-03 15:15:28] log: UTF-8, UTF-8, scsynth boot - Server connection established
[2024-03-03 15:15:28] log: UTF-8, UTF-8, scsynth - clear!
[2024-03-03 15:15:28] log: UTF-8, UTF-8, scsynth - clear schedule 
[2024-03-03 15:15:28] log: UTF-8, UTF-8, scsynth - schedule cleared!
[2024-03-03 15:15:28] log: UTF-8, UTF-8, scsynth - group clear 0
[2024-03-03 15:15:28] log: UTF-8, UTF-8, scsynth - group clear 0 completed
[2024-03-03 15:15:28] log: UTF-8, UTF-8, Studio - Initialised SuperCollider Audio Server v3.12.0
[2024-03-03 15:15:28] log: UTF-8, UTF-8, Studio - Resetting server
[2024-03-03 15:15:28] log: UTF-8, UTF-8, Studio - Reset and setup groups and busses
[2024-03-03 15:15:28] log: UTF-8, UTF-8, Studio - Clearing scsynth
[2024-03-03 15:15:28] log: UTF-8, UTF-8, scsynth - clear schedule
[2024-03-03 15:15:28] log: UTF-8, UTF-8, scsynth - clear scsynth
[2024-03-03 15:15:28] log: UTF-8, UTF-8, scsynth - clear!
[2024-03-03 15:15:28] log: UTF-8, UTF-8, scsynth - clear schedule 
[2024-03-03 15:15:28] log: UTF-8, UTF-8, scsynth - schedule cleared!
[2024-03-03 15:15:28] log: UTF-8, UTF-8, scsynth - group clear 0
[2024-03-03 15:15:28] log: UTF-8, UTF-8, scsynth - group clear 0 completed
[2024-03-03 15:15:28] log: UTF-8, UTF-8, scsynth - cleared scsynth
[2024-03-03 15:15:28] log: UTF-8, UTF-8, scsynth - bus allocators reset
[2024-03-03 15:15:28] log: UTF-8, UTF-8, Studio - Allocating audio bus
[2024-03-03 15:15:28] log: UTF-8, UTF-8, Studio - Create Base Synth Groups
[2024-03-03 15:15:28] log: UTF-8, UTF-8, Studio - Starting mixer
[2024-03-03 15:15:28] log: UTF-8, UTF-8, Studio - Starting scope
[2024-03-03 15:15:28] log: UTF-8, UTF-8, Spider - Runtime Server Initialised
[2024-03-03 15:15:28] log: UTF-8, UTF-8, Spider - Registering incoming Spider Server API endpoints
[2024-03-03 15:15:28] log: UTF-8, UTF-8, Spider - Booted Successfully.
[2024-03-03 15:15:28] log: UTF-8, UTF-8, Spider - v4.3, OS windows, on Ruby  3.1.2 | 3.1.0.
[2024-03-03 15:15:28] log: UTF-8, UTF-8, Spider - ------------------------------------------
[2024-03-03 15:47:56] [EXIT] Kill switch for port 37958 remotely activated using token -913844399
[2024-03-03 15:47:56] Daemon Booter is now exiting.
[2024-03-03 15:47:56] Exit signal received...
[2024-03-03 15:47:56] Cleaning up any running processes...
[2024-03-03 15:47:56] Daemon Finished. Cheerio.
[2024-03-03 15:47:56] [EXIT] Daemon Process has completed:
[2024-03-03 15:47:56] Process Booter - killing C:/Program Files/Sonic Pi/app/server/native/ruby/bin/ruby.exe with pid 6332 and args ["--enable-frozen-string-literal", "-E", "utf-8", "C:/Program Files/Sonic Pi/app/server/ruby/bin/spider-server.rb", "-u", "37952", "37953", "37954", "37954", "4560", "37955", "37959", "-913844399"], wait_thr status: #<Process::Waiter:0x00000203dc4521d0 sleep>, sleep
[2024-03-03 15:47:56] Process Booter - killing C:/Program Files/Sonic Pi/app/server/native/scsynth.exe with pid 13532 and args ["-u", "37954", "-a", "1024", "-m", "131072", "-D", "0", "-R", "0", "-l", "1", "-i", "0", "-o", "16", "-b", "4096", "-B", "127.0.0.1", "-U", "C:/Program Files/Sonic Pi/app/server/native/plugins"], wait_thr status: #<Process::Waiter:0x00000203dc476710 sleep>, sleep
[2024-03-03 15:47:56] Killing Tau with pid 10916
[2024-03-03 15:47:56] Sending KILL kill command to 6332
[2024-03-03 15:47:56] Process 6332 still running, waiting for it to finish... [5]
[2024-03-03 15:47:56] Sending KILL kill command to 13532
[2024-03-03 15:47:56] Process 13532 still running, waiting for it to finish... [5]
[2024-03-03 15:47:56] Process Booter - killing C:\Program Files\Sonic Pi\app\server\beam\tau\_build\prod\rel\tau\erts-13.1\bin\erl.exe with pid 10916 and args ["-config", "C:\\Program Files\\Sonic Pi\\app\\server\\beam\\tau\\_build\\prod\\rel\\tau\\releases\\0.1.0\\sys", "-boot", "C:\\Program Files\\Sonic Pi\\app\\server\\beam\\tau\\_build\\prod\\rel\\tau\\releases\\0.1.0\\start", "-boot_var", "RELEASE_LIB", "C:\\Program Files\\Sonic Pi\\app\\server\\beam\\tau\\_build\\prod\\rel\\tau\\lib", "-args_file", "C:\\Program Files\\Sonic Pi\\app\\server\\beam\\tau\\_build\\prod\\rel\\tau\\releases\\0.1.0\\vm.args", "-noshell", "-s", "elixir", "start_cli", "-mode", "embedded", "-extra", "--no-halt"], wait_thr status: #<Process::Waiter:0x00000203dc458738 sleep>, sleep
[2024-03-03 15:47:56] Sending KILL kill command to 10916
[2024-03-03 15:47:56] Process 10916 still running, waiting for it to finish... [5]
[2024-03-03 15:47:57] Process 10916 terminated
[2024-03-03 15:47:57] Process 13532 terminated
[2024-03-03 15:47:57] Process 6332 terminated
[2024-03-03 15:47:57] Daemon Booter - Over and Out.

tau.log
15:15:20.705 [info] All systems booting....
15:15:20.706 [info] Extracting env TAU_ENV string: prod
15:15:20.706 [info] Extracting env TAU_MIDI_ENABLED bool: true
15:15:20.706 [info] Extracting env TAU_LINK_ENABLED bool: true
15:15:20.706 [info] Extracting env TAU_CUES_ON bool: true
15:15:20.707 [info] Extracting env TAU_OSC_IN_UDP_LOOPBACK_RESTRICTED bool: false
15:15:20.707 [info] Extracting env TAU_MIDI_ON bool: true
15:15:20.707 [info] Extracting env TAU_LINK_ON bool: true
15:15:20.707 [info] Extracting env TAU_OSC_IN_UDP_PORT int: 4560
15:15:20.707 [info] Extracting env TAU_API_PORT int: 37955
15:15:20.707 [info] Extracting env TAU_SPIDER_PORT int: 37959
15:15:20.707 [info] Extracting env TAU_DAEMON_PORT int: 37958
15:15:20.707 [info] Extracting env TAU_DAEMON_TOKEN int: -913844399
15:15:20.707 [info] Initialising MIDI native interface
15:15:20.776 [info] Initialising Link native interface
15:15:20.846 [info] Starting Phoenix server
15:15:20.847 [info] Starting with MIDI server enabled
15:15:20.847 [info] Starting with Link server enabled
15:15:20.849 [info] 
+--------------------------------------+
    This is the Sonic Pi Link Server    
       Powered by Erlang 25             
                                        
   Number of detected peers:           
   0 
                                        
   Current tempo:          
   60.0 
+--------------------------------------+



15:15:21.413 [info] 
+--------------------------------------+
    This is the Sonic Pi MIDI Server    
       Powered by Erlang 25             
                                        
   Detected MIDI input ports:           
   ['usb2.0-midi_0'] 
                                        
   Detected MIDI output ports:          
   ['microsoft_gs_wavetable_synth_0',
 'usb2.0-midi_1',
 'midiout2_(usb2.0-midi)_2'] 
+--------------------------------------+



15:15:21.415 [info] 
+--------------------------------------+
    This is the Sonic Pi OSC Server     
             == Tau ==                  
       Powered by Erlang 25             
                                        
        Incoming OSC on port 4560         
  OSC cue forwarding to {127, 0, 0, 1}              
                     on port 37959         
+--------------------------------------+



15:15:21.416 [info] 
+--------------------------------------+
    This is the Sonic Pi API Server     
       Powered by Erlang 25             
                                        
       API listening on port 37955         
+--------------------------------------+



15:15:21.424 [info] Running TauWeb.Endpoint with cowboy 2.9.0 at 127.0.0.1:37957 (http)
15:15:21.425 [error] Could not find static manifest at "c:/Program Files/Sonic Pi/app/server/beam/tau/_build/prod/rel/tau/lib/tau-0.1.0/priv/static/cache_manifest.json". Run "mix phx.digest" after building your static files or remove the configuration from "config/prod.exs".
15:15:21.425 [info] Access TauWeb.Endpoint at http://localhost:37957
15:15:22.049 [info] API /send-pid-to-daemon -> sending pid to Daemon...
15:15:31.121 [error] Cue Server got unexpected message: {:midi_on, 1}
15:15:31.121 [info] Enabling cue forwarding 
15:15:36.082 [info] Enabling cue forwarding 

scsynth.log

Device options:
  - MME : Microsoft Sound Mapper - Input   (device #0 with 2 ins 0 outs)
  - MME : Microphone (USB camera)   (device #1 with 2 ins 0 outs)
  - MME : Microsoft Sound Mapper - Output   (device #2 with 0 ins 2 outs)
  - MME : Speakers (Intel® Smart Sound Te   (device #3 with 0 ins 6 outs)
  - Windows DirectSound : Primary Sound Capture Driver   (device #4 with 2 ins 0 outs)
  - Windows DirectSound : Microphone (USB camera)   (device #5 with 2 ins 0 outs)
  - Windows DirectSound : Primary Sound Driver   (device #6 with 0 ins 2 outs)
  - Windows DirectSound : Speakers (Intel® Smart Sound Technology (Intel® SST))   (device #7 with 0 ins 6 outs)
  - Windows WASAPI : Speakers (Intel® Smart Sound Technology (Intel® SST))   (device #8 with 0 ins 2 outs)
  - Windows WASAPI : Microphone (USB camera)   (device #9 with 2 ins 0 outs)
  - Windows WDM-KS : Output 1 (Intel® Smart Sound Technology (Intel® SST) Output)   (device #10 with 0 ins 2 outs)
  - Windows WDM-KS : Output 2 (Intel® Smart Sound Technology (Intel® SST) Output)   (device #11 with 0 ins 6 outs)
  - Windows WDM-KS : Input (Intel® Smart Sound Technology (Intel® SST) Output)   (device #12 with 2 ins 0 outs)
  - Windows WDM-KS : Microphone (USB camera)   (device #13 with 2 ins 0 outs)

Requested devices:
  Out:
  - (default)

Selecting default system output device

Booting with:
  Out: MME : Speakers (Intel® Smart Sound Te
  Sample rate: 44100.000
  Latency (in/out): 0.000 / 0.091 sec
SC_AudioDriver: sample rate = 44100.000000, driver's block size = 64
SuperCollider 3 server ready.

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\famly\.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: en_US
[GUI] [i18n] - Looping through preferred ui languages
[GUI] - Using language: en_US
[GUI] [i18n] - Loading translations for en_US
[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
[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] - restoring scope states 
[GUI] - creating status bar
[GUI] - creating info panel
[GUI] - creating shortcuts
[GUI] - creating tool bar
[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..

I haven't tried a restart yet so I'll do that next.

from sonic-pi.

samaaron avatar samaaron commented on June 5, 2024

@coder0107git - the error logs you posted are confusing to me - I'm wondering if somehow they're a strange mix of v4.3 and v4.5 booting information.

Would it be possible to delete all the error logs, then attempt to reboot v4.5 only (not v4.3) and then resend the logs?

from sonic-pi.

coder0107git avatar coder0107git commented on June 5, 2024

It is v4.5 (at least the loading screen says so). Sonic Pi was open when I was doing the update and that might have messed up some of the installation process. I tried running a repair install. The logs I attached are what showed up after I did that. I'll clear the logs when I'm near my computer again.

from sonic-pi.

samaaron avatar samaaron commented on June 5, 2024

@coder0107git - just to be sure you're on a clean slate, I'd completely uninstall Sonic Pi - remove the entire .sonic-pi directory containing all the logs etc. then install and try again.

from sonic-pi.

coder0107git avatar coder0107git commented on June 5, 2024

Okay, will do.

from sonic-pi.

coder0107git avatar coder0107git commented on June 5, 2024
My new logs

Apologies, unable to start...
Sorry, Sonic Pi is having issues booting:
GUI was unable to connect to the Ruby server.
Please consider reporting a bug at
http://github.com/samaaron/sonic-pi/issues
System Information
Sonic Pi version: 4.5.0
OS: Windows 11 Version 23H2
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\famly\.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: en_US
[GUI] [i18n] - Looping through preferred ui languages
[GUI] - Using language: en_US
[GUI] [i18n] - Loading translations for en_US
[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
[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] - restoring scope states 
[GUI] - creating status bar
[GUI] - creating info panel
[GUI] - creating shortcuts
[GUI] - creating tool bar
[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..

from sonic-pi.

Artalus avatar Artalus commented on June 5, 2024

Hi! Clean install of 4.5.0 on Windows 10, never had Sonic Pi installed before, got same errors as ramcarter :

GUI was unable to connect to the Ruby server.
Please consider reporting a bug at
http://github.com/samaaron/sonic-pi/issues
System Information
Sonic Pi version: 4.5.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\Artalus\.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
--8<--

Running daemon.rb from PowerShell gives same output as it did for Oly-Green :

Expand>

> & "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
C:/Program Files/Sonic Pi/app/server/native/ruby/lib/ruby/3.2.0/rubygems.rb:1342:in `rescue in <top (required)>': U+0413 to IBM437 in conversion from UTF-16LE to UTF-8 to IBM437 (Encoding::UndefinedConversionError)
Loading the C:/Program Files/Sonic Pi/app/server/native/ruby/lib/ruby/3.2.0/rubygems/defaults/operating_system.rb file caused an error. This file is owned by your OS, not by rubygems upstream. Please find out which OS package this file belongs to and follow the guidelines from your OS to report the problem and ask for help.
        from C:/Program Files/Sonic Pi/app/server/native/ruby/lib/ruby/3.2.0/rubygems.rb:1328:in `<top (required)>'
        from <internal:gem_prelude>:2:in `require'
        from <internal:gem_prelude>:2:in `<internal:gem_prelude>'
C:/Program Files/Sonic Pi/app/server/native/ruby/lib/ruby/3.2.0/win32/registry.rb:910:in `encode': U+0413 to IBM437 in conversion from UTF-16LE to UTF-8 to IBM437 (Encoding::UndefinedConversionError)
        from C:/Program Files/Sonic Pi/app/server/native/ruby/lib/ruby/3.2.0/win32/registry.rb:910:in `export_string'
        from C:/Program Files/Sonic Pi/app/server/native/ruby/lib/ruby/3.2.0/win32/registry.rb:611:in `each_key'
        from C:/Program Files/Sonic Pi/app/server/native/ruby/lib/ruby/site_ruby/3.2.0/ruby_installer/runtime/msys2_installation.rb:71:in `block (2 levels) in iterate_msys_paths'
        from C:/Program Files/Sonic Pi/app/server/native/ruby/lib/ruby/3.2.0/win32/registry.rb:435:in `open'
        from C:/Program Files/Sonic Pi/app/server/native/ruby/lib/ruby/3.2.0/win32/registry.rb:542:in `open'
        from C:/Program Files/Sonic Pi/app/server/native/ruby/lib/ruby/site_ruby/3.2.0/ruby_installer/runtime/msys2_installation.rb:70:in `block in iterate_msys_paths'
        from C:/Program Files/Sonic Pi/app/server/native/ruby/lib/ruby/site_ruby/3.2.0/ruby_installer/runtime/msys2_installation.rb:68:in `each'
        from C:/Program Files/Sonic Pi/app/server/native/ruby/lib/ruby/site_ruby/3.2.0/ruby_installer/runtime/msys2_installation.rb:68:in `iterate_msys_paths'
        from C:/Program Files/Sonic Pi/app/server/native/ruby/lib/ruby/site_ruby/3.2.0/ruby_installer/runtime/msys2_installation.rb:102:in `msys_path'
        from C:/Program Files/Sonic Pi/app/server/native/ruby/lib/ruby/site_ruby/3.2.0/ruby_installer/runtime/msys2_installation.rb:115:in `mingw_bin_path'
        from C:/Program Files/Sonic Pi/app/server/native/ruby/lib/ruby/site_ruby/3.2.0/ruby_installer/runtime/msys2_installation.rb:125:in `enable_dll_search_paths'
        from C:/Program Files/Sonic Pi/app/server/native/ruby/lib/ruby/site_ruby/3.2.0/ruby_installer/runtime/singleton.rb:27:in `enable_dll_search_paths'
        from C:/Program Files/Sonic Pi/app/server/native/ruby/lib/ruby/3.2.0/rubygems/defaults/operating_system.rb:24:in `<top (required)>'
        from C:/Program Files/Sonic Pi/app/server/native/ruby/lib/ruby/3.2.0/rubygems.rb:1332:in `require'
        from C:/Program Files/Sonic Pi/app/server/native/ruby/lib/ruby/3.2.0/rubygems.rb:1332:in `<top (required)>'
        from <internal:gem_prelude>:2:in `require'
        from <internal:gem_prelude>:2:in `<internal:gem_prelude>'

from sonic-pi.

Artalus avatar Artalus commented on June 5, 2024

Did some digging.

  • Sprinkling Sonic Pi/app/server/native/ruby/lib/ruby/3.2.0/win32/registry.rb:910 with debug prints shows that it dies upon meeting a verbose non-English entry somewhere deep in the Windows Registry.
  • Googling around shows that there indeed was a bug in Ruby related to this - more than 8 years ago.
  • Googling a bit more also gives oneclick/rubyinstaller2#348 . Looking at the commit history following the ticket being closed, I assume this is a bug inside Ruby installer for Windows that was fixed with version 3.3.

from sonic-pi.

coder0107git avatar coder0107git commented on June 5, 2024

A line in my error log I find interesting is [ERROR] : Error reading ports via Boot Daemon STDOUT. Bytes read: -109 Error code: generic:32. Searching the codebase I found that this is the only spot with that message. Doing a bit of Googling I found System Error Codes (0-499) (WinError.h). Doing some type conversions I found that -109 is also 0x93 (ERROR_IS_JOIN_PATH). It could also be ERROR_BROKEN_PIPE (unlikely) or ERROR_SHARING_VIOLATION (more likely).

After attempting to open Sonic Pi, ~/.sonic-pi/ seems to become read-only for whatever reason ¯\_(ツ)_/¯

from sonic-pi.

samaaron avatar samaaron commented on June 5, 2024

I've heard that there are quite a few critical issues with Ruby 3.3 which have been fixed. I've therefore been waiting until v3.3.1 is released before making a new Sonic Pi release - but that seems to be taking much longer than usual. Hopefully it's out soon!

from sonic-pi.

rbnpi avatar rbnpi commented on June 5, 2024

Hm I think it is available.
Here you can get the latest Ruby distributions in your favorite flavor. The current stable version is 3.3.1. (on https://www.ruby-lang.org/en/downloads/)
EDIT
just installed it on my Mac using rbenv (I had to upgrade ruby-build to see it)

from sonic-pi.

samaaron avatar samaaron commented on June 5, 2024

Oh nice - released just now!

from sonic-pi.

coder0107git avatar coder0107git commented on June 5, 2024

Looks like 3.0.7-1 of the Windows installer was released ~2 hrs ago. Fingers crossed that they realease the 3.3.1 version soon 🤞

from sonic-pi.

coder0107git avatar coder0107git commented on June 5, 2024

@samaaron 3.3.1 of RubyInstaller has been released 🎉

from sonic-pi.

samaaron avatar samaaron commented on June 5, 2024

Nice. Thanks for letting me know.

from sonic-pi.

samaaron avatar samaaron commented on June 5, 2024

@coder0107git could you try this: https://sonic-pi.net/files/releases/v4.5.1/Sonic-Pi-for-Win-x64-v4-5-1.msi

from sonic-pi.

Artalus avatar Artalus commented on June 5, 2024

Feels like the installation took longer than it was for 4.5, 4.4 and 4.3 - but otherwise 4.5.1 works like a charm for me. Kudos!

from sonic-pi.

coder0107git avatar coder0107git commented on June 5, 2024

It works!! Thanks for the fast response! I did have a few network errors when I was 50 mb into downloading and at one point it said it would take ~2 days to download so I ended up downloading it through a proxy. For some reason the installer kept complaining about Notepad using files and at one point it complained about Snipping Tool.

from sonic-pi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.