After updating deoplete to the latest version, i started getting the following error, when i go into insert mode and trigger the completion, from the tag source:
[deoplete] Traceback (most recent call last):
File "/home/pierre/.vim/plugged/deoplete.nvim/rplugin/python3/deoplete/child.py", line 203, in _gather_results
result = self._get_result(context, source)
File "/home/pierre/.vim/plugged/deoplete.nvim/rplugin/python3/deoplete/child.py", line 265, in _get_result
ctx['candidates'] = source.gather_candidates(ctx)
File "/home/pierre/.vim/plugged/deoplete-tag/rplugin/python3/deoplete/source/tag.py", line 27, in gather_candidates
case = context['smartcase'] or context['camelcase']
KeyError: 'smartcase'
Error from tag: 'smartcase' Use :messages / see above for error details.
Expected
No error message.
Environment Information
deoplete version (SHA1): ce318f573c2c304536ddc954b4afc894c4cb57b2
OS: Linux 5.12.8-artix1-1 #1 SMP PREEMPT Fri, 28 May 2021 22:51:03 +0000 x86_64 unknown unknown GNU/Linux
neovim/Vim :version output:
NVIM v0.4.4
Build type: Release
LuaJIT 2.0.5
Compilation: /usr/bin/cc -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -O2 -DNDEBUG -DMIN_LOG_LEVEL=3 -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=always -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.4.4/src -I/usr/include -I/build/neovim/src/build/src/nvim/auto -I/build/neovim/src/build/include
Compiled by builduser
Features: +acl +iconv +tui
See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/share/nvim"
Run :checkhealth for more info
:checkhealth or :CheckHealth result(neovim only):
health#deoplete#check
========================================================================
## deoplete.nvim
- OK: exists("v:t_list") was successful
- OK: has("timers") was successful
- OK: has("python3") was successful
- OK: Require Python 3.6.1+ was successful
- OK: Require msgpack 1.0.0+ 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
WARNING: No Python executable found that can import neovim. Using the first available executable for diagnostics.
ERROR: Python provider error:
ADVICE:
provider/pythonx: Could not load Python 2:
/usr/bin/python2 does not have the "neovim" module. :help |provider-python|
/usr/bin/python2.7 does not have the "neovim" module. :help |provider-python|
python2.6 not found in search path or not executable.
/usr/bin/python is Python 3.9 and cannot provide Python 2.
INFO: Executable: Not found
Python 3 provider (optional)
INFO: g:python3_host_prog is not set. Searching for python3 in the environment.
## How to reproduce the problem from neovim/Vim startup (Required!)
1. nvim
2. enter insert mode, type 2 characters
## Generate a logfile if appropriate
1. export NVIM_PYTHON_LOG_FILE=/tmp/log
2. export NVIM_PYTHON_LOG_LEVEL=DEBUG
3. nvim -u minimal.vimrc
4. some works
5. cat /tmp/log_{PID}
[log_py3_rplugin.txt](https://github.com/Shougo/deoplete.nvim/files/6568296/log_py3_rplugin.txt)
## Screenshot (if possible)
## Upload the log file
Problems summary
After updating deoplete to the latest version, i started getting the following error, when i go into insert mode and trigger the completion, from the tag source:
Expected
No error message.
Environment Information
deoplete version (SHA1): ce318f573c2c304536ddc954b4afc894c4cb57b2
OS: Linux 5.12.8-artix1-1 #1 SMP PREEMPT Fri, 28 May 2021 22:51:03 +0000 x86_64 unknown unknown GNU/Linux
neovim/Vim
:version
output::checkhealth
or:CheckHealth
result(neovim only):health#nvim#check
Configuration
Performance
Remote Plugins
terminal
health#provider#check
Clipboard (optional)
Python 2 provider (optional)
import neovim
. Using the first available executable for diagnostics.Python 3 provider (optional)
g:python3_host_prog
is not set. Searching for python3 in the environment.Ruby provider (optional)
neovim-ruby-host
not found.gem install neovim
to ensure the neovim RubyGem is installed.gem environment
to ensure the gem bin directory is in $PATH.Node.js provider (optional)
call plug#begin('~/.vim/plugged') if has('nvim') Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' } else Plug 'Shougo/deoplete.nvim' Plug 'roxma/nvim-yarp' Plug 'roxma/vim-hug-neovim-rpc' endif Plug 'deoplete-plugins/deoplete-tag' call plug#end()
let g:deoplete#enable_at_startup = 1