Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"no notification handler registered" error occurs if opens just one file and source is not specified #14

Closed
yacut opened this issue Jan 17, 2017 · 5 comments

Comments

@yacut
Copy link

yacut commented Jan 17, 2017

Steps to reproduce:

  • Change source in your config: let g:far#source = 'agnvim'
  • Go to a folder and open a file with nvim:
$ cd $HOME
$ nvim test
  • Search for something:
    :F test .

Expected behavior:
The commands above opens Far Search with "test" results

Actual behavior:
The commands above throws the error: "no notification handler registered for "/home/xxx/.vim/plugged/far.vim/rplugin/python3/far:function:_far_nvim_rpc_async_invoke""

Workaround:
:F test . --source=ag

@brooth
Copy link
Owner

brooth commented Jan 18, 2017

Isn't reproduced on my side (ubuntu 16.04, nvim 0.2.0-dev). Can you attach your OS, nvim versions?
Also, try to run this command (within neovim):

:UpdateRemotePlugins

If it doesn't help, then try to update nvim python client as well (within your shell):

pip3 install neovim --upgrade

@yacut
Copy link
Author

yacut commented Jan 18, 2017

I can unfortunately reproduce the issue on Mac OS (nvim 0.1.7) and Linux (also ubuntu 16.04, nvim 0.2.0-dev) machines:

$ uname -a
Darwin xxx 16.3.0 Darwin Kernel Version 16.3.0: Thu Nov 17 20:23:58 PST 2016; root:xnu-3789.31.2~1/RELEASE_X86_64 x86_64

All plugins and dependencies are up to date.

$ pip3 install neovim --upgrade
Requirement already up-to-date: neovim in ./Library/Python/3.6/lib/python/site-packages
Requirement already up-to-date: greenlet in /usr/local/lib/python3.6/site-packages (from neovim)
Requirement already up-to-date: msgpack-python>=0.4.0 in /usr/local/lib/python3.6/site-packages (from neovim)

Also remote plugins:

:UpgradeRemotePlugins
remote/host: python3 host registered plugins ['nvim-typescript', 'deoplete', 'far']
remote/host: generated rplugin manifest: /Users/xxx/.local/share/nvim/rplugin.vim

On Mac neovim installed via home brew:

:version
NVIM 0.1.7
Build type: RelWithDebInfo
Compilation: /usr/local/Homebrew/Library/Homebrew/shims/super/clang -Wconversion -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -O2 -g -DDISABLE_LOG -Wall -Wextra -pedantic -Wno-unused-pa
rameter -Wstrict-prototypes -std=gnu99 -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -DHAVE_CONFIG_H -I/tmp/neovim-20161214-85501-5qj5t
p/neovim-0.1.7/build/config -I/tmp/neovim-20161214-85501-5qj5tp/neovim-0.1.7/src -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/
include -I/usr/local/include -I/usr/local/opt/gettext/include -I/usr/include -I/usr/include -I/tmp/neovim-20161214-85501-5qj5tp/neovim-0.1.7/build/src/nvim/auto -I/tmp/neovim-201
61214-85501-5qj5tp/neovim-0.1.7/build/include

Optional features included (+) or not (-): +acl   +iconv    +jemalloc +tui
For differences from Vim, see :help vim-differences

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/local/Cellar/neovim/0.1.7/share/nvim"

I also noticed that if I open the NERDTree once then the following FAR commands will work without errors.

@turboladen
Copy link

FWIW, same issue here and I'm not using far.vim.

@megalithic
Copy link

any updates/fixes per chance? I'm experiencing this too (not using far.vim).

@brooth
Copy link
Owner

brooth commented May 26, 2018

Obviously it's not related to far.vim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants