Warning: I will close the issue without the minimal init.vim and the reproduction instructions.
Problems summary
The error message shows when I typing a variable:
[deoplete] Traceback (most recent call last):
File "/Users/eddiehsu/.vim/plugged/deoplete.nvim/rplugin/python3/deoplete/child.py", line 203, in _gather_results
result = self._get_result(context, source)
File "/Users/eddiehsu/.vim/plugged/deoplete.nvim/rplugin/python3/deoplete/child.py", line 267, in _get_result
ctx['candidates'] = source.gather_candidates(ctx)
File "/Users/eddiehsu/.vim/plugged/deoplete-jedi/rplugin/python3/deoplete/sources/deoplete_jedi/profiler.py", line 37, in wrapper
return func(self, *args, **kwargs)
File "/Users/eddiehsu/.vim/plugged/deoplete-jedi/rplugin/python3/deoplete/sources/deoplete_jedi.py", line 202, in gather_candidates
completions = self.get_completions(script, line, col)
File "/Users/eddiehsu/.vim/plugged/deoplete-jedi/rplugin/python3/deoplete/sources/deoplete_jedi/profiler.py", line 37, in wrapper
return func(self, *args, **kwargs)
File "/Users/eddiehsu/.vim/plugged/deoplete-jedi/rplugin/python3/deoplete/sources/deoplete_jedi.py", line 148, in get_completions
return script.complete(line, col)
File "/Users/eddiehsu/.pyenv/versions/3.8.13/lib/python3.8/site-packages/jedi/api/helpers.py", line 484, in wrapper
raise ValueError('`column` parameter (%d) is not in a valid range '
ValueError: `column` parameter (8) is not in a valid range (0-0) for line 421 ('\n').
Error from jedi: `column` parameter (8) is not in a valid range (0-0) for line 421 ('\n'). Use :messages / see above for error details.
Expected
No error.
Environment Information
deoplete version (SHA1):
6.2
I don't know how to get SHA1, the version 6.2 is from :help deoplete-options, I can provide it if you can tell me how to get it.
OS:
macOS Monterey 12.5.1(21G83)
neovim/Vim :version output:
v0.7.0
:checkhealth or :CheckHealth result(neovim only):
coc: health#coc#check
========================================================================
- OK: nvim version satisfied
- OK: Environment check passed
- OK: Javascript bundle build/index.js found
- OK: Service started
deoplete: 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:
WARNING: $VIRTUAL_ENV is set to: /Users/eddiehsu/.pyenv/versions/3.8.13/envs/BotFat-GCR-Async_venv
And its /bin directory contains: python, python3, python3.8
But $PATH yields this python executable: /Users/eddiehsu/.pyenv/versions/BotFat-GCR-Async_venv/bin/python
And $PATH in subshells yields this python executable: /Users/eddiehsu/.pyenv/versions/BotFat-GCR-Async_venv/bin/python
And $PATH yields this python3 executable: /Users/eddiehsu/.pyenv/versions/BotFat-GCR-Async_venv/bin/python3
And $PATH in subshells yields this python3 executable: /Users/eddiehsu/.pyenv/versions/BotFat-GCR-Async_venv/bin/python3
And $PATH yields this python3.8 executable: /Users/eddiehsu/.pyenv/versions/BotFat-GCR-Async_venv/bin/python3.8
And $PATH in subshells yields this python3.8 executable: /Users/eddiehsu/.pyenv/versions/BotFat-GCR-Async_venv/bin/python3.8
So invoking Python may lead to unexpected results.
ADVICE:
$PATH ambiguities arise if the virtualenv is not properly activated prior to launching Nvim. Close Nvim, activate the virtualenv, check that invoking Python from the command line launches the correct one, then relaunch Nvim.
$PATH ambiguities in subshells typically are caused by your shell config overriding the $PATH previously set by the virtualenv. Either prevent them from doing so, or use this workaround: https://vi.stackexchange.com/a/34996
Warning: I will close the issue without the minimal init.vim and the reproduction instructions.
Problems summary
The error message shows when I typing a variable:
Expected
No error.
Environment Information
deoplete version (SHA1):
6.2 I don't know how to get SHA1, the version 6.2 is from
:help deoplete-options
, I can provide it if you can tell me how to get it.OS: macOS Monterey 12.5.1(21G83)
neovim/Vim
:version
output: v0.7.0:checkhealth
or:CheckHealth
result(neovim only):deoplete: health#deoplete#check
deoplete.nvim
jedi: health#jedi#check
jedi
nvim: health#nvim#check
Configuration
Performance
Remote Plugins
terminal
provider: health#provider#check
Clipboard (optional)
Python 3 provider (optional)
Python virtualenv
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.let g:loaded_ruby_provider = 0
to your init.vimNode.js provider (optional)
let g:loaded_node_provider = 0
to your init.vimPerl provider (optional)
let g:loaded_perl_provider = 0
to your init.vimtargets: health#targets#check
vim.lsp: require("vim.lsp.health").check()
vim.treesitter: require("vim.treesitter.health").check()
Provide a minimal init.vim/vimrc with less than 50 lines (Required!)
How to reproduce the problem from neovim/Vim startup (Required!)
Screenshot (if possible)
The screenshot pictures are in the reproduce-section
Upload the log file
The error is at around line 4368.
log_py3_rplugin.log