Deoplete.nvim: error caught in async handler deoplete_auto_completion_begin

Created on 17 Jun 2016  路  9Comments  路  Source: Shougo/deoplete.nvim

Problems summary

After I updated the latest version of the of deoplete, it stopped working (only throws errors when I enable). I updated the neovim version (HEAD) but still is throwing an error

Environment Information

  • OS: Mac OSX 10.11.5 (15F34)
  • Neovim version - NVIM v0.1.5-471-g51fe40a
NVIM v0.1.5-471-g51fe40a
Build type: Dev
Compilation: /usr/local/Library/ENV/4.3/clang -Wconversion -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -O2 -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -DHAVE_CONFIG_H -I/tmp/neovim-20160617-93202-9z6bky/build/config -I/tmp/neovim-20160617-93202-9z6bky/src -I/tmp/neovim-20160617-93202-9z6bky/deps-build/usr/include -I/tmp/neovim-20160617-93202-9z6bky/deps-build/usr/include -I/tmp/neovim-20160617-93202-9z6bky/deps-build/usr/include -I/tmp/neovim-20160617-93202-9z6bky/deps-build/usr/include -I/tmp/neovim-20160617-93202-9z6bky/deps-build/usr/include -I/tmp/neovim-20160617-93202-9z6bky/deps-build/usr/include -I/usr/local/opt/gettext/include -I/usr/include -I/usr/include -I/tmp/neovim-20160617-93202-9z6bky/build/src/nvim/auto -I/tmp/neovim-20160617-93202-9z6bky/build/include
Compiled by lfetzner@LT4675

Optional features included (+) or not (-): +acl   +iconv    +jemalloc +tui
For differences from Vim, see :help vim-differences

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/local/Cellar/neovim/HEAD/share/nvim
  • :CheckHealth result:
Checking: Python 2
  Executable: /usr/local/bin/python
  Python Version: 2.7.11
  python-neovim Version: 0.1.7 (latest: 0.1.9)
  Messages:
    * Using: g:python_host_prog = "/usr/local/bin/python"

Checking: Python 3
  Executable: /usr/local/bin/python3
  Python Version: 3.5.1
  python3-neovim Version: 0.1.7 (latest: 0.1.9)
  Messages:
    * Using: g:python3_host_prog = "/usr/local/bin/python3"

Checking: Remote Plugins
  Status: Out of date
  Messages:
    * "deoplete.nvim" is not registered.
    * Run :UpdateRemotePlugins

Provide a minimal init.vim with less than 50 lines (Required!)

" Your minimal init.vim
set nocompatible              " be iMproved, required
filetype off                  " required

" Load vim-plug
if empty(glob("~/.vim/autoload/plug.vim"))
    execute '!mkdir ~/.vim/autoload/'
    execute '!curl -fLo ~/.vim/autoload/plug.vim https://raw.github.com/junegunn/vim-plug/master/plug.vim'
endif

if has('nvim')
    let $NVIM_TUI_ENABLE_TRUE_COLOR=1
    let $NVIM_TUI_ENABLE_CURSOR_SHAPE=1
    let g:python_host_prog='/usr/local/bin/python'
    let g:python3_host_prog = '/usr/local/bin/python3'
endif

call plug#begin('~/.vim/plugged')

" start plugin definition
function! DoRemote(arg)
    UpdateRemotePlugins
endfunction
Plug 'Shougo/deoplete.nvim', { 'do': function('DoRemote') }

" All of your Plugins must be added before the following line
call plug#end()

filetype plugin indent on    " required
"
" deoplete
let g:deoplete#enable_at_startup = 1

The reproduce ways from neovim starting (Required!)

  1. Try to edit the file

    Screen shot (if possible)

screen shot 2016-06-17 at 02 28 28

Upload the log file

log_61969.txt

Most helpful comment

@Fetz Oh, just in case, you install neovim using brew, so I thought also installed Python in brew.
Recommend of update python-client command are
pip3 --no-cache-dir install -U git+https://github.com/neovim/python-client.git

That's use pip3(not python2) and ignore pip cache, also fetch the git HEAD.

All 9 comments

@Fetz Hi,
It seems your python-client not latest version. Could you update latest and retry?
If you still occur error, Please repost error log.

Edit: FYI, My environment is almost the same as you

@Fetz Oh, just in case, you install neovim using brew, so I thought also installed Python in brew.
Recommend of update python-client command are
pip3 --no-cache-dir install -U git+https://github.com/neovim/python-client.git

That's use pip3(not python2) and ignore pip cache, also fetch the git HEAD.

Ran into this issue too, @Fetz.

@zchee -- your tip worked. Thanks!

@sdemura Yeah 馃帀

thank you @zchee is working for me too, after updating python-client!

I'm still getting this error after updating the python-client. Anything else I should try?

I don't know the problem.
You should create new issue.

@Shougo I was able to fix my problem by uninstalling and reinstalling deoplete.

OK

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pr4th4m picture pr4th4m  路  4Comments

iscekic picture iscekic  路  6Comments

letharion picture letharion  路  5Comments

tomspeak picture tomspeak  路  5Comments

firedev picture firedev  路  4Comments