tabnine-nvim icon indicating copy to clipboard operation
tabnine-nvim copied to clipboard

[BUG] Workspace not getting indexed

Open Zaccheuss opened this issue 11 months ago • 10 comments

I imagine this could be related to the fact the everything is running in WSL.

Describe the bug When I open the chat window via :TabnineChat I get the message: Workspace indexing: Not yet started that infinitely loads.

Image

To Reproduce Steps to reproduce the behavior:

  1. Open a project in nvim
  2. Run :TabnineChat
  3. Observe infinite loading of workspace indexing

Expected behavior I would expect the workspace files to be indexed so I can use the context of the codebase when interacting with the AI models.

Version Info:

Running Ubuntu in WSL (version 2)

cat /etc/os-release

PRETTY_NAME="Ubuntu 22.04.5 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.5 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

nvim -v

NVIM v0.10.0
Build type: Release
LuaJIT 2.1.1713484068

I am using vim-plug ls -A ~/.local/share/nvim/plugged/tabnine-nvim/binaries

4.234.0

cat /path/to/plugin/binaries/.active I don't have this file


ls -A -- "$(nvim --headless -c 'lua io.stdout:write(vim.fn.stdpath("data"))' -c qa)"/*/tabnine-nvim/binaries/

4.234.0

cat -- "$(nvim --headless -c 'lua io.stdout:write(vim.fn.stdpath("data"))' -c qa)"/*/tabnine-nvim/binaries/.active No matches found

Zaccheuss avatar Jan 31 '25 19:01 Zaccheuss

Hi @Zaccheuss,

Could you share the output of the following command within the project?

:lua print(vim.inspect(vim.lsp.buf.list_workspace_folders()))

I'm replying from my phone, so I apologize in advance for any typos.

amirbilu avatar Jan 31 '25 20:01 amirbilu

The output is {}

I am using coc if that matters.

I did try manually adding a workspace file by running

:lua vim.lsp.buf.add_workspace_folder("~/path/to/project/") and also put the following in my init.vim file:

lua << EOF
  vim.lsp.buf.add_workspace_folder("~/path/to/project/")
EOF

I still see an empty output though.

I may be off-base here but based on your comment I did try and override the lua in lua/tabnine/workspace.lue (located on my system here: /home/<user>/.local/share/nvim/plugged/tavnine-nvim/) to force my workspace there but I get the same result in the chat window. I don't see any print messages in this function when I run :messages so I could be doing something wrong there.

function M.setup()
	local timer = uv.new_timer()

	timer:start(
		0,
		30000,
		vim.schedule_wrap(function()
			if #utils.buf_get_clients() > 0 then
				-- local root_paths = utils.set(lsp.buf.list_workspace_folders())
                                -- print("Debug")    <- does not get shown when logging via :messages
				local root_paths = utils.set({"~/path/to/project/"})
				tabnine_binary:request({ Workspace = { root_paths = root_paths } }, function() end)
			end
		end)
	)
end

Zaccheuss avatar Jan 31 '25 21:01 Zaccheuss

@Zaccheuss can you sure your init.lua?

amirbilu avatar Feb 01 '25 14:02 amirbilu

@Zaccheuss I've added an option to define workspace_folders https://github.com/codota/tabnine-nvim/pull/197

require("tabnine").setup({
--- ...
	workspace_folders = {
		paths = { "/your/project" },
		get_paths = function()
			return { "/your/project" }
		end,
	},
--- ...
})

Let me know if you're able to get workspace indexing working this way

amirbilu avatar Feb 03 '25 15:02 amirbilu

@amirbilu Thanks for the information and the PR.

I created a minimal init.lua

require('packer').startup(function(use)
  use 'wbthomason/packer.nvim'
  use 'neovim/nvim-lspconfig'
  use { 'codota/tabnine-nvim', run = "./dl_binaries.sh" }
end)

require'lspconfig'.ts_ls.setup {}

require('tabnine').setup({
  disable_auto_comment=true,
  accept_keymap="<Tab>",
  dismiss_keymap = "<C-]>",
  debounce_ms = 800,
  suggestion_color = {gui = "#808080", cterm = 244},
  exclude_filetypes = {"TelescopePrompt", "NvimTree"},
  log_file_path = "~/tabnine.log",
  ignore_certificate_errors = false,
  workspace_folders = {
    paths = { "/path/to/project" },
    get_paths = function()
      return { "/path/to/project" }
    end,
  },
})

I have also pulled the workspace_folders branch from #197

However I still see the Workspace indexing: Not yet started message with the loading circle and the models can't access other files other than the one in the current buffer.

I can see the correct workspace folder when I log with this command :lua print(vim.inspect(vim.lsp.buf.list_workspace_folders())) and when I log in in the update function of lua/tabnine/workspace.lua.

I also did a quick test of the Tabnine VSCode extension in the same project and the files are getting indexed there.

Zaccheuss avatar Feb 04 '25 16:02 Zaccheuss

Maybe this is just a visual bug. After using the Chat function more it seems that the files are actually getting indexed. For example when I prompt the model it returns a list of relevant files in the References dropdown.

Image

As a test I removed props that I was passing into a component and the model was able to see what the missing props were from the other component file. It is now working as I expect.

@amirbilu Seems like this issue is largely fixed, though there still appears to be a visual bug which could cause confusion.

Zaccheuss avatar Feb 04 '25 18:02 Zaccheuss

@Zaccheuss can you share logs? See readme on how to set log path

amirbilu avatar Feb 05 '25 20:02 amirbilu

@amirbilu

This is after the following steps:

  • Open nvim
  • Open file within nvim
  • Open tabnine chat :TabnineChat
  • Prompt model
  • Close nvim
