Error in logger on startup
Closed this issue · 8 comments
nvim version
NVIM v0.3.0
Build type: Release
LuaJIT 2.0.5
Compilation: /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang -Wconversion -U_FORTIFY_SOURCE -D_FORTIFY_SO
URCE=1 -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DNDEBUG -DMIN_LOG_LEVEL=3 -Wall -Wextra -pedantic -Wno-
unused-parameter -Wstrict-prototypes -std=gnu99 -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fdiagnostics-
color=auto -DINCLUDE_GENERATED_DECLARATIONS -I/tmp/neovim-20180612-38590-ar7vl3/neovim-0.3.0/build/config -I/tmp/neo
vim-20180612-38590-ar7vl3/neovim-0.3.0/src -I/usr/local/include -I/usr/local/opt/gettext/include -I/usr/include -I/t
mp/neovim-20180612-38590-ar7vl3/neovim-0.3.0/build/src/nvim/auto -I/tmp/neovim-20180612-38590-ar7vl3/neovim-0.3.0/bu
ild/include
Compiled by brew@Sierra-2.local
Features: +acl +iconv +jemalloc +tui
See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/local/Cellar/neovim/0.3.0/share/nvim"
OS
macOS 10.12.6
Using the latest nvim-completion-manager code as of July 2nd, 2018, and any terminal, I get the following error on nvim startup:
Error detected while processing function <SNR>145_on_core_channel_error:
line 1:
Traceback (most recent call last):^@ File "/Users/delucac/.config/nvim/plugged/nvim-completion-manager/pythonx/cm_s
tart.py", line 10, in <module>^@ from cm import getLogger, start_and_run_channel^@ File "/Users/delucac/.config/
nvim/plugged/nvim-completion-manager/pythonx/cm.py", line 151^@ self.nvim.call('cm#complete', name, ctx, startcol
, matches, refresh, async=True)^@ ^^@Syn
taxError: invalid syntax^@
Press ENTER or type command to continue
Error detected while processing function <SNR>145_on_core_channel_error:
line 1:
Press ENTER or type command to continue
nvim-completion-manager core channel terminated.
Press ENTER or type command to continue
Completion fails to load.
Thanks!
It's probably python 3.7 related
change async=True
into async_=True
Ah ha, that does indeed get rid of most of the error, however the plugin does still fail to load. On startup I still get:
Error detected while processing function <SNR>145_on_core_channel_error:
line 1:
Press ENTER or type command to continue
nvim-completion-manager core channel terminated.
https://github.com/roxma/nvim-completion-manager/wiki/Trouble-shooting might help
By the way, this repo is not being maintained anymore, you know that, right?
Yeah I noticed that just now :(. Is ncm2 ready to completely replace repo?
Is ncm2 ready to completely replace repo?
Short answer, No. ncm2 doesn't support ncm sources.
Longer answer, it depends on what you need. There're sources available. You could read the README.md and see if it is enough or not.
gotcha, thanks! sorry for the noise in a deprecated repo. Going to close.
It's not noise. ncm's issue could still be helpful for me pushing improvements.