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

NeoVim can't start server #416

Closed
Ja-rek opened this issue Oct 3, 2018 · 2 comments
Closed

NeoVim can't start server #416

Ja-rek opened this issue Oct 3, 2018 · 2 comments

Comments

@Ja-rek
Copy link

Ja-rek commented Oct 3, 2018

The problem:

Error detected while processing function OmniSharp#TypeLookupWithoutDocumentation[1]..OmniSharp#TypeLookup:                                            
line   12:
E121: Undefined variable: type
Press ENTER or type command to continue
Error detected while processing function OmniSharp#TypeLookupWithoutDocumentation[1]..OmniSharp#TypeLookup:
line   12:                                                                                                 
E116: Invalid arguments for function OmniSharp#Echo
Press ENTER or type command to continue  

Configuration:

 ~/.omnisharp/omnisharp-roslyn  

 ./run -s /home/jk/CSharpProjects/CSharpProjects.sln

info: OmniSharp.Http.Startup[0]
      Starting OmniSharp on arch 0.0 (x64)
info: OmniSharp.Cake.CakeProjectSystem[0]
      Detecting Cake files in '/home/jk/CSharpProjects'.
info: OmniSharp.Cake.CakeProjectSystem[0]
      Could not find any Cake files
info: OmniSharp.Http.Startup[0]
      Project system 'OmniSharp.DotNet.DotNetProjectSystem' is disabled in the configuration.
info: OmniSharp.MSBuild.ProjectSystem[0]
      Detecting projects in '/home/jk/CSharpProjects/CSharpProjects.sln'.
info: OmniSharp.MSBuild.ProjectManager[0]
      Queue project update for '/home/jk/CSharpProjects/App/App.csproj'
info: OmniSharp.Script.ScriptProjectSystem[0]
      Detecting CSX files in '/home/jk/CSharpProjects'.
info: OmniSharp.Script.ScriptProjectSystem[0]
      Could not find any CSX files
info: OmniSharp.Http.Startup[0]
      Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpWorkspaceOptionsProvider
info: OmniSharp.Http.Startup[0]
      Configuration finished.
info: OmniSharp.Http.Startup[0]
      Omnisharp server running on port '2000' at location '/home/jk/CSharpProjects' on host -1.
info: OmniSharp.MSBuild.ProjectManager[0]
      Loading project: /home/jk/CSharpProjects/App/App.csproj
info: OmniSharp.MSBuild.ProjectManager[0]
      Successfully loaded project file '/home/jk/CSharpProjects/App/App.csproj'.
info: OmniSharp.MSBuild.ProjectManager[0]
      Adding project '/home/jk/CSharpProjects/App/App.csproj'
info: OmniSharp.MSBuild.ProjectManager[0]
      Update project: App
pacman -Ss libuv
extra/libuv 1.23.1-1 [installed]
    Multi-platform support library with a focus on asynchronous I/O
pacman -Ss mono | grep installed
extra/mono 5.14.0.177-1 [installed]
extra/mono-tools 4.2-1 [installed]
msbuild -v                                                                                                     
Microsoft (R) Build Engine version 15.1.8.0 ( Wed Sep  5 19:29:56 UTC 2018) for Mono
echo has('python3') || has('python')
returned 1
nvim -v        
NVIM v0.3.1
Build type: Release
LuaJIT 2.0.5
Compilation: /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wconversion -O2 -DNDEBUG -DMIN_LOG_LEVEL=3 -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fdiagnostics-color=auto -Wno-array-bounds -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -I/build/neovim/src/build/config -I/build/neovim/src/neovim-0.3.1/src -I/usr/include -I/build/neovim/src/build/src/nvim/auto -I/build/neovim/src/build/include
Compiled by builduser

Features: +acl +iconv +jemalloc +tui 
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/share/nvim"

Run :checkhealth for more info

Init.Vim Currently:

"Settings
"OmniSharp
filetype plugin on
let g:OmniSharp_timeout = 5

"let g:ale_linters = { 'cs': ['OmniSharp'] }
"set completeopt=longest,menuone
"let g:OmniSharp_want_snippet=1
" let g:OmniSharp_server_use_mono = 1
" let g:OmniSharp_server_path ='/home/jk/.omnisharp/omnisharp-roslyn/omnisharp/OmniSharp.exe'

I've got plugged only Omnisharp-vim.
I Tried reinstall few time Omnisharp with commend OmniSharp Install 'v1.32.1'

System: ArchLinux

What can be wrong?

@Ja-rek Ja-rek changed the title NeoVim Can't start Server NeoVim can't start server Oct 3, 2018
@nickspoons
Copy link
Member

Could you try adding this to your init.vim and post the output after starting:

let g:OmniSharp_proc_debug = 1

@Ja-rek
Copy link
Author

Ja-rek commented Oct 4, 2018

Thx you for the clue, I wasn't aware of problem with python package.

This resolved the problem.

pip uninstall nvim
pip install nvim

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

2 participants