Log output:
INFO [process_setup] [2025-02-05:15:55:37 TabNine INFO] 
============ Tabnine process /home/<USER>/.local/share/nvim/plugged/tabnine-nvim/binaries/4.240.0/x86_64-unknown-linux-musl/TabNine (525504) started ============
INFO [TabNine::main_utils] [2025-02-05:15:55:37 TabNine INFO] /home/<USER>/.local/share/nvim/plugged/tabnine-nvim/lua/tabnine/../../binaries/4.240.0/x86_64-unknown-linux-musl/TabNine --client nvim --client-metadata ide-restart-counter=1 pluginVersion=1.7.0 --tls_config insecure=false --log-file-path=/home/<USER>/utils/tabnine.log
INFO [watchdog_api::wd_client] [2025-02-05:15:55:37 TabNine INFO] Initializing watchdog client...
INFO [watchdog_api::wd_client] [2025-02-05:15:55:37 TabNine INFO] Starting watchdog...
INFO [watchdog_api::wd_client] [2025-02-05:15:55:37 TabNine INFO] Starting watchdog...
INFO [TabNine::bootstrap_support] [2025-02-05:15:55:37 TabNine INFO] trying to start tabnine version Some("4.240.0")
INFO [TabNine::bootstrap_support] [2025-02-05:15:55:37 TabNine INFO] spawning tabnine with args ["/home/<USER>/.local/share/nvim/plugged/tabnine-nvim/lua/tabnine/../../binaries/4.240.0/x86_64-unknown-linux-musl/TabNine", "--client", "nvim", "--client-metadata", "ide-restart-counter=1", "pluginVersion=1.7.0", "--tls_config", "insecure=false", "--log-file-path=/home/<USER>/utils/tabnine.log", "--no_bootstrap"]
INFO [TabNine::bootstrap_support] [2025-02-05:15:55:37 TabNine INFO] started tabnine process pid 525631 version Some("4.240.0"), desired version was Some("4.240.0") this version is Some("4.240.0")
INFO [process_setup] [2025-02-05:15:55:37 TabNine INFO] 
============ Tabnine process /home/<USER>/.local/share/nvim/plugged/tabnine-nvim/binaries/4.240.0/x86_64-unknown-linux-musl/TabNine (525631) started ============
INFO [TabNine::main_utils] [2025-02-05:15:55:37 TabNine INFO] /home/<USER>/.local/share/nvim/plugged/tabnine-nvim/lua/tabnine/../../binaries/4.240.0/x86_64-unknown-linux-musl/TabNine --client nvim --client-metadata ide-restart-counter=1 pluginVersion=1.7.0 --tls_config insecure=false --log-file-path=/home/<USER>/utils/tabnine.log --no_bootstrap
INFO [watchdog_api::wd_client] [2025-02-05:15:55:37 TabNine INFO] Initializing watchdog client...
INFO [process_setup::command_ext] [2025-02-05:15:55:37 TabNine INFO] child exited with status exit status: 0
INFO [bootstrapper::bootstrapper_lib] [2025-02-05:15:55:37 TabNine INFO] current version is Some(Version { major: 4, minor: 240, patch: 0, pre: [], build: [] }), spawned version is Some(Version { major: 4, minor: 240, patch: 0, pre: [], build: [] }), remote version is Version { major: 4, minor: 240, patch: 0, pre: [], build: [] }
INFO [bootstrapper::bootstrapper_lib] [2025-02-05:15:55:37 TabNine INFO] don't need to upgrade
INFO [models_api_singleton] [2025-02-05:15:55:37 TabNine INFO] Creating models api singleton...
INFO [lunar_connection] [2025-02-05:15:55:37 TabNine INFO] lunar settings update thread started (Remote cloud)
INFO [lunar_connection] [2025-02-05:15:55:37 TabNine INFO] lunar settings update thread started (Local(Public) ce94127b)
INFO [lunar_connection] [2025-02-05:15:55:37 TabNine INFO] lunar settings update thread started (Local(Public) ce94127b)
INFO [models_api_singleton] [2025-02-05:15:55:37 TabNine INFO] Updating models API access token...
INFO [auth::capabilities] [2025-02-05:15:55:37 TabNine INFO] User changed. Refreshing capabilities
INFO [auth::capabilities] [2025-02-05:15:55:37 TabNine INFO] Refreshing capabilities
INFO [frontend::initialize] [2025-02-05:15:55:37 TabNine INFO] Started.
INFO [models_api_singleton] [2025-02-05:15:55:37 TabNine INFO] Updated models API access token of user: Some("<FULL_NAME>")
WARN [lunar_connection::cloud_availability] [2025-02-05:15:55:37 TabNine WARN] Cannot connect to cloud: Could not connect to cloud.tabnine.com:443

INFO [actix_server::builder] [2025-02-05:15:55:37 TabNine INFO] starting 10 workers
INFO [ui::http_server] [2025-02-05:15:55:37 TabNine INFO] Hub HTTP server started on http://127.0.0.1:1123/sec-<MAYBE_SENSITIVE>
INFO [actix_server::server] [2025-02-05:15:55:37 TabNine INFO] Tokio runtime found; starting in existing Tokio runtime
INFO [frontend::initialize] [2025-02-05:15:55:37 TabNine INFO] Hub site is: https://hub.tabnine.com/v9/?tabnineUrl=http://127.0.0.1:1123/sec-<MAYBE_SENSITIVE>
INFO [cloud2_utils::snippet_suggestions_host] [2025-02-05:15:55:37 TabNine INFO] enrichment config - returning default config
INFO [cloud2_utils::snippet_suggestions_host] [2025-02-05:15:55:38 TabNine INFO] enrichment config - returning default config
INFO [cloud2_utils::snippet_suggestions_host] [2025-02-05:15:55:38 TabNine INFO] enrichment config - returning default config
INFO [server::indexing::repo_indexer] [2025-02-05:15:55:38 TabNine INFO] Recreating repo indexer, dense false => true, sparse false => true
ERROR [in_app_messaging::internal] [2025-02-05:15:55:42 TabNine ERROR] Error while fetching messages. reqwest::Error { kind: Decode, source: Error("EOF while parsing a value", line: 1, column: 0) }
INFO [cloud2_utils::snippet_suggestions_host] [2025-02-05:15:55:45 TabNine INFO] enrichment config - returning default config
WARN [prompt_enrichment::nfc_enricher] [2025-02-05:15:55:45 TabNine WARN] NFC cache failed to insert with error: No extension found for /home/<USER>/sandbox/grant-award-wisconsin
INFO [cloud2_utils::snippet_suggestions_host] [2025-02-05:15:55:47 TabNine INFO] enrichment config - returning default config
INFO [cloud2_utils::snippet_suggestions_host] [2025-02-05:15:55:47 TabNine INFO] enrichment config - returning default config
INFO [actix_server::builder] [2025-02-05:15:55:55 TabNine INFO] starting 1 workers
INFO [http_endpoints_server::server] [2025-02-05:15:55:55 TabNine INFO] Starting chat communicator on 127.0.0.1:34199, target: https://api.tabnine.com
INFO [actix_server::server] [2025-02-05:15:55:55 TabNine INFO] Tokio runtime found; starting in existing Tokio runtime
INFO [process_setup] [2025-02-05:15:56:03 TabNine-deep-cloud INFO] 
============ Tabnine process /home/<USER>/.local/share/nvim/plugged/tabnine-nvim/binaries/4.240.0/x86_64-unknown-linux-musl/TabNine-deep-cloud (526113) started ============
INFO [watchdog_api::wd_client] [2025-02-05:15:56:03 TabNine-deep-cloud INFO] Initializing watchdog client...
INFO [lunar_transport::controller] [2025-02-05:15:56:03 TabNine-deep-cloud INFO] Creating lunar client...
INFO [lunar_endpoints::cloud::handlers::is_enabled] [2025-02-05:15:56:03 TabNine-deep-cloud INFO] cloud_v2_enabled is true
INFO [lunar_endpoints::cloud::handlers::is_enabled] [2025-02-05:15:56:03 TabNine-deep-cloud INFO] res is IsEnabledResponse { enabled: true, message: None }
INFO [auth::capabilities] [2025-02-05:15:56:03 TabNine-deep-cloud INFO] User changed. Refreshing capabilities
INFO [auth::capabilities] [2025-02-05:15:56:03 TabNine-deep-cloud INFO] Refreshing capabilities
INFO [cloud2_utils::snippet_suggestions_host] [2025-02-05:15:56:03 TabNine INFO] enrichment config - returning default config
INFO [prompt_enrichment::dependencies_enricher] [2025-02-05:15:56:03 TabNine INFO] Creating TNM enrichment...
INFO [prompt_enrichment::nfc_enricher] [2025-02-05:15:56:03 TabNine INFO] Creating NFC enrichment...
INFO [prompt_enrichment::hints_enricher] [2025-02-05:15:56:03 TabNine INFO] Creating hinting enrichment...
INFO [prompt_enrichment::hints_enricher] [2025-02-05:15:56:03 TabNine INFO] no root paths found, skipping hinting enrichment
ERROR [lunar_transport::controller] [2025-02-05:15:56:04 TabNine-deep-cloud ERROR] Could not resolve "cloud.tabnine.com": Error(Io(Custom { kind: Uncategorized, error: "failed to lookup address information: Name does not resolve" }), State { next_error: None, backtrace: InternalBacktrace { backtrace: None } }). Communication thread is sleeping for 5 seconds...
INFO [lunar_endpoints::cloud::handlers::is_enabled] [2025-02-05:15:56:04 TabNine-deep-cloud INFO] cloud_v2_enabled is true
INFO [lunar_endpoints::cloud::handlers::is_enabled] [2025-02-05:15:56:04 TabNine-deep-cloud INFO] res is IsEnabledResponse { enabled: true, message: None }
INFO [cloud2_utils::snippet_suggestions_host] [2025-02-05:15:56:04 TabNine INFO] enrichment config - returning default config
INFO [prompt_enrichment::dependencies_enricher] [2025-02-05:15:56:04 TabNine INFO] Creating TNM enrichment...
INFO [prompt_enrichment::nfc_enricher] [2025-02-05:15:56:04 TabNine INFO] Creating NFC enrichment...
INFO [prompt_enrichment::hints_enricher] [2025-02-05:15:56:04 TabNine INFO] Creating hinting enrichment...
INFO [prompt_enrichment::hints_enricher] [2025-02-05:15:56:04 TabNine INFO] no root paths found, skipping hinting enrichment
INFO [lunar_endpoints::cloud::handlers::is_enabled] [2025-02-05:15:56:04 TabNine-deep-cloud INFO] cloud_v2_enabled is true
INFO [lunar_endpoints::cloud::handlers::is_enabled] [2025-02-05:15:56:04 TabNine-deep-cloud INFO] res is IsEnabledResponse { enabled: true, message: None }
INFO [cloud2_utils::snippet_suggestions_host] [2025-02-05:15:56:04 TabNine INFO] enrichment config - returning default config
INFO [prompt_enrichment::dependencies_enricher] [2025-02-05:15:56:04 TabNine INFO] Creating TNM enrichment...
INFO [prompt_enrichment::nfc_enricher] [2025-02-05:15:56:04 TabNine INFO] Creating NFC enrichment...
INFO [prompt_enrichment::hints_enricher] [2025-02-05:15:56:04 TabNine INFO] Creating hinting enrichment...
INFO [prompt_enrichment::hints_enricher] [2025-02-05:15:56:04 TabNine INFO] no root paths found, skipping hinting enrichment
INFO [lunar_endpoints::cloud::handlers::is_enabled] [2025-02-05:15:56:04 TabNine-deep-cloud INFO] cloud_v2_enabled is true
INFO [lunar_endpoints::cloud::handlers::is_enabled] [2025-02-05:15:56:04 TabNine-deep-cloud INFO] res is IsEnabledResponse { enabled: true, message: None }
INFO [cloud2_utils::snippet_suggestions_host] [2025-02-05:15:56:04 TabNine INFO] enrichment config - returning default config
INFO [prompt_enrichment::dependencies_enricher] [2025-02-05:15:56:04 TabNine INFO] Creating TNM enrichment...
INFO [prompt_enrichment::nfc_enricher] [2025-02-05:15:56:04 TabNine INFO] Creating NFC enrichment...
INFO [prompt_enrichment::hints_enricher] [2025-02-05:15:56:04 TabNine INFO] Creating hinting enrichment...
INFO [prompt_enrichment::hints_enricher] [2025-02-05:15:56:04 TabNine INFO] no root paths found, skipping hinting enrichment
INFO [cloud2_utils::snippet_suggestions_host] [2025-02-05:15:56:07 TabNine INFO] enrichment config - returning default config
INFO [cloud2_utils::snippet_suggestions_host] [2025-02-05:15:56:07 TabNine INFO] enrichment config - returning default config
INFO [lunar_endpoints::cloud::handlers::is_enabled] [2025-02-05:15:56:08 TabNine-deep-cloud INFO] cloud_v2_enabled is true
INFO [lunar_endpoints::cloud::handlers::is_enabled] [2025-02-05:15:56:08 TabNine-deep-cloud INFO] res is IsEnabledResponse { enabled: true, message: None }
INFO [cloud2_utils::snippet_suggestions_host] [2025-02-05:15:56:08 TabNine INFO] enrichment config - returning default config
INFO [prompt_enrichment::dependencies_enricher] [2025-02-05:15:56:08 TabNine INFO] Creating TNM enrichment...
INFO [prompt_enrichment::nfc_enricher] [2025-02-05:15:56:08 TabNine INFO] Creating NFC enrichment...
INFO [prompt_enrichment::hints_enricher] [2025-02-05:15:56:08 TabNine INFO] Creating hinting enrichment...
INFO [prompt_enrichment::hints_enricher] [2025-02-05:15:56:08 TabNine INFO] no root paths found, skipping hinting enrichment
INFO [lunar_endpoints::cloud::handlers::is_enabled] [2025-02-05:15:56:08 TabNine-deep-cloud INFO] cloud_v2_enabled is true
INFO [lunar_endpoints::cloud::handlers::is_enabled] [2025-02-05:15:56:08 TabNine-deep-cloud INFO] res is IsEnabledResponse { enabled: true, message: None }
INFO [cloud2_utils::snippet_suggestions_host] [2025-02-05:15:56:08 TabNine INFO] enrichment config - returning default config
INFO [prompt_enrichment::dependencies_enricher] [2025-02-05:15:56:08 TabNine INFO] Creating TNM enrichment...
INFO [prompt_enrichment::nfc_enricher] [2025-02-05:15:56:08 TabNine INFO] Creating NFC enrichment...
INFO [prompt_enrichment::hints_enricher] [2025-02-05:15:56:08 TabNine INFO] Creating hinting enrichment...
INFO [prompt_enrichment::hints_enricher] [2025-02-05:15:56:08 TabNine INFO] no root paths found, skipping hinting enrichment
INFO [lunar_endpoints::cloud::handlers::is_enabled] [2025-02-05:15:56:08 TabNine-deep-cloud INFO] cloud_v2_enabled is true
INFO [lunar_endpoints::cloud::handlers::is_enabled] [2025-02-05:15:56:08 TabNine-deep-cloud INFO] res is IsEnabledResponse { enabled: true, message: None }
INFO [cloud2_utils::snippet_suggestions_host] [2025-02-05:15:56:08 TabNine INFO] enrichment config - returning default config
INFO [prompt_enrichment::dependencies_enricher] [2025-02-05:15:56:08 TabNine INFO] Creating TNM enrichment...
INFO [prompt_enrichment::nfc_enricher] [2025-02-05:15:56:08 TabNine INFO] Creating NFC enrichment...
INFO [prompt_enrichment::hints_enricher] [2025-02-05:15:56:08 TabNine INFO] Creating hinting enrichment...
INFO [prompt_enrichment::hints_enricher] [2025-02-05:15:56:08 TabNine INFO] no root paths found, skipping hinting enrichment
ERROR [lunar_transport::controller] [2025-02-05:15:56:09 TabNine-deep-cloud ERROR] Could not resolve "cloud.tabnine.com": Error(Io(Custom { kind: Uncategorized, error: "failed to lookup address information: Name does not resolve" }), State { next_error: None, backtrace: InternalBacktrace { backtrace: None } }). Communication thread is sleeping for 5 seconds...
INFO [lunar_endpoints::cloud::handlers::is_enabled] [2025-02-05:15:56:09 TabNine-deep-cloud INFO] cloud_v2_enabled is true
INFO [lunar_endpoints::cloud::handlers::is_enabled] [2025-02-05:15:56:09 TabNine-deep-cloud INFO] res is IsEnabledResponse { enabled: true, message: None }
INFO [cloud2_utils::snippet_suggestions_host] [2025-02-05:15:56:09 TabNine INFO] enrichment config - returning default config
INFO [prompt_enrichment::dependencies_enricher] [2025-02-05:15:56:09 TabNine INFO] Creating TNM enrichment...
INFO [prompt_enrichment::nfc_enricher] [2025-02-05:15:56:09 TabNine INFO] Creating NFC enrichment...
INFO [prompt_enrichment::hints_enricher] [2025-02-05:15:56:09 TabNine INFO] Creating hinting enrichment...
INFO [prompt_enrichment::hints_enricher] [2025-02-05:15:56:09 TabNine INFO] no root paths found, skipping hinting enrichment
INFO [lunar_endpoints::cloud::handlers::is_enabled] [2025-02-05:15:56:09 TabNine-deep-cloud INFO] cloud_v2_enabled is true
INFO [lunar_endpoints::cloud::handlers::is_enabled] [2025-02-05:15:56:09 TabNine-deep-cloud INFO] res is IsEnabledResponse { enabled: true, message: None }
INFO [cloud2_utils::snippet_suggestions_host] [2025-02-05:15:56:09 TabNine INFO] enrichment config - returning default config
INFO [prompt_enrichment::dependencies_enricher] [2025-02-05:15:56:09 TabNine INFO] Creating TNM enrichment...
INFO [prompt_enrichment::nfc_enricher] [2025-02-05:15:56:09 TabNine INFO] Creating NFC enrichment...
INFO [prompt_enrichment::hints_enricher] [2025-02-05:15:56:09 TabNine INFO] Creating hinting enrichment...
INFO [prompt_enrichment::hints_enricher] [2025-02-05:15:56:09 TabNine INFO] no root paths found, skipping hinting enrichment
INFO [lunar_endpoints::cloud::handlers::is_enabled] [2025-02-05:15:56:09 TabNine-deep-cloud INFO] cloud_v2_enabled is true
INFO [lunar_endpoints::cloud::handlers::is_enabled] [2025-02-05:15:56:09 TabNine-deep-cloud INFO] res is IsEnabledResponse { enabled: true, message: None }
INFO [cloud2_utils::snippet_suggestions_host] [2025-02-05:15:56:09 TabNine INFO] enrichment config - returning default config
INFO [prompt_enrichment::dependencies_enricher] [2025-02-05:15:56:09 TabNine INFO] Creating TNM enrichment...
INFO [prompt_enrichment::nfc_enricher] [2025-02-05:15:56:09 TabNine INFO] Creating NFC enrichment...
INFO [prompt_enrichment::hints_enricher] [2025-02-05:15:56:09 TabNine INFO] Creating hinting enrichment...
INFO [prompt_enrichment::hints_enricher] [2025-02-05:15:56:09 TabNine INFO] no root paths found, skipping hinting enrichment
INFO [lunar_endpoints::cloud::handlers::is_enabled] [2025-02-05:15:56:09 TabNine-deep-cloud INFO] cloud_v2_enabled is true
INFO [lunar_endpoints::cloud::handlers::is_enabled] [2025-02-05:15:56:09 TabNine-deep-cloud INFO] res is IsEnabledResponse { enabled: true, message: None }
INFO [cloud2_utils::snippet_suggestions_host] [2025-02-05:15:56:09 TabNine INFO] enrichment config - returning default config
INFO [prompt_enrichment::dependencies_enricher] [2025-02-05:15:56:09 TabNine INFO] Creating TNM enrichment...
INFO [prompt_enrichment::nfc_enricher] [2025-02-05:15:56:09 TabNine INFO] Creating NFC enrichment...
INFO [prompt_enrichment::hints_enricher] [2025-02-05:15:56:09 TabNine INFO] Creating hinting enrichment...
INFO [prompt_enrichment::hints_enricher] [2025-02-05:15:56:09 TabNine INFO] no root paths found, skipping hinting enrichment
INFO [lunar_endpoints::cloud::handlers::is_enabled] [2025-02-05:15:56:09 TabNine-deep-cloud INFO] cloud_v2_enabled is true
INFO [lunar_endpoints::cloud::handlers::is_enabled] [2025-02-05:15:56:09 TabNine-deep-cloud INFO] res is IsEnabledResponse { enabled: true, message: None }
INFO [cloud2_utils::snippet_suggestions_host] [2025-02-05:15:56:09 TabNine INFO] enrichment config - returning default config
INFO [prompt_enrichment::dependencies_enricher] [2025-02-05:15:56:09 TabNine INFO] Creating TNM enrichment...
INFO [prompt_enrichment::nfc_enricher] [2025-02-05:15:56:09 TabNine INFO] Creating NFC enrichment...
INFO [prompt_enrichment::hints_enricher] [2025-02-05:15:56:09 TabNine INFO] Creating hinting enrichment...
INFO [prompt_enrichment::hints_enricher] [2025-02-05:15:56:09 TabNine INFO] no root paths found, skipping hinting enrichment
INFO [lunar_endpoints::cloud::handlers::is_enabled] [2025-02-05:15:56:09 TabNine-deep-cloud INFO] cloud_v2_enabled is true
INFO [lunar_endpoints::cloud::handlers::is_enabled] [2025-02-05:15:56:09 TabNine-deep-cloud INFO] res is IsEnabledResponse { enabled: true, message: None }
INFO [cloud2_utils::snippet_suggestions_host] [2025-02-05:15:56:09 TabNine INFO] enrichment config - returning default config
INFO [prompt_enrichment::dependencies_enricher] [2025-02-05:15:56:09 TabNine INFO] Creating TNM enrichment...
INFO [prompt_enrichment::nfc_enricher] [2025-02-05:15:56:09 TabNine INFO] Creating NFC enrichment...
INFO [prompt_enrichment::hints_enricher] [2025-02-05:15:56:09 TabNine INFO] Creating hinting enrichment...
INFO [prompt_enrichment::hints_enricher] [2025-02-05:15:56:09 TabNine INFO] no root paths found, skipping hinting enrichment
INFO [lunar_endpoints::cloud::handlers::is_enabled] [2025-02-05:15:56:09 TabNine-deep-cloud INFO] cloud_v2_enabled is true
INFO [lunar_endpoints::cloud::handlers::is_enabled] [2025-02-05:15:56:09 TabNine-deep-cloud INFO] res is IsEnabledResponse { enabled: true, message: None }
INFO [cloud2_utils::snippet_suggestions_host] [2025-02-05:15:56:09 TabNine INFO] enrichment config - returning default config
INFO [prompt_enrichment::dependencies_enricher] [2025-02-05:15:56:09 TabNine INFO] Creating TNM enrichment...
INFO [prompt_enrichment::nfc_enricher] [2025-02-05:15:56:09 TabNine INFO] Creating NFC enrichment...
INFO [prompt_enrichment::hints_enricher] [2025-02-05:15:56:09 TabNine INFO] Creating hinting enrichment...
INFO [prompt_enrichment::hints_enricher] [2025-02-05:15:56:09 TabNine INFO] no root paths found, skipping hinting enrichment
INFO [lunar_endpoints::cloud::handlers::is_enabled] [2025-02-05:15:56:10 TabNine-deep-cloud INFO] cloud_v2_enabled is true
INFO [lunar_endpoints::cloud::handlers::is_enabled] [2025-02-05:15:56:10 TabNine-deep-cloud INFO] res is IsEnabledResponse { enabled: true, message: None }
INFO [cloud2_utils::snippet_suggestions_host] [2025-02-05:15:56:10 TabNine INFO] enrichment config - returning default config
INFO [prompt_enrichment::dependencies_enricher] [2025-02-05:15:56:10 TabNine INFO] Creating TNM enrichment...
INFO [prompt_enrichment::nfc_enricher] [2025-02-05:15:56:10 TabNine INFO] Creating NFC enrichment...
INFO [prompt_enrichment::hints_enricher] [2025-02-05:15:56:10 TabNine INFO] Creating hinting enrichment...
INFO [prompt_enrichment::hints_enricher] [2025-02-05:15:56:10 TabNine INFO] no root paths found, skipping hinting enrichment
INFO [lunar_endpoints::cloud::handlers::is_enabled] [2025-02-05:15:56:10 TabNine-deep-cloud INFO] cloud_v2_enabled is true
INFO [lunar_endpoints::cloud::handlers::is_enabled] [2025-02-05:15:56:10 TabNine-deep-cloud INFO] res is IsEnabledResponse { enabled: true, message: None }
INFO [cloud2_utils::snippet_suggestions_host] [2025-02-05:15:56:10 TabNine INFO] enrichment config - returning default config
INFO [prompt_enrichment::dependencies_enricher] [2025-02-05:15:56:10 TabNine INFO] Creating TNM enrichment...
INFO [prompt_enrichment::nfc_enricher] [2025-02-05:15:56:10 TabNine INFO] Creating NFC enrichment...
INFO [prompt_enrichment::hints_enricher] [2025-02-05:15:56:10 TabNine INFO] Creating hinting enrichment...
INFO [prompt_enrichment::hints_enricher] [2025-02-05:15:56:10 TabNine INFO] no root paths found, skipping hinting enrichment
INFO [lunar_endpoints::cloud::handlers::is_enabled] [2025-02-05:15:56:10 TabNine-deep-cloud INFO] cloud_v2_enabled is true
INFO [lunar_endpoints::cloud::handlers::is_enabled] [2025-02-05:15:56:10 TabNine-deep-cloud INFO] res is IsEnabledResponse { enabled: true, message: None }
INFO [cloud2_utils::snippet_suggestions_host] [2025-02-05:15:56:10 TabNine INFO] enrichment config - returning default config
INFO [prompt_enrichment::dependencies_enricher] [2025-02-05:15:56:10 TabNine INFO] Creating TNM enrichment...
INFO [prompt_enrichment::nfc_enricher] [2025-02-05:15:56:10 TabNine INFO] Creating NFC enrichment...
INFO [prompt_enrichment::hints_enricher] [2025-02-05:15:56:10 TabNine INFO] Creating hinting enrichment...
INFO [prompt_enrichment::hints_enricher] [2025-02-05:15:56:10 TabNine INFO] no root paths found, skipping hinting enrichment
INFO [lunar_endpoints::cloud::handlers::is_enabled] [2025-02-05:15:56:10 TabNine-deep-cloud INFO] cloud_v2_enabled is true
INFO [lunar_endpoints::cloud::handlers::is_enabled] [2025-02-05:15:56:10 TabNine-deep-cloud INFO] res is IsEnabledResponse { enabled: true, message: None }
INFO [cloud2_utils::snippet_suggestions_host] [2025-02-05:15:56:10 TabNine INFO] enrichment config - returning default config
INFO [prompt_enrichment::dependencies_enricher] [2025-02-05:15:56:10 TabNine INFO] Creating TNM enrichment...
INFO [prompt_enrichment::nfc_enricher] [2025-02-05:15:56:10 TabNine INFO] Creating NFC enrichment...
INFO [prompt_enrichment::hints_enricher] [2025-02-05:15:56:10 TabNine INFO] Creating hinting enrichment...
INFO [prompt_enrichment::hints_enricher] [2025-02-05:15:56:10 TabNine INFO] no root paths found, skipping hinting enrichment
INFO [lunar_endpoints::cloud::handlers::is_enabled] [2025-02-05:15:56:10 TabNine-deep-cloud INFO] cloud_v2_enabled is true
INFO [lunar_endpoints::cloud::handlers::is_enabled] [2025-02-05:15:56:10 TabNine-deep-cloud INFO] res is IsEnabledResponse { enabled: true, message: None }
INFO [cloud2_utils::snippet_suggestions_host] [2025-02-05:15:56:10 TabNine INFO] enrichment config - returning default config
INFO [prompt_enrichment::dependencies_enricher] [2025-02-05:15:56:10 TabNine INFO] Creating TNM enrichment...
INFO [prompt_enrichment::nfc_enricher] [2025-02-05:15:56:10 TabNine INFO] Creating NFC enrichment...
INFO [prompt_enrichment::hints_enricher] [2025-02-05:15:56:10 TabNine INFO] Creating hinting enrichment...
INFO [prompt_enrichment::hints_enricher] [2025-02-05:15:56:10 TabNine INFO] no root paths found, skipping hinting enrichment
INFO [lunar_endpoints::cloud::handlers::is_enabled] [2025-02-05:15:56:10 TabNine-deep-cloud INFO] cloud_v2_enabled is true
INFO [lunar_endpoints::cloud::handlers::is_enabled] [2025-02-05:15:56:10 TabNine-deep-cloud INFO] res is IsEnabledResponse { enabled: true, message: None }
INFO [cloud2_utils::snippet_suggestions_host] [2025-02-05:15:56:10 TabNine INFO] enrichment config - returning default config
INFO [prompt_enrichment::dependencies_enricher] [2025-02-05:15:56:10 TabNine INFO] Creating TNM enrichment...
INFO [prompt_enrichment::nfc_enricher] [2025-02-05:15:56:10 TabNine INFO] Creating NFC enrichment...
INFO [prompt_enrichment::hints_enricher] [2025-02-05:15:56:10 TabNine INFO] Creating hinting enrichment...
INFO [prompt_enrichment::hints_enricher] [2025-02-05:15:56:10 TabNine INFO] no root paths found, skipping hinting enrichment
INFO [lunar_endpoints::cloud::handlers::is_enabled] [2025-02-05:15:56:10 TabNine-deep-cloud INFO] cloud_v2_enabled is true
INFO [lunar_endpoints::cloud::handlers::is_enabled] [2025-02-05:15:56:10 TabNine-deep-cloud INFO] res is IsEnabledResponse { enabled: true, message: None }
INFO [cloud2_utils::snippet_suggestions_host] [2025-02-05:15:56:10 TabNine INFO] enrichment config - returning default config
INFO [prompt_enrichment::dependencies_enricher] [2025-02-05:15:56:10 TabNine INFO] Creating TNM enrichment...
INFO [prompt_enrichment::nfc_enricher] [2025-02-05:15:56:10 TabNine INFO] Creating NFC enrichment...
INFO [prompt_enrichment::hints_enricher] [2025-02-05:15:56:10 TabNine INFO] Creating hinting enrichment...
INFO [prompt_enrichment::hints_enricher] [2025-02-05:15:56:10 TabNine INFO] no root paths found, skipping hinting enrichment
INFO [lunar_endpoints::cloud::handlers::is_enabled] [2025-02-05:15:56:11 TabNine-deep-cloud INFO] cloud_v2_enabled is true
INFO [lunar_endpoints::cloud::handlers::is_enabled] [2025-02-05:15:56:11 TabNine-deep-cloud INFO] res is IsEnabledResponse { enabled: true, message: None }
INFO [cloud2_utils::snippet_suggestions_host] [2025-02-05:15:56:11 TabNine INFO] enrichment config - returning default config
INFO [prompt_enrichment::dependencies_enricher] [2025-02-05:15:56:11 TabNine INFO] Creating TNM enrichment...
INFO [prompt_enrichment::nfc_enricher] [2025-02-05:15:56:11 TabNine INFO] Creating NFC enrichment...
INFO [prompt_enrichment::hints_enricher] [2025-02-05:15:56:11 TabNine INFO] Creating hinting enrichment...
INFO [prompt_enrichment::hints_enricher] [2025-02-05:15:56:11 TabNine INFO] no root paths found, skipping hinting enrichment
INFO [http_endpoints_server::endpoints::retrieval::question_document_types] [2025-02-05:15:56:13 TabNine INFO] found 0 preferred documents, 0 local documents and 0 external documents
ERROR [lunar_transport::controller] [2025-02-05:15:56:14 TabNine-deep-cloud ERROR] Could not resolve "cloud.tabnine.com": Error(Io(Custom { kind: Uncategorized, error: "failed to lookup address information: Name does not resolve" }), State { next_error: None, backtrace: InternalBacktrace { backtrace: None } }). Communication thread is sleeping for 5 seconds...
ERROR [lunar_transport::controller] [2025-02-05:15:56:19 TabNine-deep-cloud ERROR] Could not resolve "cloud.tabnine.com": Error(Io(Custom { kind: Uncategorized, error: "failed to lookup address information: Name does not resolve" }), State { next_error: None, backtrace: InternalBacktrace { backtrace: None } }). Communication thread is sleeping for 5 seconds...
ERROR [lunar_transport::controller] [2025-02-05:15:56:24 TabNine-deep-cloud ERROR] Could not resolve "cloud.tabnine.com": Error(Io(Custom { kind: Uncategorized, error: "failed to lookup address information: Name does not resolve" }), State { next_error: None, backtrace: InternalBacktrace { backtrace: None } }). Communication thread is sleeping for 5 seconds...
INFO [io_server::dispatch::shutdown] [2025-02-05:15:56:24 TabNine INFO] Sending finished message from Input
INFO [io_server::dispatch::shutdown] [2025-02-05:15:56:24 TabNine INFO] Sending finished message from ChannelWorker("default")
INFO [io_server::dispatch::shutdown] [2025-02-05:15:56:24 TabNine INFO] Sending finished message from Output
INFO [TabNine] [2025-02-05:15:56:24 TabNine INFO] exiting....
INFO [TabNine::bootstrap_support] [2025-02-05:15:56:25 TabNine INFO] child process 525631 exited with status exit status: 0...
INFO [process_setup] [2025-02-05:15:56:29 TabNine INFO] 
============ Tabnine process /home/<USER>/.local/share/nvim/plugged/tabnine-nvim/binaries/4.240.0/x86_64-unknown-linux-musl/TabNine (526292) started ============
INFO [TabNine::main_utils] [2025-02-05:15:56:29 TabNine INFO] /home/<USER>/.local/share/nvim/plugged/tabnine-nvim/lua/tabnine/../../binaries/4.240.0/x86_64-unknown-linux-musl/TabNine --client nvim --client-metadata ide-restart-counter=1 pluginVersion=1.7.0 --tls_config insecure=false --log-file-path=/home/<USER>/utils/tabnine.log
INFO [watchdog_api::wd_client] [2025-02-05:15:56:29 TabNine INFO] Initializing watchdog client...
INFO [TabNine::bootstrap_support] [2025-02-05:15:56:29 TabNine INFO] trying to start tabnine version Some("4.240.0")
INFO [TabNine::bootstrap_support] [2025-02-05:15:56:29 TabNine INFO] spawning tabnine with args ["/home/<USER>/.local/share/nvim/plugged/tabnine-nvim/lua/tabnine/../../binaries/4.240.0/x86_64-unknown-linux-musl/TabNine", "--client", "nvim", "--client-metadata", "ide-restart-counter=1", "pluginVersion=1.7.0", "--tls_config", "insecure=false", "--log-file-path=/home/<USER>/utils/tabnine.log", "--no_bootstrap"]
INFO [TabNine::bootstrap_support] [2025-02-05:15:56:29 TabNine INFO] started tabnine process pid 526392 version Some("4.240.0"), desired version was Some("4.240.0") this version is Some("4.240.0")
INFO [process_setup] [2025-02-05:15:56:29 TabNine INFO] 
============ Tabnine process /home/<USER>/.local/share/nvim/plugged/tabnine-nvim/binaries/4.240.0/x86_64-unknown-linux-musl/TabNine (526392) started ============
INFO [TabNine::main_utils] [2025-02-05:15:56:29 TabNine INFO] /home/<USER>/.local/share/nvim/plugged/tabnine-nvim/lua/tabnine/../../binaries/4.240.0/x86_64-unknown-linux-musl/TabNine --client nvim --client-metadata ide-restart-counter=1 pluginVersion=1.7.0 --tls_config insecure=false --log-file-path=/home/<USER>/utils/tabnine.log --no_bootstrap
INFO [watchdog_api::wd_client] [2025-02-05:15:56:29 TabNine INFO] Initializing watchdog client...
INFO [bootstrapper::bootstrapper_lib] [2025-02-05:15:56:30 TabNine INFO] current version is Some(Version { major: 4, minor: 240, patch: 0, pre: [], build: [] }), spawned version is Some(Version { major: 4, minor: 240, patch: 0, pre: [], build: [] }), remote version is Version { major: 4, minor: 240, patch: 0, pre: [], build: [] }
INFO [bootstrapper::bootstrapper_lib] [2025-02-05:15:56:30 TabNine INFO] don't need to upgrade
INFO [models_api_singleton] [2025-02-05:15:56:30 TabNine INFO] Creating models api singleton...
INFO [models_api_singleton] [2025-02-05:15:56:30 TabNine INFO] Updating models API access token...
INFO [lunar_connection] [2025-02-05:15:56:30 TabNine INFO] lunar settings update thread started (Local(Public) ce94127b)
INFO [lunar_connection] [2025-02-05:15:56:30 TabNine INFO] lunar settings update thread started (Local(Public) ce94127b)
INFO [auth::capabilities] [2025-02-05:15:56:30 TabNine INFO] User changed. Refreshing capabilities
INFO [lunar_connection] [2025-02-05:15:56:30 TabNine INFO] lunar settings update thread started (Remote cloud)
INFO [auth::capabilities] [2025-02-05:15:56:30 TabNine INFO] Refreshing capabilities
INFO [frontend::initialize] [2025-02-05:15:56:30 TabNine INFO] Started.
INFO [models_api_singleton] [2025-02-05:15:56:30 TabNine INFO] Updated models API access token of user: Some("<FULL_NAME>")
WARN [lunar_connection::cloud_availability] [2025-02-05:15:56:30 TabNine WARN] Cannot connect to cloud: Could not connect to cloud.tabnine.com:443

INFO [actix_server::builder] [2025-02-05:15:56:30 TabNine INFO] starting 10 workers
INFO [ui::http_server] [2025-02-05:15:56:30 TabNine INFO] Hub HTTP server started on http://127.0.0.1:1123/sec-<MAYBE_SENSITIVE>
INFO [actix_server::server] [2025-02-05:15:56:30 TabNine INFO] Tokio runtime found; starting in existing Tokio runtime
INFO [frontend::initialize] [2025-02-05:15:56:30 TabNine INFO] Hub site is: https://hub.tabnine.com/v9/?tabnineUrl=http://127.0.0.1:1123/sec-<MAYBE_SENSITIVE>
INFO [cloud2_utils::snippet_suggestions_host] [2025-02-05:15:56:30 TabNine INFO] enrichment config - returning default config
INFO [cloud2_utils::snippet_suggestions_host] [2025-02-05:15:56:30 TabNine INFO] enrichment config - returning default config
INFO [cloud2_utils::snippet_suggestions_host] [2025-02-05:15:56:30 TabNine INFO] enrichment config - returning default config
INFO [server::indexing::repo_indexer] [2025-02-05:15:56:30 TabNine INFO] Recreating repo indexer, dense false => true, sparse false => true
ERROR [in_app_messaging::internal] [2025-02-05:15:56:35 TabNine ERROR] Error while fetching messages. reqwest::Error { kind: Decode, source: Error("EOF while parsing a value", line: 1, column: 0) }
INFO [io_server::dispatch::shutdown] [2025-02-05:15:56:43 TabNine INFO] Sending finished message from Input
INFO [io_server::dispatch::shutdown] [2025-02-05:15:56:43 TabNine INFO] Sending finished message from ChannelWorker("default")
INFO [io_server::dispatch::shutdown] [2025-02-05:15:56:43 TabNine INFO] Sending finished message from Output
INFO [TabNine] [2025-02-05:15:56:43 TabNine INFO] exiting....
INFO [TabNine::bootstrap_support] [2025-02-05:15:56:44 TabNine INFO] child process 526392 exited with status exit status: 0...

Zaccheuss avatar Feb 05 '25 21:02 Zaccheuss

@Zaccheuss can you try set TABNINE_DOCKER_DISABLED=true in your .bashrc/.zshrc ?

amirbilu avatar Feb 14 '25 14:02 amirbilu

@amirbilu Sorry for late response. I am now TABNINE_DOCKER_DISABLED=true but the graphical issue persists.

Zaccheuss avatar Mar 03 '25 21:03 Zaccheuss