Coder Social home page Coder Social logo

Comments (12)

rbnpi avatar rbnpi commented on June 11, 2024

I'm slightly confused. The zip log files you submitted are for version 3.3.1 running. The logs shown on the issue show version 4.5 attempting to start, but having difficulty accessing the boot daemon.
Is your Mac intel based or running Apple silicon?
For now I would isolate version 3.3.1 by temporarily renaming your ~/.sonic-pi folder to say ~/.sonic-piOLD
It's worth restarting your machine, then trying to start 4.5 (it should create a new ~/.sonic-pi folder and contents.
Also you have quite a log of external audio devices connected. Till you get things going I would unplug these and disconnect your iphone from the computer. Just go bog standard Mac speaker output and built in mic input.
Report back how it goes. It is useful to include the new zipped log files if it doesn't work.

from sonic-pi.

Xigility avatar Xigility commented on June 11, 2024

New error message box:

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: macOS Ventura (13.2)
gui.log
[API] [INFO ] : Args: /Applications/Sonic Pi 4.5.0.app/Contents/Resources/app/server/native/ruby/bin/ruby /Applications/Sonic Pi 4.5.0.app/Contents/Resources/app/server/ruby/bin/clear-logs.rb
[API] [INFO ] : Started...
[API] [ERROR] : StartProcess - Invalid argument
[API] [INFO ] : Starting...
[API] [INFO ] : Log Path: /Users/[NAME REDACTED]/.sonic-pi/log
[API] [INFO ] : Launching Sonic Pi Boot Daemon:
[API] [INFO ] : Args: /Applications/Sonic Pi 4.5.0.app/Contents/Resources/app/server/native/ruby/bin/ruby /Applications/Sonic Pi 4.5.0.app/Contents/Resources/app/server/ruby/bin/daemon.rb --no-scsynth-inputs
[API] [INFO ] : Started...
[API] [ERROR] : StartProcess - Invalid argument
[API] [ERROR] : Failed to start Boot Daemon!
[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_HK
[GUI] [i18n] - Looping through preferred ui languages
[GUI] - Using language: en_GB
[GUI] [i18n] - Loading translations for en_GB
[GUI] [i18n] - Error: Failed to load language translation for en_GB
[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..

[GUI] - Sonic Pi Server failed to start with this error message:
> The Boot Daemon could not be started!

Mac is Silicon based. Error message above was generated with only essential audio I/Os.

New log below:

log 2.zip

afaik the log only contains a .writetest file and the gui.log that looked really similar to the error message above.

from sonic-pi.

rbnpi avatar rbnpi commented on June 11, 2024

I've seen a very similar issue #3272 raised by another user. You both get invalid argument errors from the daemon, and you both are using System en_HK I wonder if this is the cause of the problem. The API is not able to start the daemon properly and gives the error message. I think this is one for @samaaron to look at.

from sonic-pi.

samaaron avatar samaaron commented on June 11, 2024

Thanks for looking at this Robin.

@Xigility could you temporarily change the system language to uk or us English, reboot and see if that fixes things?

from sonic-pi.

Xigility avatar Xigility commented on June 11, 2024

@samaaron weird - I had 6 languages on my system - UK English (Primary), US English, Chinese Traditional (Hong Kong), Cantonese and two unmarked English. I tried removing the two unmarked ones in hopes of them being en_HK but to no avail. Followed the instructions on the Apple official website too.

Also got rid of an unmarked English keyboard input just in case that is en_HK. Still didn't work.

Did a bit of searching and didn't see any mentions of removing/changing system_language - I had thought General > Language and Region in my System Settings would do the trick but apparently not? Please let me know if there is a way to just nuke en_HK from my sys cause don't think I can or know how to disable/change it.

Anyways, probably meaningless but still rebooted the Mac, then Sonic Pi 4.5.0 and then the same Boot Daemon error:


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: macOS Ventura (13.2)
gui.log
[API] [INFO ] : Args: /Applications/Sonic Pi 4.5.0.app/Contents/Resources/app/server/native/ruby/bin/ruby /Applications/Sonic Pi 4.5.0.app/Contents/Resources/app/server/ruby/bin/clear-logs.rb
[API] [INFO ] : Started...
[API] [ERROR] : StartProcess - Invalid argument
[API] [INFO ] : Starting...
[API] [INFO ] : Log Path: /Users/[NAME REDACTED]/.sonic-pi/log
[API] [INFO ] : Launching Sonic Pi Boot Daemon:
[API] [INFO ] : Args: /Applications/Sonic Pi 4.5.0.app/Contents/Resources/app/server/native/ruby/bin/ruby /Applications/Sonic Pi 4.5.0.app/Contents/Resources/app/server/ruby/bin/daemon.rb --no-scsynth-inputs
[API] [INFO ] : Started...
[API] [ERROR] : StartProcess - Invalid argument
[API] [ERROR] : Failed to start Boot Daemon!
[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_HK
[GUI] [i18n] - Looping through preferred ui languages
[GUI] - Using language: en_GB
[GUI] [i18n] - Loading translations for en_GB
[GUI] [i18n] - Error: Failed to load language translation for en_GB
[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..

[GUI] - Sonic Pi Server failed to start with this error message:
> The Boot Daemon could not be started!

New log files from retries below:

log.zip

EDIT: typo

from sonic-pi.

samaaron avatar samaaron commented on June 11, 2024

The HK lang thing was just a guess - it may or may not be related. To be honest I would be surprised if it was.

Taking another tack, could you try running this in the terminal and let me know what it does/prints out:

'/Applications/Sonic Pi 4.5.0.app/Contents/Resources/app/server/native/ruby/bin/ruby' '/Applications/Sonic Pi 4.5.0.app/Contents/Resources/app/server/ruby/bin/clear-logs.rb'

from sonic-pi.

Xigility avatar Xigility commented on June 11, 2024

Hi @samaaron, sorry for the lack of updates for the past 2 days - work was tough.

put your terminal command in from a fresh reboot and it prints, without any other action:

:ok

hope this helps!

from sonic-pi.

samaaron avatar samaaron commented on June 11, 2024

OK, that's a good sign - that at least appears to have worked!

How about trying this:

'/Applications/Sonic Pi 4.5.0.app/Contents/Resources/app/server/native/ruby/bin/ruby' '/Applications/Sonic Pi 4.5.0.app/Contents/Resources/app/server/ruby/bin/daemon.rb --no-scsynth-inputs'

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.