You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I try to use deoplete-jedi in a python project with or without a virtualenv activated I get the following error:
[deoplete] Error when loading source jedi: Failed to start server (/home/arjen/Projects/snippets/.venv/bin/python -u /home/arjen/.config/nvim/bundle/jedi/rplugin/python3/deoplete/sources/deoplete_jedi/server.py --desc-length 0 --debug --
debug-level 10): Server exited with b'Traceback (most recent call last):\n File "/home/arjen/.config/nvim/bundle/jedi/rplugin/python3/deoplete/sources/deoplete_jedi/server.py", line 565, in \n s = Server(args.desc_length, args
.short_types, args.docstrings)\n File "/home/arjen/.config/nvim/bundle/jedi/rplugin/python3/deoplete/sources/deoplete_jedi/server.py", line 149, in init\n from jedi import settings\nImportError: No module named jedi\n': error: 1.
Ignoring.
If I install deoplete-jedi in the projects virtualenv it works as expected
Expected
It works without installing it to the projects virtualenv
Provide a minimal init.vim with less than 50 lines (required)
" Pathogen - Allows us to organize our vim plugins" Load pathogen with docs for all pluginsfiletypeoff" call pathogen#incubate()callpathogen#infect('bundle/{}')
callpathogen#helptags()
" pathogen#incubate() to pathogen#infect('bundle/{}')" Basic Settings {{{syntaxon" syntax highlightingfiletypeon" try to detect filetypes" So neovim will work in a VirtualEnvletg:python_host_prog='/home/arjen/config/dotfiles/_neovim/ENV2/bin/python'letg:python3_host_prog='/home/arjen/config/dotfiles/_neovim/ENV/bin/python'setruntimepath+=~/config/dotfiles/_neovim/bundle/deoplete/setruntimepath+=~/config/dotfiles/_neovim/bundle/deoplete-jedi/calldeoplete#custom#set('jedi', 'debug_enabled', 1)
calldeoplete#enable_logging('DEBUG', '/tmp/deoplete.log')
letg:deoplete#enable_at_startup =1
Generate logfiles if appropriate
export NVIM_PYTHON_LOG_FILE=/tmp/nvim-log
export NVIM_PYTHON_LOG_LEVEL=DEBUG
nvim -u minimal.vimrc
Then look at and attach the files /tmp/nvim-log_{PID} and /tmp/deoplete.log here.
Steps to reproduce the issue after starting Neovim (required)
Problem summary
If I try to use deoplete-jedi in a python project with or without a virtualenv activated I get the following error:
[deoplete] Error when loading source jedi: Failed to start server (/home/arjen/Projects/snippets/.venv/bin/python -u /home/arjen/.config/nvim/bundle/jedi/rplugin/python3/deoplete/sources/deoplete_jedi/server.py --desc-length 0 --debug --
debug-level 10): Server exited with b'Traceback (most recent call last):\n File "/home/arjen/.config/nvim/bundle/jedi/rplugin/python3/deoplete/sources/deoplete_jedi/server.py", line 565, in \n s = Server(args.desc_length, args
.short_types, args.docstrings)\n File "/home/arjen/.config/nvim/bundle/jedi/rplugin/python3/deoplete/sources/deoplete_jedi/server.py", line 149, in init\n from jedi import settings\nImportError: No module named jedi\n': error: 1.
Ignoring.
If I install deoplete-jedi in the projects virtualenv it works as expected
Expected
It works without installing it to the projects virtualenv
Environment Information
NVIM v0.2.0-598-g0e44916
Build type: RelWithDebInfo
Compilation: /usr/lib64/ccache/cc -Wconversion -O2 -g -DDISABLE_LOG -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -DHAVE_CONFIG_H -D_GNU_SOURCE -I/home/arjen/Programms/neovim/build/config -I/home/arjen/Programms/neovim/src -I/home/arjen/Programms/neovim/.deps/usr/include -I/home/arjen/Programms/neovim/.deps/usr/include -I/home/arjen/Programms/neovim/.deps/usr/include -I/home/arjen/Programms/neovim/.deps/usr/include -I/home/arjen/Programms/neovim/.deps/usr/include -I/home/arjen/Programms/neovim/.deps/usr/include -I/usr/include -I/home/arjen/Programms/neovim/build/src/nvim/auto -I/home/arjen/Programms/neovim/build/include
Compiled by arjen@devmob.laptop
Provide a minimal init.vim with less than 50 lines (required)
Generate logfiles if appropriate
Then look at and attach the files
/tmp/nvim-log_{PID}
and/tmp/deoplete.log
here.Steps to reproduce the issue after starting Neovim (required)
checkhealth.txt
deoplete.txt
nvim-log_py2_script.txt
nvim-log_py3_rplugin.txt
The text was updated successfully, but these errors were encountered: