Deoplete.nvim: Errors with Python 3

Created on 19 Oct 2015  路  7Comments  路  Source: Shougo/deoplete.nvim

Getting some errors in the latest release.

Error detected while processing function deoplete#init#enable..remote#define#CommandBootstrap:
line    5:
Exception('no request handler registered for "/Users/mhartington/.nvim/bundle/deoplete.nvim/rplugin/python3/deoplete.py:command:DeopleteInitializePython"',)
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/site-packages/neovim/msgpack_rpc/session.py", line 177, in handler
    rv = self._request_cb(name, args)
  File "/usr/local/lib/python3.5/site-packages/neovim/api/common.py", line 237, in filter_request_cb
    walk(self._in, args, self, name, 'request'))
  File "/usr/local/lib/python3.5/site-packages/neovim/plugin/host.py", line 62, in _on_request
    raise Exception(msg)
Exception: no request handler registered for "/Users/mhartington/.nvim/bundle/deoplete.nvim/rplugin/python3/deoplete.py:command:DeopleteInitializePython"
Error detected while processing function deoplete#init#enable..remote#define#CommandBootstrap:
line    5:
Error detected while processing function <SNR>261_completion_begin:
line    1:
E121: Undefined variable: g:deoplete#_channel_id
Error detected while processing function <SNR>261_completion_begin:
line    1:
E116: Invalid arguments for function rpcnotify

What more information do you need from me

Most helpful comment

Just as an update, it seems that installing deoplete on a place that is not ~/.vim/plugged causes this error. This happened when I changed the plugins directory to ~/.config/nvim/plugged.

All 7 comments

Please read the documentation.

Q: deoplete does not work...

A: Please check followings.

  1. Please update neovim to latest version.

  2. Please update neovim python3 module to latest version.
>
    $ sudo pip3 install neovim --upgrade
<
  3. Please execute |:UpdateRemotePlugins| command manually.

  4. Please check if Python3 interface works.  You can check it by ":echo
  has('python3')" command.

https://github.com/neovim/neovim/wiki/Troubleshooting#python-support-isnt-working

I think your neovim python3 library and neovim binary are too old.

Updated both and still get the errors

Really?
Please upload the log file and your minimal .nvimrc.

What more information do you need from me

Why don't you read the CONTRIBUTION.md?

https://github.com/Shougo/deoplete.nvim/blob/master/CONTRIBUTING.md

Current master neovim-python is 0.0.38.
Please upload your neovim-python's version.

Hmmm, more digging, seems there's a conflict with another plugin. I can't replicate it with a minimal vimrc, so I'll close this for now and report back when I find out whats the conflict. Sorry for the noise!

OK.

Just as an update, it seems that installing deoplete on a place that is not ~/.vim/plugged causes this error. This happened when I changed the plugins directory to ~/.config/nvim/plugged.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tcstory picture tcstory  路  5Comments

ChristianChiarulli picture ChristianChiarulli  路  5Comments

letharion picture letharion  路  5Comments

lowski picture lowski  路  3Comments

tchia04 picture tchia04  路  3Comments