Skip to content

Tabnine does not show error if unzip is not installed #112

Description

@golden-expiriensu

Describe the bug
If unzip is not installed then Tabnine is not able to run dl_binaries.sh, but no error thrown, just endless loading

To Reproduce
Steps to reproduce the behavior:

  1. Delete unzip
  2. Install tabnine to nvim as described in https://github.com/codota/tabnine-nvim#install
  3. Try to :TabnineHub and :TabnineHubUrl
  4. Get no response and no errors
  5. Try to run dl_binaries.sh manually and get an error that unzip is not installed
  6. Install unzip and run again
  7. Tabnine log in works as expected

Expected behavior
Show an error that unzip is not found - try to install it with your package manager

Version Info:

  • OS (try cat /etc/os-release):
    NAME="Ubuntu"
    VERSION="20.04.5 LTS (Focal Fossa)"
    ID=ubuntu
    ID_LIKE=debian
    PRETTY_NAME="Ubuntu 20.04.5 LTS"
    VERSION_ID="20.04"
  • Neovim version (nvim -v):
    NVIM v0.9.1
    Build type: Release
    LuaJIT 2.1.0-beta3
  • Installed Tabnine Binaries (ls -A /path/to/plugin/binaries):
    4.5.28

Additional context
WSL

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions