deoplete-solargraph icon indicating copy to clipboard operation
deoplete-solargraph copied to clipboard

Error from solargraph: FileNotFoundError

Open jeromg opened this issue 7 years ago • 0 comments

Hi there,

I'm having trouble setting up solargraph using neovim 0.3.1 on Windows 10.

Here is my checkhealth result:

health#deoplete#check
========================================================================
## deoplete.nvim
  - OK: exists("v:t_list") was successful
  - OK: has("timers") was successful
  - OK: has("python3") was successful
  - INFO: If you're still having problems, try the following commands:
    $ export NVIM_PYTHON_LOG_FILE=/tmp/log
    $ export NVIM_PYTHON_LOG_LEVEL=DEBUG
    $ nvim
    $ cat /tmp/log_{PID}
    and then create an issue on github

health#nvim#check
=======================================================================
## Configuration
  - OK: no issues found

## Performance
  - OK: Build type: RelWithDebInfo

## Remote Plugins
  - OK: Up to date

health#provider#check
=======================================================================
## Clipboard (optional)
  - OK: Clipboard tool found: win32yank

## Python 2 provider (optional)
  - INFO: Using: g:python_host_prog = "c:\python27\python.exe"
  - INFO: Executable: c:\python27\python.exe
  - INFO: Python2 version: 2.7.14
  - INFO: python.exe-neovim version: 0.2.6
  - OK: Latest python.exe-neovim is installed: 0.2.6

## Python 3 provider (optional)
  - INFO: Using: g:python3_host_prog = "c:\python37\python.exe"
  - INFO: Executable: c:\python37\python.exe
  - INFO: Python3 version: 3.7.0
  - INFO: python.exe-neovim version: 0.2.6
  - OK: Latest python.exe-neovim is installed: 0.2.6

## Ruby provider (optional)
  - INFO: Ruby: ruby 2.5.1p57 (2018-03-29 revision 63029) [x64-mingw32]
  - INFO: Host: c:\tools\ruby25\bin\neovim-ruby-host.bat
  - OK: Latest "neovim" gem is installed: 0.7.1

## Node.js provider (optional)
  - INFO: Node.js: v10.9.0
  - INFO: Neovim node.js host: C:\Users\jerom\AppData\Roaming\npm\node_modules/neovim/bin/cli.js
  - OK: Latest "neovim" npm/yarn package is installed: 4.2.1

Here is the error stack:

File "C:/Users/user/Documents/Personal/Sync/vimfiles/plugged/deoplete.nvim/rplugin/python3\deoplete\child.py", line 220, in _gather_results  
  ctx['candidates'] = source.gather_candidates(ctx)  
File "C:\Users\user\Documents\Personal\Sync\vimfiles\plugged\deoplete-solargraph\rplugin\python3\deoplete\source\solargraph.py", line 70, in gather_candidates  
  if not self.start_server():  
File "C:\Users\user\Documents\Personal\Sync\vimfiles\plugged\deoplete-solargraph\rplugin\python3\deoplete\source\solargraph.py", line 56, in start_server  
  self.server = solar.Server()  
File "C:\Users\user\AppData\Roaming\Python\Python37\site-packages\solargraph_utils\core.py", line 19, in __init__  
  self.start()  
File "C:\Users\user\AppData\Roaming\Python\Python37\site-packages\solargraph_utils\core.py", line 33, in start  
  stderr=subprocess.STDOUT,  
File "c:\python37\lib\subprocess.py", line 756, in __init__  
  restore_signals, start_new_session)  
File "c:\python37\lib\subprocess.py", line 1155, in _execute_child  
  startupinfo)  
FileNotFoundError: [WinError 2] The system cannot find the file specified  
Error from solargraph: FileNotFoundError(2, 'The system cannot find the file specified', None, 2, None).  Use :messages / see above for error details.  

I have this error every time deoplete triggers, I've reinstalled everything from scratch to no avail.

Deoplete itself works fine with other sources like deoplete-jedi (for python).

Any idea / suggestion warmly welcome.

Cheers,

Jerome

jeromg avatar Sep 08 '18 14:09 jeromg