Warning: I will close the issue without the minimal init.vim and the reproduction instructions.
from :messages
Error detected while processing function deoplete#enable[1]..deoplete#initialize[1]..deoplete#init#_initialize[17]..deoplete#init#_variables:
line 12:
E117: Unknown function: neovim_rpc#serveraddr
Error detected while processing function deoplete#enable[1]..deoplete#initialize[1]..deoplete#init#_initialize[17]..deoplete#init#_variables:
line 12:
E15: Invalid expression: has('nvim') ? v:servername : neovim_rpc#serveraddr()
No error
_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺
| ~/.vim/bundle/deoplete.nvim @ work-mbp (abuser)
|03:37:55馃拃> git log -n1
commit d8da6ebf0630639ce1139d7614f6da437aa0a919 (HEAD -> master, origin/master, origin/HEAD)
Author: Shougo Matsushita <[email protected]>
Date: Wed Mar 21 17:44:30 2018 +0900
Fix #695 file.py initialization
_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺
| ~/.vim/bundle/deoplete.nvim @ work-mbp (abuser)
|03:03:40馃拃> uname -a
Darwin MAGREGOR-M-W0XX 16.7.0 Darwin Kernel Version 16.7.0: Tue Jan 30 11:27:06 PST 2018; root:xnu-3789.73.11~1/RELEASE_X86_64 x86_64
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Mar 25 2018 06:12:03)
macOS version
Included patches: 1-1633
Compiled by Homebrew
Huge version with MacVim GUI. Features included (+) or not (-):
+acl +farsi +mouse_netterm +tag_binary
+arabic +file_in_path +mouse_sgr +tag_old_static
+autocmd +find_in_path -mouse_sysmouse -tag_any_white
-autoservername +float +mouse_urxvt +tcl
+balloon_eval +folding +mouse_xterm +termguicolors
+balloon_eval_term -footer +multi_byte +terminal
+browse +fork() +multi_lang +terminfo
++builtin_terms +fullscreen -mzscheme +termresponse
+byte_offset -gettext +netbeans_intg +textobjects
+channel -hangul_input +num64 +timers
+cindent +iconv +odbeditor +title
+clientserver +insert_expand +packages +toolbar
+clipboard +job +path_extra +transparency
+cmdline_compl +jumplist +perl +user_commands
+cmdline_hist +keymap +persistent_undo +vertsplit
+cmdline_info +lambda +postscript +virtualedit
+comments +langmap +printer +visual
+conceal +libcall +profile +visualextra
+cryptv +linebreak -python +viminfo
+cscope +lispindent +python3 +vreplace
+cursorbind +listcmds +quickfix +wildignore
+cursorshape +localmap +reltime +wildmenu
+dialog_con_gui -lua +rightleft +windows
+diff +menu +ruby +writebackup
+digraphs +mksession +scrollbind -X11
+dnd +modify_fname +signs -xfontset
-ebcdic +mouse +smartindent +xim
+emacs_tags +mouseshape +startuptime -xpm
+eval +mouse_dec +statusline -xsmp
+ex_extra -mouse_gpm -sun_workshop -xterm_clipboard
+extra_search -mouse_jsbterm +syntax -xterm_save
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: "/Applications/MacVim.app/Contents/Resources/vim"
Compilation: clang -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MACVIM -Wall -Wno-unknown-pragmas -pipe -DMACOS_X -DMACOS_X_DARWIN -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: clang -L. -L/usr/local/lib -L. -L/usr/local/lib -L/usr/local/lib -o Vim -framework Cocoa -framework Carbon -lm -lncurses -liconv -framework AppKit -fstack-protector -L/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE -lperl -L/usr/local/opt/python/Frameworks/Python.framework/Versions/3.6/lib/python3.6/config-3.6m-darwin -lpython3.6m -framework CoreFoundation -F/System/Library/Frameworks -framework Tcl -framework CoreFoundation -framework Ruby
:checkhealth or :CheckHealth result(neovim only):" Your minimal init.vim/vimrc
set runtimepath+=~/path/to/deoplete.nvim/
let g:deoplete#enable_at_startup = 1
_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺
| ~/.vim/bundle/deoplete.nvim @ work-mbp (abuser)
|03:15:26馃拃> ls -alh ~/.deoplete_issue_minrc && cat ~/.deoplete_issue_minrc
-rw-r--r-- 1 magregor staff 114B Apr 12 15:13 /Users/magregor/.deoplete_issue_minrc
" Your minimal init.vim/vimrc
set runtimepath+=~/.vim/bundle/deoplete.nvim/
let g:deoplete#enable_at_startup = 1
md5-3b2afd4f81767c4e96b7d212288797ea
_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺
| ~/.vim/bundle/deoplete.nvim @ work-mbp (abuser)
|03:33:21馃拃> ll
total 40
drwxr-xr-x 12 magregor staff 408B Apr 12 15:15 .git/
drwxr-xr-x 3 magregor staff 102B Apr 7 13:10 .github/
-rw-r--r-- 1 magregor staff 54B Apr 7 13:10 .gitignore
-rw-r--r-- 1 magregor staff 406B Apr 7 13:10 .travis.yml
-rw-r--r-- 1 magregor staff 1.1K Apr 7 13:10 LICENSE
-rw-r--r-- 1 magregor staff 646B Apr 7 13:10 Makefile
-rw-r--r-- 1 magregor staff 5.4K Apr 7 13:10 README.md
drwxr-xr-x 5 magregor staff 170B Apr 7 13:10 autoload/
-rw-r--r-- 1 magregor staff 119B Apr 12 15:33 deoplete_issue_err.log
-rw-r--r-- 1 magregor staff 10K Apr 12 15:33 deoplete_issue_stdin.log
drwxr-xr-x 4 magregor staff 136B Apr 7 13:10 doc/
drwxr-xr-x 3 magregor staff 102B Apr 7 13:10 plugin/
drwxr-xr-x 3 magregor staff 102B Apr 7 13:10 rplugin/
drwxr-xr-x 5 magregor staff 170B Apr 7 13:10 test/
_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺
| ~/.vim/bundle/deoplete.nvim @ work-mbp (abuser)
|03:33:23馃拃> cat deoplete_issue_err.log
Vim: Warning: Output is not to a terminal
Starting the example Python Plugin
Press ENTER or type command to continue
_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺
| ~/.vim/bundle/deoplete.nvim @ work-mbp (abuser)
|03:33:31馃拃> cat deoplete_issue_stdin.log

and for vim...

it's like... 2 lines so... ^^
fyi, in the logging for the issue I forgot to pass -u to vim/macvim. It doesn't really change anything, but here it is just in case there are any questions:

vim -u /Users/magregor/.deoplete_issue_minrc > >(tee -a deoplete_issue_stdin.log) 2> >(tee -a deoplete_issue_err.log >&2)
_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺
| ~/.vim/bundle/deoplete.nvim @ work-mbp (abuser)
|03:39:14馃拃> vim -u /Users/magregor/.deoplete_issue_minrc > >(tee -a deoplete_issue_stdin.log) 2> >(tee -a deoplete_issue_err.lo
g >&2)
Vim: Warning: Output is not to a terminal
Error detected while processing /Users/magregor/.config/nvim/bundle/deoplete.nvim/autoload/deoplete/init.vim:
line 8:
E10: \ should be followed by /, ? or &
Press ENTER or type command to continue
_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺
| ~/.vim/bundle/deoplete.nvim @ work-mbp (abuser)
|03:41:40馃拃> echo 'vim -u /Users/magregor/.deoplete_issue_minrc > >(tee -a deoplete_issue_stdin.log) 2> >(tee -a deoplete_issue_
err.log >&2)' | pbcopy
_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺
| ~/.vim/bundle/deoplete.nvim @ work-mbp (abuser)
|03:41:54馃拃> ll *.log
-rw-r--r-- 1 magregor staff 484B Apr 12 15:41 deoplete_issue_err.log
-rw-r--r-- 1 magregor staff 36K Apr 12 15:41 deoplete_issue_stdin.log
_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺
| ~/.vim/bundle/deoplete.nvim @ work-mbp (abuser)
|03:42:00馃拃> cat *.log
Vim: Warning: Output is not to a terminal
Starting the example Python Plugin
Press ENTER or type command to continue
Vim: Warning: Output is not to a terminal
Starting the example Python Plugin
Press ENTER or type command to continue
Vim: Warning: Output is not to a terminal
Error detected while processing /Users/magregor/.config/nvim/bundle/deoplete.nvim/autoload/deoplete/init.vim:
line 8:
E10: \ should be followed by /, ? or &
Press ENTER or type command to continue
_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺
| ~/.vim/bundle/deoplete.nvim @ work-mbp (abuser)
|03:42:04馃拃>
Please read README.
Please install nvim-yarp and vim-hug-neovim-rpc for Vim8.
https://github.com/roxma/nvim-yarp
https://github.com/roxma/vim-hug-neovim-rpc
I already installed nvim-yarp and vim-hug-neovim-rpc and works fine until this week. After update vim and neovim to the latest build, this error showed up.
@whisper404 I don't reproduce the error.
Please create the new issue.
If not, I will ignore your issue.
@Shougo I installed them and got the exception/error twice, but while trying to reproduce a third time, I wasn't able to.
I inspected the code, and it seems you may be building/rebuilding cached resources? If so, that may be why it shows up at first if anything is missing but then goes away?
Yeah, that's a total guess and may be a shot into empty space, but I just don't have more time to spend trying to figure out why it was being weird right now since it started working again for me.
btw, my bundle path is split between neovim (which I think you also contribute to) and vim8. Dunno if that makes any difference at all.
@SkyLeach Why have you ignored "Provide a minimal init.vim/vimrc with less than 50 lines (Required!)"?
It is most of important information!
Yeah, that's a total guess and may be a shot into empty space, but I just don't have more time to spend trying to figure out why it was being weird right now since it started working again for me.
It must be tested in the latest version.
I don't understand, I included that information in the original issue:

