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

solargraph_utils.helpers.ServerError: Failed to start server: #67

Closed
ik5 opened this Issue Jul 4, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@ik5

ik5 commented Jul 4, 2018

using Fedora 28, ruby 2.5, pythong 3.6, solargraph 0.23.0, solargraph-utils.py v1.1.0 with neovim v0.3.0 with the latest version of this solargraph, and latest deoplete.

When entering insert mode, I get the following error message:

[deoplete] Traceback (most recent call last):                                                                                                                                                                      
  File "/home/ik/.config/nvim/plugged/deoplete-solargraph/rplugin/python3/deoplete/source/solargraph.py", line 56, in start_server                                                                                 
    self.server = solar.Server()                                                                                                                                                                                   
  File "/home/ik/.local/lib/python3.6/site-packages/solargraph_utils/core.py", line 19, in __init__                                                                                                                
    self.start()                                                                                                                                                                                                   
  File "/home/ik/.local/lib/python3.6/site-packages/solargraph_utils/core.py", line 42, in start                                                                                                                   
    raise ServerError('Failed to start server' + (output and ':\n' + output))                                                                                                                                      
solargraph_utils.helpers.ServerError: Failed to start server:                                                                                                                                                      
Could not find command "server".                                                                                                                                                                                   
Failed to start server:                                                                                                                                                                                            
Could not find command "server".                                                                                                                                                                                   
.  Use :messages / see above for error details.                                                                                                                                                                    
[deoplete] Traceback (most recent call last):                                                                                                                                                                      
  File "/home/ik/.config/nvim/plugged/deoplete-solargraph/rplugin/python3/deoplete/source/solargraph.py", line 56, in start_server                                                                                 
    self.server = solar.Server()                                                                                                                                                                                   
  File "/home/ik/.local/lib/python3.6/site-packages/solargraph_utils/core.py", line 19, in __init__                                                                                                                
    self.start()                                                                                                                                                                                                   
  File "/home/ik/.local/lib/python3.6/site-packages/solargraph_utils/core.py", line 42, in start                                                                                                                   
    raise ServerError('Failed to start server' + (output and ':\n' + output))                                                                                                                                      
solargraph_utils.helpers.ServerError: Failed to start server:                                                                                                                                                      
Could not find command "server".                                                                                                                                                                                   
Failed to start server:                                                                                                                                                                                            
Could not find command "server".                                                                                                                                                                                   
.  Use :messages / see above for error details.                                                                                                                                                                                                                                                                                                            
[deoplete] Traceback (most recent call last):                                                                                                                                                                      
  File "/home/ik/.config/nvim/plugged/deoplete-solargraph/rplugin/python3/deoplete/source/solargraph.py", line 56, in start_server                                                                                 
    self.server = solar.Server()                                                                                                                                                                                   
  File "/home/ik/.local/lib/python3.6/site-packages/solargraph_utils/core.py", line 19, in __init__                                                                                                                
    self.start()                                                                                                                                                                                                   
  File "/home/ik/.local/lib/python3.6/site-packages/solargraph_utils/core.py", line 42, in start                                                                                                                   
    raise ServerError('Failed to start server' + (output and ':\n' + output))                                                                                                                                      
solargraph_utils.helpers.ServerError: Failed to start server:                                                                                                                                                      
Could not find command "server".                                                                                                                                                                                   
Failed to start server:                                                                                                                                                                                            
Could not find command "server".                                                                                                                                                                                   
.  Use :messages / see above for error details. 
@castwide

This comment has been minimized.

Show comment
Hide comment
@castwide

castwide Jul 4, 2018

Owner

The deoplete-solargraph plugin uses the legacy web API, which has been deprecated in favor of the language server protocol. More information: uplus/deoplete-solargraph#10

In the absence of a more current plugin, deoplete-solargraph should still work with solargraph gem 0.17.4.

Owner

castwide commented Jul 4, 2018

The deoplete-solargraph plugin uses the legacy web API, which has been deprecated in favor of the language server protocol. More information: uplus/deoplete-solargraph#10

In the absence of a more current plugin, deoplete-solargraph should still work with solargraph gem 0.17.4.

@ik5

This comment has been minimized.

Show comment
Hide comment
@ik5

ik5 Jul 4, 2018

thank you

ik5 commented Jul 4, 2018

thank you

@ik5 ik5 closed this Jul 5, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment