tbodt / deoplete-tabnine

Deoplete source for TabNine
256 stars 17 forks source link

[deoplete] No output from TabNine. Restarting. #56

Open nerdneilsfield opened 3 years ago

nerdneilsfield commented 3 years ago

When I use nvim to edit any file, the deoplete-tabnine will continue restarting the TabNine and producing error message, which is very annoying.

The version of TabNine is:

TabNine 3.2.63 (x86_64-unknown-linux-musl)
Jacob Jackson <jacob@tabnine.com>

The last log of TabNine is

[2020-12-27T09:10:42.134773777+08:00][WARN][262809 bs_main_rlp][bootstrapper::bundle][Some("tabnine/bootstrapper/src/bundle.rs")][Some(628)] relinquishing lock at path "/home/user/.vim/bundles/deoplete-tabnine/binaries/0.0.1/x86_64-unknown-linux-musl/bundle.lock"
[2020-12-27T09:10:42.580784022+08:00][INFO][262809 bs_main_rlp][defaults][Some("shared/defaults/src/lib.rs")][Some(99)] getting value from path Ok("/home/user/.config/TabNine/defaults/active_experiment.prefs.json")
[2020-12-27T09:10:42.581209590+08:00][WARN][262809 bs_main_rlp][bootstrapper::bootstrapper_lib][Some("tabnine/bootstrapper/src/bootstrapper_lib.rs")][Some(316)] restart required
[2020-12-27T09:10:42.581294465+08:00][INFO][262809 bs_main_rlp][defaults][Some("shared/defaults/src/lib.rs")][Some(99)] getting value from path Ok("/home/user/.config/TabNine/defaults/bootstrapper_conf.prefs.json")
[2020-12-27T09:10:42.581352345+08:00][WARN][262809 bs_main_rlp][defaults][Some("shared/defaults/src/lib.rs")][Some(109)] had an error deserializing object Os { code: 2, kind: NotFound, message: "No such file or directory" }
[2020-12-27T09:10:42.581394662+08:00][INFO][262809 bs_main_rlp][TabNine::bootstrap_support][Some("tabnine/frontend/src/bootstrap_support.rs")][Some(217)] got kill message from bootstrapper. Bye Bye 👋🏻...
[2020-12-27T09:10:42.939206219+08:00][INFO][262834 main][TabNine][Some("tabnine/frontend/src/main.rs")][Some(339)] exiting....
nerdneilsfield commented 3 years ago

I deleted the subdirectory of the binaries directory, and re-download the newer TabNine fix my issue, it may be the error of TabNine 3.2.63.

nerdneilsfield commented 3 years ago

It seems the solution just working for several hours, and then the error would appear again.

Shougo commented 3 years ago

Oh, it is TabNine's problem. It should be reported in TabNine issues.

https://github.com/codota/TabNine/issues

szsdk commented 3 years ago

@nerdneilsfield I encounter the same error. May I ask how to get the TabNine log?

Shougo commented 3 years ago

The logfile is saved in deoplete-tabnine directory.

szsdk commented 3 years ago

@Shougo Thanks.

I have a different error.

[2021-05-05T22:42:39.929401163+08:00][INFO][42978 bs_main_autobarker][watchdog_api::wd_client][Some("shared/wd_api/src/wd_client.rs")][Some(216)] Starting watchdog...
[2021-05-05T22:42:39.930032763+08:00][WARN][42978 bs_main_autobarker][watchdog_api::wd_client][Some("shared/wd_api/src/wd_client.rs")][Some(189)] watchdog client failed with error: No such file or directory (os error 2), trying again in 2 seconds
[2021-05-05T22:42:41.930212792+08:00][INFO][42978 bs_main_autobarker][watchdog_api::wd_client][Some("shared/wd_api/src/wd_client.rs")][Some(216)] Starting watchdog...
[2021-05-05T22:42:41.930863523+08:00][ERROR][42978 bs_main_autobarker][TabNine::bootstrap_support][Some("tabnine/frontend/src/bootstrap_support.rs")][Some(154)] bootstrapper bark at watchdog failed (not panicking): watchdog client failed with error: No such file or directory (os error 2)

I do not know too much about TabNine. I was wondering whether there is some check I can do.

Shougo commented 3 years ago

It should be asked to TabNine developers.