Poetry install breaks ruff lsp in neovim
Asthestarsfalll opened this issue · 1 comments
Asthestarsfalll commented
I use conda to manage virtual environments. When I swith to some env that I did not use poetry install
, ruff lsp works well. But When I use poetry install
, it will throw Client ruff quit with exit code 1 and signal 0. Check log for errors:~/.local/state/nvim/lsp.log
. I set vim log level to "debug", the lsp.log:
here
[START][2024-07-03 12:43:59] LSP logging initiated
[ERROR][2024-07-03 12:43:59] ...lsp/handlers.lua:623 'File or directory "/<default workspace root>" does not exist.'
[START][2024-07-03 12:44:19] LSP logging initiated
[INFO][2024-07-03 12:44:19] .../vim/lsp/rpc.lua:731 "Starting RPC client" { cmd = { "/home/starfall/.local/share/nvim/mason/bin/basedpyright-langserver", "--stdio" }, extra = { cwd = "/data/workspace/space.keter.top" }}
[DEBUG][2024-07-03 12:44:19] .../vim/lsp/rpc.lua:286 "rpc.send" { id = 1, jsonrpc = "2.0", method = "initialize", params = { capabilities = { general = { positionEncodings = { "utf-16" } }, offsetEncoding = { "utf-16" }, textDocument = { callHierarchy = { dynamicRegistration = false }, codeAction = { codeActionLiteralSupport = { codeActionKind = { valueSet = { "", "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite", "source", "source.organizeImports" } } }, dataSupport = true, dynamicRegistration = true, isPreferredSupport = true, resolveSupport = { properties = { "edit" } } }, completion = { completionItem = { commitCharactersSupport = true, deprecatedSupport = true, documentationFormat = { "markdown", "plaintext" }, insertReplaceSupport = true, labelDetailsSupport = true, preselectSupport = true, resolveSupport = { properties = { "documentation", "detail", "additionalTextEdits" } }, snippetSupport = true, tagSupport = { valueSet = { 1 } } }, completionItemKind = { valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25 } }, completionList = { itemDefaults = { "editRange", "insertTextFormat", "insertTextMode", "data" } }, contextSupport = false, dynamicRegistration = false }, declaration = { linkSupport = true }, definition = { dynamicRegistration = true, linkSupport = true }, diagnostic = { dynamicRegistration = false }, documentHighlight = { dynamicRegistration = false }, documentSymbol = { dynamicRegistration = false, hierarchicalDocumentSymbolSupport = true, symbolKind = { valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 } } }, foldingRange = { dynamicRegistration = false, lineFoldingOnly = true }, formatting = { dynamicRegistration = true }, hover = { contentFormat = { "markdown", "plaintext" }, dynamicRegistration = true }, implementation = { linkSupport = true }, inlayHint = { dynamicRegistration = true, resolveSupport = { properties = { "textEdits", "tooltip", "location", "command" } } }, publishDiagnostics = { dataSupport = true, relatedInformation = true, tagSupport = { valueSet = { 1, 2 } } }, rangeFormatting = { dynamicRegistration = true }, references = { dynamicRegistration = false }, rename = { dynamicRegistration = true, prepareSupport = true }, semanticTokens = { augmentsSyntaxTokens = true, dynamicRegistration = false, formats = { "relative" }, multilineTokenSupport = false, overlappingTokenSupport = true, requests = { full = { delta = true }, range = false }, serverCancelSupport = false, tokenModifiers = { "declaration", "definition", "readonly", "static", "deprecated", "abstract", "async", "modification", "documentation", "defaultLibrary" }, tokenTypes = { "namespace", "type", "class", "enum", "interface", "struct", "typeParameter", "parameter", "variable", "property", "enumMember", "event", "function", "method", "macro", "keyword", "modifier", "comment", "string", "number", "regexp", "operator", "decorator" } }, signatureHelp = { dynamicRegistration = false, signatureInformation = { activeParameterSupport = true, documentationFormat = { "markdown", "plaintext" }, parameterInformation = { labelOffsetSupport = true } } }, synchronization = { didSave = true, dynamicRegistration = false, willSave = true, willSaveWaitUntil = true }, typeDefinition = { linkSupport = true } }, window = { showDocument = { support = true }, showMessage = { messageActionItem = { additionalPropertiesSupport = false } }, workDoneProgress = true }, workspace = { applyEdit = true, configuration = true, didChangeConfiguration = { dynamicRegistration = false }, didChangeWatchedFiles = { dynamicRegistration = false, relativePatternSupport = true }, inlayHint = { refreshSupport = true }, semanticTokens = { refreshSupport = true }, symbol = { dynamicRegistration = false, symbolKind = { valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 } } }, workspaceEdit = { resourceOperations = { "rename", "create", "delete" } }, workspaceFolders = true } }, clientInfo = { name = "Neovim", version = "0.10.0-dev" }, initializationOptions = vim.empty_dict(), processId = 29772, rootPath = "/data/workspace/space.keter.top", rootUri = "file:///data/workspace/space.keter.top", trace = "off", workDoneToken = "1", workspaceFolders = { { name = "/data/workspace/space.keter.top", uri = "file:///data/workspace/space.keter.top" } } }}
[INFO][2024-07-03 12:44:19] .../vim/lsp/rpc.lua:731 "Starting RPC client" { cmd = { "/home/starfall/.conda/envs/core/bin/ruff", "server", "--preview" }, extra = { cwd = "/data/workspace/space.keter.top" }}
[DEBUG][2024-07-03 12:44:19] .../vim/lsp/rpc.lua:286 "rpc.send" { id = 1, jsonrpc = "2.0", method = "initialize", params = { capabilities = { general = { positionEncodings = { "utf-16" } }, offsetEncoding = { "utf-16" }, textDocument = { callHierarchy = { dynamicRegistration = false }, codeAction = { codeActionLiteralSupport = { codeActionKind = { valueSet = { "", "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite", "source", "source.organizeImports" } } }, dataSupport = true, dynamicRegistration = true, isPreferredSupport = true, resolveSupport = { properties = { "edit" } } }, completion = { completionItem = { commitCharactersSupport = true, deprecatedSupport = true, documentationFormat = { "markdown", "plaintext" }, insertReplaceSupport = true, labelDetailsSupport = true, preselectSupport = true, resolveSupport = { properties = { "documentation", "detail", "additionalTextEdits" } }, snippetSupport = true, tagSupport = { valueSet = { 1 } } }, completionItemKind = { valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25 } }, completionList = { itemDefaults = { "editRange", "insertTextFormat", "insertTextMode", "data" } }, contextSupport = false, dynamicRegistration = false }, declaration = { linkSupport = true }, definition = { dynamicRegistration = true, linkSupport = true }, diagnostic = { dynamicRegistration = false }, documentHighlight = { dynamicRegistration = false }, documentSymbol = { dynamicRegistration = false, hierarchicalDocumentSymbolSupport = true, symbolKind = { valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 } } }, foldingRange = { dynamicRegistration = false, lineFoldingOnly = true }, formatting = { dynamicRegistration = true }, hover = { contentFormat = { "markdown", "plaintext" }, dynamicRegistration = true }, implementation = { linkSupport = true }, inlayHint = { dynamicRegistration = true, resolveSupport = { properties = { "textEdits", "tooltip", "location", "command" } } }, publishDiagnostics = { dataSupport = true, relatedInformation = true, tagSupport = { valueSet = { 1, 2 } } }, rangeFormatting = { dynamicRegistration = true }, references = { dynamicRegistration = false }, rename = { dynamicRegistration = true, prepareSupport = true }, semanticTokens = { augmentsSyntaxTokens = true, dynamicRegistration = false, formats = { "relative" }, multilineTokenSupport = false, overlappingTokenSupport = true, requests = { full = { delta = true }, range = false }, serverCancelSupport = false, tokenModifiers = { "declaration", "definition", "readonly", "static", "deprecated", "abstract", "async", "modification", "documentation", "defaultLibrary" }, tokenTypes = { "namespace", "type", "class", "enum", "interface", "struct", "typeParameter", "parameter", "variable", "property", "enumMember", "event", "function", "method", "macro", "keyword", "modifier", "comment", "string", "number", "regexp", "operator", "decorator" } }, signatureHelp = { dynamicRegistration = false, signatureInformation = { activeParameterSupport = true, documentationFormat = { "markdown", "plaintext" }, parameterInformation = { labelOffsetSupport = true } } }, synchronization = { didSave = true, dynamicRegistration = false, willSave = true, willSaveWaitUntil = true }, typeDefinition = { linkSupport = true } }, window = { showDocument = { support = true }, showMessage = { messageActionItem = { additionalPropertiesSupport = false } }, workDoneProgress = true }, workspace = { applyEdit = true, configuration = true, didChangeConfiguration = { dynamicRegistration = false }, didChangeWatchedFiles = { dynamicRegistration = false, relativePatternSupport = true }, inlayHint = { refreshSupport = true }, semanticTokens = { refreshSupport = true }, symbol = { dynamicRegistration = false, symbolKind = { valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 } } }, workspaceEdit = { resourceOperations = { "rename", "create", "delete" } }, workspaceFolders = true } }, clientInfo = { name = "Neovim", version = "0.10.0-dev" }, initializationOptions = vim.empty_dict(), processId = 29772, rootPath = vim.NIL, rootUri = vim.NIL, trace = "off", workDoneToken = "1", workspaceFolders = vim.NIL }}
[INFO][2024-07-03 12:44:19] .../vim/lsp/rpc.lua:731 "Starting RPC client" { cmd = { "/home/starfall/.conda/envs/core/bin/ruff", "server", "--preview" }, extra = { cwd = "/data/workspace/space.keter.top" }}
[DEBUG][2024-07-03 12:44:19] .../vim/lsp/rpc.lua:286 "rpc.send" { id = 1, jsonrpc = "2.0", method = "initialize", params = { capabilities = { general = { positionEncodings = { "utf-16" } }, offsetEncoding = { "utf-16" }, textDocument = { callHierarchy = { dynamicRegistration = false }, codeAction = { codeActionLiteralSupport = { codeActionKind = { valueSet = { "", "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite", "source", "source.organizeImports" } } }, dataSupport = true, dynamicRegistration = true, isPreferredSupport = true, resolveSupport = { properties = { "edit" } } }, completion = { completionItem = { commitCharactersSupport = true, deprecatedSupport = true, documentationFormat = { "markdown", "plaintext" }, insertReplaceSupport = true, labelDetailsSupport = true, preselectSupport = true, resolveSupport = { properties = { "documentation", "detail", "additionalTextEdits" } }, snippetSupport = true, tagSupport = { valueSet = { 1 } } }, completionItemKind = { valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25 } }, completionList = { itemDefaults = { "editRange", "insertTextFormat", "insertTextMode", "data" } }, contextSupport = false, dynamicRegistration = false }, declaration = { linkSupport = true }, definition = { dynamicRegistration = true, linkSupport = true }, diagnostic = { dynamicRegistration = false }, documentHighlight = { dynamicRegistration = false }, documentSymbol = { dynamicRegistration = false, hierarchicalDocumentSymbolSupport = true, symbolKind = { valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 } } }, foldingRange = { dynamicRegistration = false, lineFoldingOnly = true }, formatting = { dynamicRegistration = true }, hover = { contentFormat = { "markdown", "plaintext" }, dynamicRegistration = true }, implementation = { linkSupport = true }, inlayHint = { dynamicRegistration = true, resolveSupport = { properties = { "textEdits", "tooltip", "location", "command" } } }, publishDiagnostics = { dataSupport = true, relatedInformation = true, tagSupport = { valueSet = { 1, 2 } } }, rangeFormatting = { dynamicRegistration = true }, references = { dynamicRegistration = false }, rename = { dynamicRegistration = true, prepareSupport = true }, semanticTokens = { augmentsSyntaxTokens = true, dynamicRegistration = false, formats = { "relative" }, multilineTokenSupport = false, overlappingTokenSupport = true, requests = { full = { delta = true }, range = false }, serverCancelSupport = false, tokenModifiers = { "declaration", "definition", "readonly", "static", "deprecated", "abstract", "async", "modification", "documentation", "defaultLibrary" }, tokenTypes = { "namespace", "type", "class", "enum", "interface", "struct", "typeParameter", "parameter", "variable", "property", "enumMember", "event", "function", "method", "macro", "keyword", "modifier", "comment", "string", "number", "regexp", "operator", "decorator" } }, signatureHelp = { dynamicRegistration = false, signatureInformation = { activeParameterSupport = true, documentationFormat = { "markdown", "plaintext" }, parameterInformation = { labelOffsetSupport = true } } }, synchronization = { didSave = true, dynamicRegistration = false, willSave = true, willSaveWaitUntil = true }, typeDefinition = { linkSupport = true } }, window = { showDocument = { support = true }, showMessage = { messageActionItem = { additionalPropertiesSupport = false } }, workDoneProgress = true }, workspace = { applyEdit = true, configuration = true, didChangeConfiguration = { dynamicRegistration = false }, didChangeWatchedFiles = { dynamicRegistration = false, relativePatternSupport = true }, inlayHint = { refreshSupport = true }, semanticTokens = { refreshSupport = true }, symbol = { dynamicRegistration = false, symbolKind = { valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 } } }, workspaceEdit = { resourceOperations = { "rename", "create", "delete" } }, workspaceFolders = true } }, clientInfo = { name = "Neovim", version = "0.10.0-dev" }, initializationOptions = vim.empty_dict(), processId = 29772, rootPath = vim.NIL, rootUri = vim.NIL, trace = "off", workDoneToken = "1", workspaceFolders = vim.NIL }}
[INFO][2024-07-03 12:44:19] ...m/lsp/client.lua:618 "LSP[null-ls]" "server_capabilities" { server_capabilities = { codeActionProvider = { resolveProvider = false }, completionProvider = { allCommitCharacters = {}, completionItem = { labelDetailsSupport = true }, resolveProvider = false, triggerCharacters = { ".", ":", "-" } }, documentFormattingProvider = true, documentRangeFormattingProvider = true, executeCommandProvider = { commands = { "NULL_LS_CODE_ACTION" } }, hoverProvider = true, textDocumentSync = { change = 1, openClose = true, save = { includeText = true } } }}
[DEBUG][2024-07-03 12:44:19] .../vim/lsp/rpc.lua:408 "rpc.receive" { jsonrpc = "2.0", method = "window/logMessage", params = { message = "basedpyright language server 1.1.369 starting", type = 3 }}
[DEBUG][2024-07-03 12:44:19] .../vim/lsp/rpc.lua:408 "rpc.receive" { jsonrpc = "2.0", method = "window/logMessage", params = { message = "Server root directory: file:///home/starfall/.local/share/nvim/mason/packages/basedpyright/venv/lib/python3.12/site-packages/basedpyright/dist", type = 3 }}
[DEBUG][2024-07-03 12:44:19] .../vim/lsp/rpc.lua:408 "rpc.receive" { jsonrpc = "2.0", method = "window/logMessage", params = { message = 'Starting service instance "/data/workspace/space.keter.top"', type = 3 }}
[DEBUG][2024-07-03 12:44:19] .../vim/lsp/rpc.lua:408 "rpc.receive" { id = 1, jsonrpc = "2.0", result = { capabilities = { callHierarchyProvider = true, codeActionProvider = { codeActionKinds = { "quickfix", "source.organizeImports" }, workDoneProgress = true }, completionProvider = { completionItem = { labelDetailsSupport = true }, resolveProvider = true, triggerCharacters = { ".", "[", '"', "'" }, workDoneProgress = true }, declarationProvider = { workDoneProgress = true }, definitionProvider = { workDoneProgress = true }, documentHighlightProvider = { workDoneProgress = true }, documentSymbolProvider = { workDoneProgress = true }, executeCommandProvider = { commands = {}, workDoneProgress = true }, hoverProvider = { workDoneProgress = true }, inlayHintProvider = true, referencesProvider = { workDoneProgress = true }, renameProvider = { prepareProvider = true, workDoneProgress = true }, semanticTokensProvider = { full = true, legend = { tokenModifiers = { "definition", "declaration", "async", "readonly", "defaultLibrary", "builtin" }, tokenTypes = { "class", "parameter", "typeParameter", "function", "method", "decorator", "property", "namespace", "variable", "type", "keyword" } } }, signatureHelpProvider = { triggerCharacters = { "(", ",", ")" }, workDoneProgress = true }, textDocumentSync = 2, typeDefinitionProvider = { workDoneProgress = true }, workspace = { workspaceFolders = { changeNotifications = true, supported = true } }, workspaceSymbolProvider = { workDoneProgress = true } } }}
[INFO][2024-07-03 12:44:19] .../vim/lsp/rpc.lua:731 "Starting RPC client" { cmd = { "/home/starfall/.conda/envs/core/bin/ruff", "server", "--preview" }, extra = { cwd = "/data/workspace/space.keter.top" }}
[DEBUG][2024-07-03 12:44:19] .../vim/lsp/rpc.lua:286 "rpc.send" { id = 1, jsonrpc = "2.0", method = "initialize", params = { capabilities = { general = { positionEncodings = { "utf-16" } }, offsetEncoding = { "utf-16" }, textDocument = { callHierarchy = { dynamicRegistration = false }, codeAction = { codeActionLiteralSupport = { codeActionKind = { valueSet = { "", "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite", "source", "source.organizeImports" } } }, dataSupport = true, dynamicRegistration = true, isPreferredSupport = true, resolveSupport = { properties = { "edit" } } }, completion = { completionItem = { commitCharactersSupport = true, deprecatedSupport = true, documentationFormat = { "markdown", "plaintext" }, insertReplaceSupport = true, labelDetailsSupport = true, preselectSupport = true, resolveSupport = { properties = { "documentation", "detail", "additionalTextEdits" } }, snippetSupport = true, tagSupport = { valueSet = { 1 } } }, completionItemKind = { valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25 } }, completionList = { itemDefaults = { "editRange", "insertTextFormat", "insertTextMode", "data" } }, contextSupport = false, dynamicRegistration = false }, declaration = { linkSupport = true }, definition = { dynamicRegistration = true, linkSupport = true }, diagnostic = { dynamicRegistration = false }, documentHighlight = { dynamicRegistration = false }, documentSymbol = { dynamicRegistration = false, hierarchicalDocumentSymbolSupport = true, symbolKind = { valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 } } }, foldingRange = { dynamicRegistration = false, lineFoldingOnly = true }, formatting = { dynamicRegistration = true }, hover = { contentFormat = { "markdown", "plaintext" }, dynamicRegistration = true }, implementation = { linkSupport = true }, inlayHint = { dynamicRegistration = true, resolveSupport = { properties = { "textEdits", "tooltip", "location", "command" } } }, publishDiagnostics = { dataSupport = true, relatedInformation = true, tagSupport = { valueSet = { 1, 2 } } }, rangeFormatting = { dynamicRegistration = true }, references = { dynamicRegistration = false }, rename = { dynamicRegistration = true, prepareSupport = true }, semanticTokens = { augmentsSyntaxTokens = true, dynamicRegistration = false, formats = { "relative" }, multilineTokenSupport = false, overlappingTokenSupport = true, requests = { full = { delta = true }, range = false }, serverCancelSupport = false, tokenModifiers = { "declaration", "definition", "readonly", "static", "deprecated", "abstract", "async", "modification", "documentation", "defaultLibrary" }, tokenTypes = { "namespace", "type", "class", "enum", "interface", "struct", "typeParameter", "parameter", "variable", "property", "enumMember", "event", "function", "method", "macro", "keyword", "modifier", "comment", "string", "number", "regexp", "operator", "decorator" } }, signatureHelp = { dynamicRegistration = false, signatureInformation = { activeParameterSupport = true, documentationFormat = { "markdown", "plaintext" }, parameterInformation = { labelOffsetSupport = true } } }, synchronization = { didSave = true, dynamicRegistration = false, willSave = true, willSaveWaitUntil = true }, typeDefinition = { linkSupport = true } }, window = { showDocument = { support = true }, showMessage = { messageActionItem = { additionalPropertiesSupport = false } }, workDoneProgress = true }, workspace = { applyEdit = true, configuration = true, didChangeConfiguration = { dynamicRegistration = false }, didChangeWatchedFiles = { dynamicRegistration = false, relativePatternSupport = true }, inlayHint = { refreshSupport = true }, semanticTokens = { refreshSupport = true }, symbol = { dynamicRegistration = false, symbolKind = { valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 } } }, workspaceEdit = { resourceOperations = { "rename", "create", "delete" } }, workspaceFolders = true } }, clientInfo = { name = "Neovim", version = "0.10.0-dev" }, initializationOptions = vim.empty_dict(), processId = 29772, rootPath = vim.NIL, rootUri = vim.NIL, trace = "off", workDoneToken = "1", workspaceFolders = vim.NIL }}
[INFO][2024-07-03 12:44:19] ...lsp/handlers.lua:627 "basedpyright language server 1.1.369 starting"
[INFO][2024-07-03 12:44:19] ...lsp/handlers.lua:627 "Server root directory: file:///home/starfall/.local/share/nvim/mason/packages/basedpyright/venv/lib/python3.12/site-packages/basedpyright/dist"
[INFO][2024-07-03 12:44:19] ...lsp/handlers.lua:627 'Starting service instance "/data/workspace/space.keter.top"'
[DEBUG][2024-07-03 12:44:19] .../vim/lsp/rpc.lua:286 "rpc.send" { jsonrpc = "2.0", method = "initialized", params = vim.empty_dict()}
[DEBUG][2024-07-03 12:44:19] .../vim/lsp/rpc.lua:286 "rpc.send" { jsonrpc = "2.0", method = "workspace/didChangeConfiguration", params = { settings = { C_Cpp = { errorSquiggles = "Disabled" }, basedpyright = { analysis = { autoSearchPaths = true, diagnosticMode = "openFilesOnly", reportMissingTypeStubs = false, typeCheckingMode = "basic", useLibraryCodeForTypes = true } }, dictCompletion = { addSpaceAfterCompletion = true }, files = { associations = { iosfwd = "cpp", iostream = "cpp", iterator = "cpp", vector = "cpp" } }, ["mdx-preview"] = { preview = { useVscodeMarkdownStyles = false } } } }}
[DEBUG][2024-07-03 12:44:19] .../vim/lsp/rpc.lua:286 "rpc.send" { jsonrpc = "2.0", method = "textDocument/didOpen", params = { textDocument = { languageId = "python", text = "\n", uri = "file:///data/workspace/space.keter.top/t.py", version = 0 } }}
[DEBUG][2024-07-03 12:44:19] ...m/lsp/client.lua:676 "LSP[basedpyright]" "client.request" 2 "textDocument/inlayHint" { range = { ["end"] = { character = 0, line = 1 }, start = { character = 0, line = 0 } }, textDocument = { uri = "file:///data/workspace/space.keter.top/t.py" }} <function 1> 19
[DEBUG][2024-07-03 12:44:19] .../vim/lsp/rpc.lua:286 "rpc.send" { id = 2, jsonrpc = "2.0", method = "textDocument/inlayHint", params = { range = { ["end"] = { character = 0, line = 1 }, start = { character = 0, line = 0 } }, textDocument = { uri = "file:///data/workspace/space.keter.top/t.py" } }}
[INFO][2024-07-03 12:44:19] ...m/lsp/client.lua:618 "LSP[basedpyright]" "server_capabilities" { server_capabilities = { callHierarchyProvider = true, codeActionProvider = { codeActionKinds = { "quickfix", "source.organizeImports" }, workDoneProgress = true }, completionProvider = { completionItem = { labelDetailsSupport = true }, resolveProvider = true, triggerCharacters = { ".", "[", '"', "'" }, workDoneProgress = true }, declarationProvider = { workDoneProgress = true }, definitionProvider = { workDoneProgress = true }, documentHighlightProvider = { workDoneProgress = true }, documentSymbolProvider = { workDoneProgress = true }, executeCommandProvider = { commands = {}, workDoneProgress = true }, hoverProvider = { workDoneProgress = true }, inlayHintProvider = true, referencesProvider = { workDoneProgress = true }, renameProvider = { prepareProvider = true, workDoneProgress = true }, semanticTokensProvider = { full = true, legend = { tokenModifiers = { "definition", "declaration", "async", "readonly", "defaultLibrary", "builtin" }, tokenTypes = { "class", "parameter", "typeParameter", "function", "method", "decorator", "property", "namespace", "variable", "type", "keyword" } } }, signatureHelpProvider = { triggerCharacters = { "(", ",", ")" }, workDoneProgress = true }, textDocumentSync = { change = 2, openClose = true, save = { includeText = false }, willSave = false, willSaveWaitUntil = false }, typeDefinitionProvider = { workDoneProgress = true }, workspace = { workspaceFolders = { changeNotifications = true, supported = true } }, workspaceSymbolProvider = { workDoneProgress = true } }}
[DEBUG][2024-07-03 12:44:19] .../vim/lsp/rpc.lua:408 "rpc.receive" { id = 0, jsonrpc = "2.0", method = "workspace/configuration", params = { items = { { scopeUri = "file:///data/workspace/space.keter.top", section = "python" } } }}
[DEBUG][2024-07-03 12:44:20] ...m/lsp/client.lua:676 "LSP[basedpyright]" "client.request" 2 "textDocument/documentSymbol" { textDocument = { uri = "file:///data/workspace/space.keter.top/t.py" }} <function 1> 19
[DEBUG][2024-07-03 12:44:20] .../vim/lsp/rpc.lua:286 "rpc.send" { id = 3, jsonrpc = "2.0", method = "textDocument/documentSymbol", params = { textDocument = { uri = "file:///data/workspace/space.keter.top/t.py" } }}
[DEBUG][2024-07-03 12:44:20] ...m/lsp/client.lua:676 "LSP[basedpyright]" "client.request" 2 "textDocument/inlayHint" { range = { ["end"] = { character = 0, line = 1 }, start = { character = 0, line = 0 } }, textDocument = { uri = "file:///data/workspace/space.keter.top/t.py" }} <function 1> 19
[DEBUG][2024-07-03 12:44:20] .../vim/lsp/rpc.lua:286 "rpc.send" { id = 4, jsonrpc = "2.0", method = "textDocument/inlayHint", params = { range = { ["end"] = { character = 0, line = 1 }, start = { character = 0, line = 0 } }, textDocument = { uri = "file:///data/workspace/space.keter.top/t.py" } }}
[DEBUG][2024-07-03 12:44:20] ...m/lsp/client.lua:676 "LSP[basedpyright]" "client.request" 2 "textDocument/semanticTokens/full" { textDocument = { uri = "file:///data/workspace/space.keter.top/t.py" }} <function 1> 19
[DEBUG][2024-07-03 12:44:20] .../vim/lsp/rpc.lua:286 "rpc.send" { id = 5, jsonrpc = "2.0", method = "textDocument/semanticTokens/full", params = { textDocument = { uri = "file:///data/workspace/space.keter.top/t.py" } }}
[DEBUG][2024-07-03 12:44:20] .../vim/lsp/rpc.lua:423 "server_request: callback result" { result = { vim.NIL }, status = true}
[DEBUG][2024-07-03 12:44:20] .../vim/lsp/rpc.lua:286 "rpc.send" { id = 0, jsonrpc = "2.0", result = { vim.NIL }}
[DEBUG][2024-07-03 12:44:20] .../vim/lsp/rpc.lua:408 "rpc.receive" { id = 1, jsonrpc = "2.0", method = "workspace/configuration", params = { items = { { scopeUri = "file:///data/workspace/space.keter.top", section = "basedpyright.analysis" } } }}
[DEBUG][2024-07-03 12:44:20] .../vim/lsp/rpc.lua:423 "server_request: callback result" { result = { { autoSearchPaths = true, diagnosticMode = "openFilesOnly", reportMissingTypeStubs = false, typeCheckingMode = "basic", useLibraryCodeForTypes = true } }, status = true}
[DEBUG][2024-07-03 12:44:20] .../vim/lsp/rpc.lua:286 "rpc.send" { id = 1, jsonrpc = "2.0", result = { { autoSearchPaths = true, diagnosticMode = "openFilesOnly", reportMissingTypeStubs = false, typeCheckingMode = "basic", useLibraryCodeForTypes = true } }}
[DEBUG][2024-07-03 12:44:20] .../vim/lsp/rpc.lua:408 "rpc.receive" { id = 2, jsonrpc = "2.0", method = "workspace/configuration", params = { items = { { scopeUri = "file:///data/workspace/space.keter.top", section = "basedpyright" } } }}
[DEBUG][2024-07-03 12:44:20] .../vim/lsp/rpc.lua:423 "server_request: callback result" { result = { { analysis = { autoSearchPaths = true, diagnosticMode = "openFilesOnly", reportMissingTypeStubs = false, typeCheckingMode = "basic", useLibraryCodeForTypes = true } } }, status = true}
[DEBUG][2024-07-03 12:44:20] .../vim/lsp/rpc.lua:286 "rpc.send" { id = 2, jsonrpc = "2.0", result = { { analysis = { autoSearchPaths = true, diagnosticMode = "openFilesOnly", reportMissingTypeStubs = false, typeCheckingMode = "basic", useLibraryCodeForTypes = true } } }}
[DEBUG][2024-07-03 12:44:20] .../vim/lsp/rpc.lua:408 "rpc.receive" { jsonrpc = "2.0", method = "window/logMessage", params = { message = "No include entries specified; assuming /data/workspace/space.keter.top", type = 3 }}
[INFO][2024-07-03 12:44:20] ...lsp/handlers.lua:627 "No include entries specified; assuming /data/workspace/space.keter.top"
[DEBUG][2024-07-03 12:44:20] .../vim/lsp/rpc.lua:408 "rpc.receive" { jsonrpc = "2.0", method = "window/logMessage", params = { message = "Auto-excluding **/node_modules", type = 3 }}
[DEBUG][2024-07-03 12:44:20] .../vim/lsp/rpc.lua:408 "rpc.receive" { jsonrpc = "2.0", method = "window/logMessage", params = { message = "Auto-excluding **/__pycache__", type = 3 }}
[DEBUG][2024-07-03 12:44:20] .../vim/lsp/rpc.lua:408 "rpc.receive" { jsonrpc = "2.0", method = "window/logMessage", params = { message = "Auto-excluding **/.*", type = 3 }}
[DEBUG][2024-07-03 12:44:20] .../vim/lsp/rpc.lua:408 "rpc.receive" { jsonrpc = "2.0", method = "window/logMessage", params = { message = "Found 2 source files", type = 3 }}
[DEBUG][2024-07-03 12:44:20] .../vim/lsp/rpc.lua:408 "rpc.receive" { id = 3, jsonrpc = "2.0", result = {}}
[DEBUG][2024-07-03 12:44:20] .../vim/lsp/rpc.lua:408 "rpc.receive" { id = 5, jsonrpc = "2.0", result = { data = {}, resultId = "1719981860381" }}
[DEBUG][2024-07-03 12:44:20] .../vim/lsp/rpc.lua:408 "rpc.receive" { id = 2, jsonrpc = "2.0", result = {}}
[DEBUG][2024-07-03 12:44:20] .../vim/lsp/rpc.lua:408 "rpc.receive" { id = 4, jsonrpc = "2.0", result = {}}
[DEBUG][2024-07-03 12:44:20] .../vim/lsp/rpc.lua:408 "rpc.receive" { jsonrpc = "2.0", method = "textDocument/publishDiagnostics", params = { diagnostics = {}, uri = "file:///data/workspace/space.keter.top/t.py", version = 0 }}
[INFO][2024-07-03 12:44:20] ...lsp/handlers.lua:627 "Auto-excluding **/node_modules"
[INFO][2024-07-03 12:44:20] ...lsp/handlers.lua:627 "Auto-excluding **/__pycache__"
[INFO][2024-07-03 12:44:20] ...lsp/handlers.lua:627 "Auto-excluding **/.*"
[INFO][2024-07-03 12:44:20] ...lsp/handlers.lua:627 "Found 2 source files"
[DEBUG][2024-07-03 12:44:20] ...m/lsp/client.lua:676 "LSP[basedpyright]" "client.request" 2 "textDocument/documentHighlight" { position = { character = 0, line = 0 }, textDocument = { uri = "file:///data/workspace/space.keter.top/t.py" }} <function 1> 19
[DEBUG][2024-07-03 12:44:20] .../vim/lsp/rpc.lua:286 "rpc.send" { id = 6, jsonrpc = "2.0", method = "textDocument/documentHighlight", params = { position = { character = 0, line = 0 }, textDocument = { uri = "file:///data/workspace/space.keter.top/t.py" } }}
[DEBUG][2024-07-03 12:44:20] .../vim/lsp/rpc.lua:408 "rpc.receive" { id = 6, jsonrpc = "2.0"}
[DEBUG][2024-07-03 12:44:21] ...m/lsp/client.lua:676 "LSP[basedpyright]" "client.request" 2 "textDocument/documentHighlight" { position = { character = 0, line = 0 }, textDocument = { uri = "file:///data/workspace/space.keter.top/t.py" }} <function 1> 19
[DEBUG][2024-07-03 12:44:21] .../vim/lsp/rpc.lua:286 "rpc.send" { id = 7, jsonrpc = "2.0", method = "textDocument/documentHighlight", params = { position = { character = 0, line = 0 }, textDocument = { uri = "file:///data/workspace/space.keter.top/t.py" } }}
[DEBUG][2024-07-03 12:44:21] .../vim/lsp/rpc.lua:408 "rpc.receive" { id = 7, jsonrpc = "2.0"}
How can I solve this? Thank you for your help in advance!
Asthestarsfalll commented
Reinstallation solved this