Comments (20)
Could you follow the trouble shooting section in READNE.md and provide the log of cm_core?
from nvim-completion-manager.
I ran in my shell:
NVIM_PYTHON_LOG_FILE=nvim.log NVIM_NCM_LOG_LEVEL=DEBUG NVIM_NCM_MULTI_THREAD=0 nvim bla.py
But nothing was generated in my working directory. Did I forget a step?
from nvim-completion-manager.
If no log file is generated, you need to start NCM manually and see what's happening, You could still follow the steps in the trouble-shooting section.
from nvim-completion-manager.
Apologies for the probably simple questions - I'm relatively new to using vim. I was not able to start NCM manually. I ran
:echo neovim_rpc#serveraddr()
From within vim and the terminal and got this error
from nvim-completion-manager.
NVIM_PYTHON_LOG_FILE=nvim.log NVIM_NCM_LOG_LEVEL=DEBUG NVIM_NCM_MULTI_THREAD=0 nvim bla.py
It seems you're using neovim instead of vim8, in this case you need :echo v:servername
instead of :echo neovim_rpc#serveraddr()
If you are using vim8, then the error you provided should be the cause of this issue.
from nvim-completion-manager.
from nvim-completion-manager.
Looks like the vim-hug-neovim-rpc fails to execute both :python3 import neovim_rpc_server
and :python import neovim_rpc_server
. You could check that manually.
Also make sure the pythonx directory of vim-hug-neovim-rpc is in the installation directory.
from nvim-completion-manager.
It says there is "No module named neovim_rpc_server" when I ran the latter command. I double checked to ensure my vim version has python as well.
The pythonx directory is in .vim/bundle/vim-hug-neovim-rpc/; I installed the plugins with Vundle.
from nvim-completion-manager.
If vim failed to execute both :python3 import neovim_rpc_server
and :python import neovim_rpc_server
.
Use :echo globpath(&rtp,'pythonx/neovim_rpc_server.py',1)
to check the installation of vim-hug-neovim-rpc. If the result is empty, then vim-hug-neovim-rpc is somehow not properly installed. Something wrong with rtp maybe.
from nvim-completion-manager.
from nvim-completion-manager.
This is really wierd. Vim did successfully load the autoload function, but the python fails to search the pythonx directory.
:help pythonx
may give you some useful information.
from nvim-completion-manager.
Maybe there's some other error going on.
Remove NCM, leave vim-hug-neovim-rpc installed alone.
Then execute :python import neovim_rpc_server
and check the error message.
from nvim-completion-manager.
I get the same "No module named neovim_rpc_server" error with just vim-hug-neovim-rpc installed.
from nvim-completion-manager.
Also make sure vim can successfully execute :python import neovim
, this is a new dependency added in recent updates.
from nvim-completion-manager.
I think this is it, vim also reports "No module named neovim_rpc_server" when dependency is not satisfied.
from nvim-completion-manager.
I'll add some verbose information when this error uccor, thanks for your information.
from nvim-completion-manager.
from nvim-completion-manager.
Vim seems not to choose the python installed via homebrew,
this might be useful: http://vi.stackexchange.com/questions/6604/how-to-access-a-custom-python-module-inside-vim
from nvim-completion-manager.
I guess that execute pip install neovim
for your system wide python instead of the one installed via home-brew, would fix this error.
from nvim-completion-manager.
It works now! Thank you so much for your help.
from nvim-completion-manager.
Related Issues (20)
- Quick question: Using tab to expand whatever is selected in popup menu
- Add support for .tex // Doesn't work for snippets in .tex files HOT 3
- does not autocomplete with some tags
- [Question] Is there somewhere a list of sources defined? HOT 8
- COBOL support HOT 1
- UltiSnips in VISUAL
- Don't show autocompletion popup after navigation keystrokes HOT 20
- how to directly autocompletion when I typed <cr> HOT 1
- Support ‘smart’ filtering of autocomplete suggestons HOT 1
- Overwriting priority for a built-in completer HOT 2
- get “nvim-completion-manager core channel terminated.” everytime i edit a file in terminal env. HOT 7
- c key switches straight into insert mode HOT 3
- very high CPU rate HOT 3
- Disable a source when another is active HOT 2
- Completion not working anymore when using cquery
- Parameter expansion with ultisnips disables semantic clang completion
- How to customize python path for jedi complemention? HOT 1
- Completion shows part of the snippet HOT 1
- Word pattern for "Word from current buffer"
- Error in logger on startup HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nvim-completion-manager.