Closed skt041959 closed 5 years ago
You could use the command ['/home/xxxx/.local/share/nvim/python_client/bin/python3', '-u', '/home/xxxx/.config/nvim/plugged/nvim-yarp/pythonx/yarp.py', '127.0.0.1:52508', 2, 'deoplete']
to start deoplete in another terminal manually to see whether there're more the error messages.
@roxma Sure, I have tried and it didn't report error.
@roxma My vim8 is configured to python2.7.6. Is it related ?
I'm using PYTHONPATH to let vim import neovim from a custom path. That will affect the Python3 client. This issue has been addressed. Thank you!
messages in vim
[deoplete] [yarp] [deoplete] job is dead. failed establishing channel for ['/home/xxxx/.local/share/nvim/python_client/bin/python3', '-u', '/home/xxxx/.config/nvim/plugged/nvim-yarp/pythonx/yarp.py', '127.0.0.1:52508', 2, 'deoplete'] [deoplete] function deoplete#enable[9]..deoplete#initialize[1]..deoplete#init#_initialize[10]..deoplete#init#_channel[20]..yarp#core#notify[1]..yarp#core#wait_channel, line 13 [deoplete] deoplete requires Python3 support("+python3"). 'function deoplete#enable[9]..deoplete#initialize[1]..deoplete#init#_initialize[10]..deoplete#init#_channel'
vim configure
VIM - Vi IMproved 8.1 (2018 May 18, compiled Jun 19 2018 04:05:25) Included patches: 1 Compiled by xxxx Huge version with GTK2 GUI. Features included (+) or not (-): +acl +farsi +mouse_sgr -tag_any_white +arabic +file_in_path -mouse_sysmouse -tcl +autocmd +find_in_path +mouse_urxvt +termguicolors -autoservername +float +mouse_xterm +terminal +balloon_eval +folding +multi_byte +terminfo +balloon_eval_term -footer +multi_lang +termresponse +browse +fork() -mzscheme +textobjects ++builtin_terms +gettext +netbeans_intg +timers +byte_offset -hangul_input +num64 +title +channel +iconv +packages +toolbar +cindent +insert_expand +path_extra +user_commands +clientserver +job -perl +vertsplit +clipboard +jumplist +persistent_undo +virtualedit +cmdline_compl +keymap +postscript +visual +cmdline_hist +lambda +printer +visualextra +cmdline_info +langmap +profile +viminfo +comments +libcall +python +vreplace +conceal +linebreak -python3 +wildignore +cryptv +lispindent +quickfix +wildmenu +cscope +listcmds +reltime +windows +cursorbind +localmap +rightleft +writebackup +cursorshape -lua -ruby +X11 +dialog_con_gui +menu +scrollbind -xfontset +diff +mksession +signs +xim +digraphs +modify_fname +smartindent +xpm +dnd +mouse +startuptime +xsmp_interact -ebcdic +mouseshape +statusline +xterm_clipboard +emacs_tags +mouse_dec -sun_workshop -xterm_save +eval -mouse_gpm +syntax +ex_extra -mouse_jsbterm +tag_binary +extra_search +mouse_netterm +tag_old_static system vimrc file: "$VIM/vimrc" user vimrc file: "$HOME/.vimrc" 2nd user vimrc file: "\~/.vim/vimrc" user exrc file: "$HOME/.exrc" system gvimrc file: "$VIM/gvimrc" user gvimrc file: "$HOME/.gvimrc" 2nd user gvimrc file: "\~/.vim/gvimrc" defaults file: "$VIMRUNTIME/defaults.vim" system menu file: "$VIMRUNTIME/menu.vim" fall-back for $VIM: "/grid/common/pkgs/vim/v8.1/share/vim" Compilation: gcc -std=gnu99 -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 Linking: gcc -std=gnu99 -L/usr/local/lib -Wl,--as-needed -o vim -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE -lm -ltinfo -lelf -lnsl -lselinux -lacl -lattr -L/grid/common/pkgs/python/v2.7.6/lib/python2.7/config -lpython2.7 -lpthread -ldl -lutil -lm -Xlinker -export-dynamic
nvim_log
2019-01-08 18:31:01,541 [INFO @ neovim_rpc_server.py:handle:84] 87323 - === socket opened === 2019-01-08 18:31:01,541 [INFO @ neovim_rpc_server.py:handle:103] 87323 - received: [1,"neovim_rpc_setup"]
2019-01-08 18:31:01,542 [INFO @ neovim_rpc_server.py:handle:120] 87323 - sending ["ex", "call neovim_rpc#_callback()"] 2019-01-08 18:31:01,554 [INFO @ neovim_rpc_server.py:process_pending_requests:359] 87323 - process_pending_requests