At any rate, the problem was that I set up for neovim and then switched back to vim8, saw the need for the other two packages (nvim-yarp and vim-hug-neovim-rpc), installed them, and still had the issue. It did, however, go away later. That's why I guessed it was probably caching. I ran :UpdateRemotePlugins from neovim as well so that too may have affected the issue?
@Shougo Hi there, I found make distclean then rebuild vim will fix this error to me.
@SkyLeach
If so, you must add nvim-yarp and nvim-hug-neovim-rpc to runtimepath.
It is the Please install nvim-yarp and vim-hug-neovim-rpc for Vim8.
It did, however, go away later.
Why it is not included in your minimal vimrc?
I ran :UpdateRemotePlugins from neovim as well so that too may have affected the issue?
No. :UpdateRemotePlugins does not affect Vim8.
@Shougo it's not in the example init.vim because 1.) you provided it in the requirements for this issue. 2.) according to the vim-yarp and vim-hug-neovim-rpc requirements nothing else should be required:
Here's what happens when I follow all of these instructions precisely:


that's all that should be required according to the requirements:

but that final command neovim_rpc#serveraddr() still doesn't work:

Hello! I'm callmekohei (^_^)/
@SkyLeach
Please check your vimrc if you like (^_^)/
// set path
set runtimepath+=/path/to/deoplete.nvim
set runtimepath+=/path/to/nvim-yarp
set runtimepath+=/path/to/vim-hug-neovim-rpc
// setting of deoplete
let g:deoplete#enable_at_startup = 1
call deoplete#custom#option('deoplete-options-yarp', v:true)
// turn on plugins
set nocompatible
syntax enable
filetype plugin indent on
see also: https://qiita.com/callmekohei/items/b3c581524963eb4fe0fa
@callmekohei
As requested:
(SIM) _鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺
| ~/src/pudb.vim @ work-mbp (abuser)
|04:42:56馃拃> cat ~/.deoplete_issue_minrc
" vim: ts=2 sts=2 sw=2 et ft=vim
" Your minimal init.vim/vimrc
"// set path
set runtimepath+=~/.vim/bundle/deoplete.nvim
set runtimepath+=~/.vim/bundle/nvim-yarp
set runtimepath+=~/.vim/bundle/vim-hug-neovim-rpc
"// setting of deoplete
let g:deoplete#enable_at_startup = 1
call deoplete#custom#option('deoplete-options-yarp', v:true)
"// turn on plugins
set nocompatible
syntax enable
filetype plugin indent on
(SIM) _鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺
| ~/src/pudb.vim @ work-mbp (abuser)
|04:43:00馃拃> which vim
vim is aliased to `/usr/bin/env vim'
vim is /usr/local/bin/vim
vim is /usr/bin/vim
(SIM) _鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺
| ~/src/pudb.vim @ work-mbp (abuser)
|04:43:13馃拃> /usr/local/bin/vim -u /Users/magregor/.deoplete_issue_minrc /Users/magregor/.deoplete_issue_minrc
result:
(SIM) _鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺
| ~/src/pudb.vim @ work-mbp (abuser)
|04:43:13馃拃> /usr/local/bin/vim -u /Users/magregor/.deoplete_issue_minrc /Users/magregor/.deoplete_issue_minrc
Error detected while processing /Users/magregor/.deoplete_issue_minrc:
line 9:
E117: Unknown function: deoplete#custom#option
Press ENTER or type command to continue
screenshot:

@SkyLeach
Hello!
E117: unknown function: deoplete#custom#option
oh... it's interesting (^_^)/
hmm...
@SkyLeach
please do following
$ vim -N -u vimrc
I have updated the issue template.
@SkyLeach
Please do following
$ vim -N -u /Users/magregor/.deoplete_issue_minrc
However after doing this, running vim against the vimrc we were using before (~/.deoplete_issue_minrc) doesn't raise the error any longer.
So the problem is already fixed.
Yeah, I needed sleep badly. Here is what it says when started correctly:

and

@Shougo no, it's not fixed. I just had a typo last night. I'd been up for like 30-something hours and really needed sleep
@Shougo no, it's not fixed. I just had a typo last night. I'd been up for like 30-something hours and really needed sleep
Your deoplete is not the latest version.
Please update it to the latest.
Older deoplete does not have deoplete#custom#option().
@Shougo ok.
(SIM) _鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺
| ~/src/pudb.vim @ work-mbp (abuser)
|12:06:16馃拃> cwd=$(pwd); for deoplete in $( find /Users/magregor/.vim/bundle/ -mindepth 1 -maxdepth 1 -type d | grep deoplete ); do echo "updating $deoplete"; cd $deoplete; git pull; cd ..; done; cd "${cwd}"
updating /Users/magregor/.vim/bundle//deoplete-jedi
remote: Counting objects: 9, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 9 (delta 3), reused 8 (delta 3), pack-reused 0
Unpacking objects: 100% (9/9), done.
From https://github.com/zchee/deoplete-jedi
a4bec4b..eb777b5 master -> origin/master
Updating a4bec4b..eb777b5
Fast-forward
rplugin/python3/deoplete/sources/deoplete_jedi/server.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
updating /Users/magregor/.vim/bundle//deoplete.nvim
remote: Counting objects: 679, done.
remote: Compressing objects: 100% (211/211), done.
remote: Total 679 (delta 357), reused 627 (delta 324), pack-reused 0
Receiving objects: 100% (679/679), 94.92 KiB | 546.00 KiB/s, done.
Resolving deltas: 100% (357/357), completed with 23 local objects.
From https://github.com/Shougo/deoplete.nvim
d8da6eb..e645f82 master -> origin/master
* [new branch] processes -> origin/processes
Updating d8da6eb..e645f82
Fast-forward
.github/ISSUE_TEMPLATE.md | 6 +-
README.md | 4 +
autoload/deoplete/custom.vim | 72 ++++++-
autoload/deoplete/handler.vim | 127 +++++++-----
autoload/deoplete/init.vim | 238 ++++++++++++---------
autoload/deoplete/util.vim | 38 +---
doc/deoplete.txt | 601 ++++++++++++++++++++++++++----------------------------
rplugin/python3/deoplete/child.py | 62 +++---
rplugin/python3/deoplete/deoplete.py | 7 +-
rplugin/python3/deoplete/filter/converter_auto_delimiter.py | 3 +-
rplugin/python3/deoplete/parent.py | 15 +-
rplugin/python3/deoplete/process.py | 7 +-
rplugin/python3/deoplete/source/base.py | 15 +-
rplugin/python3/deoplete/source/buffer.py | 8 +-
rplugin/python3/deoplete/source/dictionary.py | 2 +-
rplugin/python3/deoplete/source/file.py | 11 +-
rplugin/python3/deoplete/source/member.py | 26 +--
rplugin/python3/deoplete/source/omni.py | 24 +--
rplugin/python3/deoplete/source/tag.py | 203 ++++++++++++------
rplugin/python3/deoplete/util.py | 35 +---
test/autoload/deoplete/custom.vim | 66 +++++-
test/rplugin/python3/deoplete/test_util.py | 13 ++
22 files changed, 902 insertions(+), 681 deletions(-)
(SIM) _鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺_鈽燺
| ~/src/pudb.vim @ work-mbp (abuser)
|12:07:27馃拃>
ok seemed to work ( no longer getting the issue )
Strange though, if you check the original issue I did an update and verification of the SHA location of head (see git log output).
That means these changes happened during the course of this discussion.
Hello! I'm callmekohei!
So, I think you are misunderstanding
Strange though, if you check the original issue I did an update and verification of the SHA location of head (see git log output).
That means these changes happened during the course of this discussion.
It seems of you to work on d8da6ebf0....
And you can do work well with deoplete because of updating d8da6eb..e645f82.
So I think that you can use deoplete with confidence (^_^)/
ref:
deoplete.nvim [master]$ gittree | grep -e 'd8da.*'
* d8da6eb Wed Mar 21 17:44:30 2018 +0900 Fix #695 file.py initialization
deoplete.nvim [master]$ gittree | head -n 1
* e645f82 Wed Apr 18 08:47:32 2018 +0900 Update ISSUE_TEMPLATE (HEAD -> master, origin/master, origin/HEAD)
Cool. Thanks guys, and great work!
If I wasn't absolutely swamped with projects I'd get involved.
Most helpful comment
Cool. Thanks guys, and great work!
If I wasn't absolutely swamped with projects I'd get involved.