neoclide / coc-tabnine

Tabnine integration of coc.nvim
467 stars 18 forks source link

can't use tabnine #11

Closed Zxrcoming closed 5 years ago

Zxrcoming commented 5 years ago

when I type tabnine.openConfig it shows:

[coc.nvim] error: Uncaught exception: Error: spawn /home/zxr/.config/coc/extensions/coc-tabnine-data/binaries/2.0.4/x86_64-unknown-linux-gnu/TabNi
ne EACCES
[coc.nvim] error:     at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19)
[coc.nvim] error:     at onErrorNT (internal/child_process.js:415:16)
[coc.nvim] error:     at process._tickCallback (internal/process/next_tick.js:63:19)
[coc.nvim] Command error: Cannot read property 'on' of undefined

and the size of the tabnin's binary is only 1.7MB. here is my cocinfo :

## versions

vim version: vim - vi improved 8.1 (2018 may 18, compiled jul 31 2019 10:22:31)
node version: v10.16.0
coc.nvim version: 0.0.73-baa3b1f169
term: dumb
platform: linux

## messages
messages maintainer: bram moolenaar <bram@vim.org>
"~/.vim/vimrc" 354l, 8389c
[coc.nvim] error: uncaught exception: error: spawn /home/zxr/.config/coc/extensions/coc-tabnine-data/binaries/2.0.4/x86_64-unknown-linux-gnu/TabNine EACCES
[coc.nvim] error:     at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19)
[coc.nvim] error:     at onErrorNT (internal/child_process.js:415:16)
[coc.nvim] error:     at process._tickCallback (internal/process/next_tick.js:63:19)
[coc.nvim] Command error: Cannot read property 'on' of undefined
chemzqm commented 5 years ago

Broken download, remove it and download again.

Zxrcoming commented 5 years ago

still not working ……

chemzqm commented 5 years ago

The download uri was changed, fixed on 1.2.0

191205 commented 4 years ago

I'm facing the same problem and message, I usually get timeout error https://imgur.com/gtT8Uhv

You can see I removed and reinstall it but no luck