Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

where can I find daemon.rb? #3

Open
Invertisment opened this issue Aug 31, 2022 · 2 comments
Open

where can I find daemon.rb? #3

Invertisment opened this issue Aug 31, 2022 · 2 comments

Comments

@Invertisment
Copy link

Invertisment commented Aug 31, 2022

When I open a file test.sonicpi and execute :SonicPiStartDaemon then I get this error.
Maybe that means that I configured something incorrectly?

Error executing Lua callback: ...ocal/share/nvim/plugged/plenary.nvim/lua/plenary/job.lua:405: Failed to spawn process: {                                                                                                                      
  _additional_on_exit_callbacks = {},                                                                                                                                                                                                          
  _raw_cwd = "/ruby/bin",                                                                                                                                                                                                                      
  _shutdown_check = <userdata 1>,                                                                                                                                                                                                              
  _stderr_results = {},                                                                                                                                                                                                                        
  _stdout_results = {},                                                                                                                                                                                                                        
  _user_on_exit = <function 1>,                                                                                                                                                                                                                
  _user_on_stdout = <function 2>,                                                                                                                                                                                                              
  args = { "daemon.rb" },                                                                                                                                                                                                                      
  command = "ruby",                                                                                                                                                                                                                            
  enable_handlers = true,                                                                                                                                                                                                                      
  enable_recording = true,                                                                                                                                                                                                                     
  interactive = true,                                                                                                                                                                                                                          
  pid = "ENOENT: no such file or directory",                                                                                                                                                                                                   
  stderr = <userdata 2>,                                                                                                                                                                                                                       
  stdin = <userdata 3>,                                                                                                                                                                                                                        
  stdout = <userdata 4>,                                                                                                                                                                                                                       
  user_data = {},                                                                                                                                                                                                                              
  <metatable> = <1>{                                                                                                                                                                                                                           
    __index = <table 1>,                                                                                                                                                                                                                       
    _create_uv_options = <function 3>,                                                                                                                                                                                                         
    _execute = <function 4>,                                                                                                                                                                                                                   
    _pipes_are_closed = <function 5>,                                                                                                                                                                                                          
    _prepare_pipes = <function 6>,                                                                                                                                                                                                             
    _reset = <function 7>,                                                                                                                                                                                                                     
    _shutdown = <function 8>,                                                                                                                                                                                                                  
    _stop = <function 9>,                                                                                                                                                                                                                      
    add_on_exit_callback = <function 10>,                                                                                                                                                                                                      
    after = <function 11>,                                                                                                                                                                                                                     
    after_failure = <function 12>,                                                                                                                                                                                                             
    after_success = <function 13>,                                                                                                                                                                                                             
    and_then = <function 14>,                                                                                                                                                                                                                  
    and_then_on_failure = <function 15>,                                                                                                                                                                                                       
    and_then_on_failure_wrap = <function 16>,                                                                                                                                                                                                  
    and_then_on_success = <function 17>,                                                                                                                                                                                                       
    and_then_on_success_wrap = <function 18>,                                                                                                                                                                                                  
    and_then_wrap = <function 19>,                                                                                                                                                                                                             
    chain = <function 20>,                                                                                                                                                                                                                     
    chain_status = <function 21>,                                                                                                                                                                                                              
    co_wait = <function 22>,                                                                                                                                                                                                                   
    is_job = <function 23>,                                                                                                                                                                                                                    
    join = <function 24>,                                                                                                                                                                                                                      
    new = <function 25>,                                                                                                                                                                                                                       
    pid = <function 26>,                                                                                                                                                                                                                       
    result = <function 27>,                                                                                                                                                                                                                    
    send = <function 28>,                                                                                                                                                                                                                      
    shutdown = <function 29>,                                                                                                                                                                                                                  
    start = <function 30>,                                                                                                                                                                                                                     
    stderr_result = <function 31>,                                                                                                                                                                                                             
    sync = <function 32>,                                                                                                                                                                                                                      
    wait = <function 33>                                                                                                                                                                                                                       
  }                                                                                                                                                                                                                                            
}
stack traceback:                                                                                                                                                                                                                               
        ...ocal/share/nvim/plugged/plenary.nvim/lua/plenary/job.lua:405: in function '_execute'                                                                                                                                                
        ...ocal/share/nvim/plugged/plenary.nvim/lua/plenary/job.lua:448: in function 'start'                                                                                                                                                   
        ...l/share/nvim/plugged/sonicpi.nvim/lua/sonicpi/remote.lua:148: in function <...l/share/nvim/plugged/sonicpi.nvim/lua/sonicpi/remote.lua:107>                                                                                         
stack traceback:                                                                                                                                                                                                                               
        [C]: in function 'error'                                                                                                                                                                                                               
        ...ocal/share/nvim/plugged/plenary.nvim/lua/plenary/job.lua:405: in function '_execute'                                                                                                                                                
        ...ocal/share/nvim/plugged/plenary.nvim/lua/plenary/job.lua:448: in function 'start'                                                                                                                                                   
        ...l/share/nvim/plugged/sonicpi.nvim/lua/sonicpi/remote.lua:148: in function <...l/share/nvim/plugged/sonicpi.nvim/lua/sonicpi/remote.lua:107>
@Invertisment Invertisment changed the title Should the newest version of plenary be used? where can I find daemon.rb? Aug 31, 2022
@Invertisment
Copy link
Author

My sonic-pi installation doesn't have daemon.rb file. I don't know how to get it for arch.

@Invertisment
Copy link
Author

Invertisment commented Aug 31, 2022

I've managed to start sonic-pi using their GUI and then interact with it via sonic_pi tool.
Could you mention that this requires Sonic Pi LSP server or something like that? It would've saved me some time to know that I can't have it on Arch Linux.

It's also possible that somehow my Sonic Pi version is old. But I have v3.3.1, at least it shows that in UI when I managed to start it eventually.

@Invertisment Invertisment reopened this Aug 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant