c0r73x / neotags.nvim

Tag highlight in neovim
MIT License
122 stars 9 forks source link

Error on startup #20

Closed bitterjug closed 6 years ago

bitterjug commented 6 years ago

When I install I get the following on startup:

Error detected while processing VimEnter Auto commands for "*":
E117: Unknown function: NeotagsInit
Press ENTER or type command to continue

And this when I try and run :NeotagsToggle

E117: Unknown function: NeotagsToggle

Python deps loaded and puthon3 available in neovim.

$ pip3 list | grep neovim
neovim (0.2.0)
$ pip3 list | grep psutil
psutil (5.4.3)
:version
NVIM v0.2.0
Build type: RelWithDebInfo
Compilation: /usr/bin/x86_64-linux-gnu-gcc -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DDISABLE_LOG -Wdate-time -D_FORTIFY_SOURCE=2
 -Wconversion -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -O2 -g -DDISABLE_LOG -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wvla -fstack-protector-strong -fdiagnost
ics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -I/build/neovim-LpFVCC/neovim-0.2.0/build/config -I/build/neovim-LpFVCC/neovim-0.2.0/src -I/usr/include -I/usr/include -I/usr/inc
lude -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/build/neovim-LpFVCC/neovim-0.2.0/build/src/nvim/auto -I/build/neovim-LpFVCC/neovim-0.2.0/build/include
Compiled by pkg-vim-maintainers@lists.alioth.debian.org

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/share/nvim"
c0r73x commented 6 years ago

Did you run :UpdateRemotePlugins ?

trentjones21 commented 6 years ago

@c0r73x Had the same error. Running :UpdateRemotePlugins fixed it for me

bitterjug commented 6 years ago

I didn't even know :UpdateRemotePlugins was a thing!! Tried it today:

function remote#host#UpdateRemotePlugins[6]..<SNR>152_RegistrationCommands[15]..remote#host#Require[10]..provider#pythonx#Require, line 15
Vim(if):E475: Invalid argument: Channel id must be a positive integer
function remote#host#UpdateRemotePlugins[6]..<SNR>152_RegistrationCommands[15]..remote#host#Require[10]..provider#pythonx#Require, line 27
Failed to load python3 host. You can try to see what happened by starting nvim with $NVIM_PYTHON_LOG_FILE set and opening the generated log file. Also, the host stderr is available in messages.
remote/host: generated rplugin manifest: /home/skipperm/.local/share/nvim/rplugin.vim

Tried

NVIM_PYTHON_LOG_FILE=/tmp/log nvim

but /tmp/log doesn't exist.

Uh, wait! This is my work machine and itsays 0 to :echo has("python3"). :(

c0r73x commented 6 years ago

Humm it's strange that pip3 says that you have the neovim package. Not sure how I can help you other than this https://github.com/neovim/neovim/wiki/Installing-Neovim where they explain how to get python2/3 support in neovim.