tzachar / cmp-tabnine

TabNine plugin for hrsh7th/nvim-cmp
MIT License
287 stars 28 forks source link

Error when trying to enter insert mode #48

Closed Pilchh closed 2 years ago

Pilchh commented 2 years ago

When entering insert mode or using fzf, I get the following error:

Error executing vim.schedule lua callback: Vim:E475: Invalid value for argument cmd: '/home/pilchh/.local/share/nvim/site/pack/packer/opt/cmp-tabnine/binaries/4.4.10/x86_64-unknown-linux-musl/TabNine' is not executable
stack traceback:
        [C]: in function 'jobstart'
        ...e/pack/packer/opt/cmp-tabnine/lua/cmp_tabnine/source.lua:234: in function '_on_exit'
        ...e/pack/packer/opt/cmp-tabnine/lua/cmp_tabnine/source.lua:135: in function 'new'
        ...ite/pack/packer/opt/cmp-tabnine/lua/cmp_tabnine/init.lua:8: in function <...ite/pack/packer/opt/cmp-tabnine/lua/cmp_tabnine/init.lua:7>

I am using the same config I have used previously with no issues on a native arch build but I get this error when attempting to use it in WSL 2.

tzachar commented 2 years ago

Can you check if /home/pilchh/.local/share/nvim/site/pack/packer/opt/cmp-tabnine/binaries/4.4.10/x86_64-unknown-linux-musl/TabNine is executable?

Pilchh commented 2 years ago

I noticed that I had a TabNine.zip so I uncompressed it and added the executable flag and it works. Not quite sure why it didn't uncompress in the first place.

tzachar commented 2 years ago

weird.