Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project interpreter is not resolved correctly on CLion #41

Closed
InSyncWithFoo opened this issue May 11, 2024 · 1 comment · Fixed by #42
Closed

Project interpreter is not resolved correctly on CLion #41

InSyncWithFoo opened this issue May 11, 2024 · 1 comment · Fixed by #42
Assignees
Labels
bug Something isn't working

Comments

@InSyncWithFoo
Copy link
Owner

On CLion, ProjectRootManager.getInstance(project).projectSdk returns null.

@InSyncWithFoo InSyncWithFoo added the bug Something isn't working label May 11, 2024
@InSyncWithFoo InSyncWithFoo self-assigned this May 11, 2024
@InSyncWithFoo
Copy link
Owner Author

InSyncWithFoo commented May 11, 2024

I stumped into this peculiar situation where the interpreter path was not passed to Pyright:

from collections.abc import Callable  # no error

v: Callable[[int], bool]
#  ~~~~~~~~ Variable not allowed in type expression (reportInvalidTypeForm)

{
	"jsonrpc": "2.0",
	"method": "workspace/didChangeConfiguration",
	"params": {
		"settings": {
			"python": {
				// no "pythonPath"
				"analysis": {
					"logLevel": "Trace",
					"autoImportCompletions": true
				}
			},
			"pyright": {
				"disableTaggedHints": false
			}
		}
	}
}

The logs made it quite obvious (see #42):

Logs
2024-05-11 15:08:41,113 [1631903]   INFO - #com.insyncwithfoo.pyrightls.server.DiagnosticsSupport - AllConfigurations(alwaysUseGlobal=false, globalExecutable=<python-installation>\Scripts\pyright-langserver.exe, useEditorFont=true, addTooltipPrefix=false, linkErrorCodes=true, hoverSupport=true, completionSupport=true, goToDefinitionSupport=false, logLevel=TRACE, taggedHints=true, autoImportCompletions=true, projectExecutable=null, autoSuggestExecutable=true, workspaceFolders=PROJECT_BASE)
2024-05-11 15:08:41,113 [1631903]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Initializing;0): Starting LSP server
2024-05-11 15:08:41,113 [1631903]   INFO - #c.i.p.l.a.LspServerDescriptor - PyrightLSDescriptor@project: starting LSP server: <python-installation>\Scripts\pyright-langserver.exe [--stdio]
2024-05-11 15:08:41,129 [1631919]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Initializing;0): LSP server process started: <python-installation>\Scripts\pyright-langserver.exe --stdio
2024-05-11 15:08:41,129 [1631919]   FINE - #c.i.p.l.i.c.Lsp4jServerConnector - PyrightLSDescriptor@project: LSP server listener thread started
2024-05-11 15:08:41,134 [1631924]   FINE - #c.i.p.l.i.c.Lsp4jServerConnector - PyrightLSDescriptor@project: initializing LSP server
2024-05-11 15:08:41,134 [1631924]   FINE - #c.i.p.l.i.c.Lsp4jServerConnector - --> PyrightLSDescriptor@project: {"jsonrpc":"2.0","id":"1","method":"initialize","params":{"processId":null,"rootPath":"<project-path>","rootUri":"file:///<project-path>","capabilities":{"workspace":{"workspaceEdit":{"documentChanges":true,"resourceOperations":["create"],"failureHandling":"abort"},"didChangeWatchedFiles":{"relativePatternSupport":true,"dynamicRegistration":true},"executeCommand":{"dynamicRegistration":false},"workspaceFolders":true},"textDocument":{"completion":{"completionItem":{"snippetSupport":true,"documentationFormat":["markdown","plaintext"],"deprecatedSupport":true,"tagSupport":{"valueSet":[1]},"insertReplaceSupport":true,"resolveSupport":{"properties":["documentation"]},"labelDetailsSupport":true},"completionList":{"itemDefaults":["commitCharacters","editRange","insertTextFormat","insertTextMode","data"]}},"hover":{"contentFormat":["markdown","plaintext"]},"formatting":{"dynamicRegistration":true},"definition":{"linkSupport":true},"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["quickfix","","source","refactor"]}},"disabledSupport":true},"publishDiagnostics":{"tagSupport":{"valueSet":[1,2]},"versionSupport":true}},"window":{"showMessage":{},"showDocument":{"support":true}},"general":{"staleRequestSupport":{"cancel":true,"retryOnContentModified":[]}}},"clientInfo":{"name":"CLion","version":"241.15989.121"},"workspaceFolders":[{"uri":"file:///<project-path>","name":"start"}]}}
2024-05-11 15:08:41,879 [1632669]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Initializing;0): window/logMessage: Pyright language server 1.1.362 starting
2024-05-11 15:08:41,879 [1632669]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Initializing;0): window/logMessage: Server root directory: file:///<home>/.cache/pyright-python/1.1.362/node_modules/pyright/dist
2024-05-11 15:08:41,895 [1632685]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Initializing;0): window/logMessage: Starting service instance "start"
2024-05-11 15:08:41,895 [1632685]   FINE - #c.i.p.l.i.c.Lsp4jServerConnector - <-- PyrightLSDescriptor@project: {"jsonrpc":"2.0","id":"1","result":{"capabilities":{"textDocumentSync":2,"definitionProvider":{"workDoneProgress":true},"declarationProvider":{"workDoneProgress":true},"typeDefinitionProvider":{"workDoneProgress":true},"referencesProvider":{"workDoneProgress":true},"documentSymbolProvider":{"workDoneProgress":true},"workspaceSymbolProvider":{"workDoneProgress":true},"hoverProvider":{"workDoneProgress":true},"documentHighlightProvider":{"workDoneProgress":true},"renameProvider":{"prepareProvider":true,"workDoneProgress":true},"completionProvider":{"triggerCharacters":[".","[","\"","'"],"resolveProvider":true,"workDoneProgress":true,"completionItem":{"labelDetailsSupport":true}},"signatureHelpProvider":{"triggerCharacters":["(",",",")"],"workDoneProgress":true},"codeActionProvider":{"codeActionKinds":["quickfix","source.organizeImports"],"workDoneProgress":true},"executeCommandProvider":{"commands":[],"workDoneProgress":true},"callHierarchyProvider":true,"workspace":{"workspaceFolders":{"supported":true,"changeNotifications":true}}}}}
2024-05-11 15:08:41,895 [1632685]   FINE - #c.i.p.l.i.c.Lsp4jServerConnector - --> PyrightLSDescriptor@project: {"jsonrpc":"2.0","method":"initialized","params":{}}
2024-05-11 15:08:41,895 [1632685]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;0): LSP server initialized
2024-05-11 15:08:41,905 [1632695]   FINE - #c.i.p.l.i.c.Lsp4jServerConnector - --> PyrightLSDescriptor@project: {"jsonrpc":"2.0","method":"workspace/didChangeConfiguration","params":{"settings":{"python":{"analysis":{"logLevel":"Trace","autoImportCompletions":true}},"pyright":{"disableTaggedHints":false}}}}
2024-05-11 15:08:41,905 [1632695]   FINE - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;0): Opening files after server initialization or after move/rename: [file://<project-path>/.py]
2024-05-11 15:08:41,905 [1632695]   FINE - #c.i.p.l.i.c.Lsp4jServerConnector - --> PyrightLSDescriptor@project: {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"uri":"file:///<project-path>/.py","languageId":"python","version":79,"text":"from typing import Literal\n\nfrom collections.abc import Callable\n\n\nT \u003d Literal[\u0027first\u0027, \u0027second\u0027]\nv: Callable[[T], bool]\n"}}}
2024-05-11 15:08:41,905 [1632695]   FINE - #c.i.p.l.i.c.Lsp4jServerConnector - <-- PyrightLSDescriptor@project: {"jsonrpc":"2.0","id":0,"method":"client/registerCapability","params":{"registrations":[{"id":"13e66600-b46d-4829-a60a-6fa91621e6ef","method":"workspace/didChangeWatchedFiles","registerOptions":{"watchers":[{"globPattern":"**/pyrightconfig.json","kind":7},{"globPattern":"**","kind":7}]}}]}}
2024-05-11 15:08:41,905 [1632695]   FINE - #c.i.p.l.i.c.Lsp4jServerConnector - --> PyrightLSDescriptor@project: {"jsonrpc":"2.0","id":0,"result":null}
2024-05-11 15:08:42,189 [1632979]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage: No configuration file found.
2024-05-11 15:08:42,189 [1632979]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage: No pyproject.toml file found.
2024-05-11 15:08:42,189 [1632979]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage: Assuming Python platform Windows
2024-05-11 15:08:42,189 [1632979]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage: Search paths for file:///<project-path>
2024-05-11 15:08:42,200 [1632990]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   <home>\.cache\pyright-python\1.1.362\node_modules\pyright\dist\typeshed-fallback\stdlib
2024-05-11 15:08:42,200 [1632990]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   <project-path>
2024-05-11 15:08:42,200 [1632990]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   <project-path>\typings
2024-05-11 15:08:42,200 [1632990]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   <home>\.cache\pyright-python\1.1.362\node_modules\pyright\dist\typeshed-fallback\stubs\...
2024-05-11 15:08:42,200 [1632990]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   <python-installation>\DLLs
2024-05-11 15:08:42,200 [1632990]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   <python-installation>\Lib
2024-05-11 15:08:42,200 [1632990]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   <python-installation>
2024-05-11 15:08:42,200 [1632990]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   <python-installation>\Lib\site-packages
2024-05-11 15:08:42,200 [1632990]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage: Adding fs watcher for library directories:
 file:///<python-installation>/DLLs
file:///<python-installation>/Lib
file:///<python-installation>
file:///<python-installation>/Lib/site-packages
2024-05-11 15:08:42,200 [1632990]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage: Adding fs watcher for directories:
 file:///<project-path>
2024-05-11 15:08:42,200 [1632990]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage: Searching for source files
2024-05-11 15:08:42,200 [1632990]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage: Auto-excluding <project-path>\venv
2024-05-11 15:08:42,200 [1632990]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage: No source files found.
2024-05-11 15:08:42,200 [1632990]   FINE - #c.i.p.l.i.c.Lsp4jServerConnector - <-- PyrightLSDescriptor@project: {"jsonrpc":"2.0","id":1,"method":"client/registerCapability","params":{"registrations":[{"id":"9db16e72-0b7a-49ae-8b3a-0cb6b4869420","method":"workspace/didChangeWatchedFiles","registerOptions":{"watchers":[{"globPattern":"**/pyrightconfig.json","kind":7},{"globPattern":"**","kind":7},{"globPattern":{"baseUri":"file:///<python-installation>/Lib","pattern":"**"},"kind":7},{"globPattern":{"baseUri":"file:///<python-installation>","pattern":"**"},"kind":7}]}}]}}
2024-05-11 15:08:42,200 [1632990]   FINE - #c.i.p.l.i.c.Lsp4jServerConnector - --> PyrightLSDescriptor@project: {"jsonrpc":"2.0","id":1,"result":null}
2024-05-11 15:08:42,200 [1632990]   FINE - #c.i.p.l.i.c.Lsp4jServerConnector - <-- PyrightLSDescriptor@project: {"jsonrpc":"2.0","id":2,"method":"client/unregisterCapability","params":{"unregisterations":[{"id":"13e66600-b46d-4829-a60a-6fa91621e6ef","method":"workspace/didChangeWatchedFiles"}]}}
2024-05-11 15:08:42,200 [1632990]   FINE - #c.i.p.l.i.c.Lsp4jServerConnector - --> PyrightLSDescriptor@project: {"jsonrpc":"2.0","id":2,"result":null}
2024-05-11 15:08:42,998 [1633788]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage: [FG] analyzing: file:///<project-path>/.py ...
2024-05-11 15:08:42,998 [1633788]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage: [FG]   parsing: file:///<project-path>/.py (31ms)
2024-05-11 15:08:42,998 [1633788]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage: [FG]   parsing: file:///<home>/.cache/pyright-python/1.1.362/node_modules/pyright/dist/typeshed-fallback/stdlib/builtins.pyi [fs read 2ms] (106ms)
2024-05-11 15:08:42,998 [1633788]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage: [FG]   binding: file:///<home>/.cache/pyright-python/1.1.362/node_modules/pyright/dist/typeshed-fallback/stdlib/builtins.pyi (58ms)
2024-05-11 15:08:43,007 [1633797]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage: [FG]   binding: file:///<project-path>/.py (1ms)
2024-05-11 15:08:43,007 [1633797]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage: [FG]   checking: file:///<project-path>/.py ...
2024-05-11 15:08:43,007 [1633797]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage: [FG]     parsing: file:///<python-installation>/Lib/typing.py [fs read 1ms] (90ms)
2024-05-11 15:08:43,007 [1633797]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage: Could not import '_typing' in file '<python-installation>\Lib\typing.py'
2024-05-11 15:08:43,007 [1633797]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking in stubPath 'file:///<project-path>/typings'
2024-05-11 15:08:43,007 [1633797]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve stub package using root path 'file:///<project-path>/typings'
2024-05-11 15:08:43,007 [1633797]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve using root path 'file:///<project-path>/typings'
2024-05-11 15:08:43,007 [1633797]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking in root directory of execution environment 'file:///<project-path>'
2024-05-11 15:08:43,007 [1633797]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve stub package using root path 'file:///<project-path>'
2024-05-11 15:08:43,007 [1633797]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve using root path 'file:///<project-path>'
2024-05-11 15:08:43,007 [1633797]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Finding python search paths
2024-05-11 15:08:43,007 [1633797]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Executing interpreter: 'python'
2024-05-11 15:08:43,007 [1633797]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Skipping '<python-installation>\python312.zip' because it is not a valid directory
2024-05-11 15:08:43,007 [1633797]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Received 4 paths from interpreter
2024-05-11 15:08:43,007 [1633797]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:     file:///<python-installation>/DLLs
2024-05-11 15:08:43,007 [1633797]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:     file:///<python-installation>/Lib
2024-05-11 15:08:43,014 [1633804]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:     file:///<python-installation>
2024-05-11 15:08:43,014 [1633804]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:     file:///<python-installation>/Lib/site-packages
2024-05-11 15:08:43,014 [1633804]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking in python search path 'file:///<python-installation>/DLLs'
2024-05-11 15:08:43,014 [1633804]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve stub package using root path 'file:///<python-installation>/DLLs'
2024-05-11 15:08:43,014 [1633804]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve using root path 'file:///<python-installation>/DLLs'
2024-05-11 15:08:43,014 [1633804]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking in python search path 'file:///<python-installation>/Lib'
2024-05-11 15:08:43,014 [1633804]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve stub package using root path 'file:///<python-installation>/Lib'
2024-05-11 15:08:43,014 [1633804]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve using root path 'file:///<python-installation>/Lib'
2024-05-11 15:08:43,014 [1633804]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking in python search path 'file:///<python-installation>'
2024-05-11 15:08:43,014 [1633804]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve stub package using root path 'file:///<python-installation>'
2024-05-11 15:08:43,014 [1633804]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve using root path 'file:///<python-installation>'
2024-05-11 15:08:43,014 [1633804]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking in python search path 'file:///<python-installation>/Lib/site-packages'
2024-05-11 15:08:43,014 [1633804]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve stub package using root path 'file:///<python-installation>/Lib/site-packages'
2024-05-11 15:08:43,014 [1633804]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve using root path 'file:///<python-installation>/Lib/site-packages'
2024-05-11 15:08:43,014 [1633804]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking for typeshed stdlib path
2024-05-11 15:08:43,014 [1633804]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking for typeshed stdlib path
2024-05-11 15:08:43,014 [1633804]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve using root path 'file:///<home>/.cache/pyright-python/1.1.362/node_modules/pyright/dist/typeshed-fallback/stdlib'
2024-05-11 15:08:43,014 [1633804]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Typeshed path not found
2024-05-11 15:08:43,014 [1633804]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking for typeshed third-party path
2024-05-11 15:08:43,014 [1633804]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking for typeshed stubs path
2024-05-11 15:08:43,014 [1633804]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Typeshed path not found
2024-05-11 15:08:43,014 [1633804]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage: [FG]     binding: file:///<python-installation>/Lib/typing.py (34ms)
2024-05-11 15:08:43,014 [1633804]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage: [FG]     parsing: file:///<python-installation>/Lib/types.py [fs read 1ms] (6ms)
2024-05-11 15:08:43,014 [1633804]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage: [FG]     binding: file:///<python-installation>/Lib/types.py (5ms)
2024-05-11 15:08:43,022 [1633812]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage: [FG]     parsing: file:///<home>/.cache/pyright-python/1.1.362/node_modules/pyright/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi [fs read 0ms] (10ms)
2024-05-11 15:08:43,022 [1633812]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage: [FG]     binding: file:///<home>/.cache/pyright-python/1.1.362/node_modules/pyright/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi (4ms)
2024-05-11 15:08:43,022 [1633812]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage: [FG]     parsing: file:///<home>/.cache/pyright-python/1.1.362/node_modules/pyright/dist/typeshed-fallback/stdlib/collections/abc.pyi [fs read 1ms] (1ms)
2024-05-11 15:08:43,022 [1633812]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage: [FG]     binding: file:///<home>/.cache/pyright-python/1.1.362/node_modules/pyright/dist/typeshed-fallback/stdlib/collections/abc.pyi ...
2024-05-11 15:08:43,022 [1633812]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage: [FG]       parsing: file:///<home>/.cache/pyright-python/1.1.362/node_modules/pyright/dist/typeshed-fallback/stdlib/_collections_abc.pyi [fs read 0ms] (2ms)
2024-05-11 15:08:43,022 [1633812]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage: [FG]       binding: file:///<home>/.cache/pyright-python/1.1.362/node_modules/pyright/dist/typeshed-fallback/stdlib/_collections_abc.pyi (1ms)
2024-05-11 15:08:43,022 [1633812]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage: [FG]     binding: file:///<home>/.cache/pyright-python/1.1.362/node_modules/pyright/dist/typeshed-fallback/stdlib/collections/abc.pyi (4ms)
2024-05-11 15:08:43,022 [1633812]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage: [FG]     parsing: file:///<home>/.cache/pyright-python/1.1.362/node_modules/pyright/dist/typeshed-fallback/stdlib/collections/__init__.pyi [fs read 0ms] (21ms)
2024-05-11 15:08:43,022 [1633812]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage: [FG]     binding: file:///<home>/.cache/pyright-python/1.1.362/node_modules/pyright/dist/typeshed-fallback/stdlib/collections/__init__.pyi (11ms)
2024-05-11 15:08:43,022 [1633812]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage: [FG]     parsing: file:///<python-installation>/Lib/site-packages/typing_extensions.py [fs read 0ms] (47ms)
2024-05-11 15:08:43,025 [1633815]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage: [FG]     binding: file:///<python-installation>/Lib/site-packages/typing_extensions.py (23ms)
2024-05-11 15:08:43,025 [1633815]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage: [FG]     parsing: file:///<python-installation>/Lib/functools.py [fs read 0ms] (11ms)
2024-05-11 15:08:43,025 [1633815]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage: Could not import '_functools' in file '<python-installation>\Lib\functools.py'
2024-05-11 15:08:43,025 [1633815]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking in stubPath 'file:///<project-path>/typings'
2024-05-11 15:08:43,025 [1633815]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve stub package using root path 'file:///<project-path>/typings'
2024-05-11 15:08:43,025 [1633815]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve using root path 'file:///<project-path>/typings'
2024-05-11 15:08:43,025 [1633815]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking in root directory of execution environment 'file:///<project-path>'
2024-05-11 15:08:43,025 [1633815]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve stub package using root path 'file:///<project-path>'
2024-05-11 15:08:43,025 [1633815]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve using root path 'file:///<project-path>'
2024-05-11 15:08:43,025 [1633815]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Finding python search paths
2024-05-11 15:08:43,025 [1633815]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Executing interpreter: 'python'
2024-05-11 15:08:43,025 [1633815]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Skipping '<python-installation>\python312.zip' because it is not a valid directory
2024-05-11 15:08:43,025 [1633815]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Received 4 paths from interpreter
2024-05-11 15:08:43,025 [1633815]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:     file:///<python-installation>/DLLs
2024-05-11 15:08:43,025 [1633815]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:     file:///<python-installation>/Lib
2024-05-11 15:08:43,025 [1633815]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:     file:///<python-installation>
2024-05-11 15:08:43,025 [1633815]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:     file:///<python-installation>/Lib/site-packages
2024-05-11 15:08:43,032 [1633822]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking in python search path 'file:///<python-installation>/DLLs'
2024-05-11 15:08:43,032 [1633822]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve stub package using root path 'file:///<python-installation>/DLLs'
2024-05-11 15:08:43,032 [1633822]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve using root path 'file:///<python-installation>/DLLs'
2024-05-11 15:08:43,032 [1633822]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking in python search path 'file:///<python-installation>/Lib'
2024-05-11 15:08:43,032 [1633822]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve stub package using root path 'file:///<python-installation>/Lib'
2024-05-11 15:08:43,032 [1633822]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve using root path 'file:///<python-installation>/Lib'
2024-05-11 15:08:43,032 [1633822]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking in python search path 'file:///<python-installation>'
2024-05-11 15:08:43,032 [1633822]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve stub package using root path 'file:///<python-installation>'
2024-05-11 15:08:43,032 [1633822]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve using root path 'file:///<python-installation>'
2024-05-11 15:08:43,032 [1633822]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking in python search path 'file:///<python-installation>/Lib/site-packages'
2024-05-11 15:08:43,032 [1633822]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve stub package using root path 'file:///<python-installation>/Lib/site-packages'
2024-05-11 15:08:43,032 [1633822]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve using root path 'file:///<python-installation>/Lib/site-packages'
2024-05-11 15:08:43,032 [1633822]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking for typeshed stdlib path
2024-05-11 15:08:43,032 [1633822]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking for typeshed stdlib path
2024-05-11 15:08:43,039 [1633829]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve using root path 'file:///<home>/.cache/pyright-python/1.1.362/node_modules/pyright/dist/typeshed-fallback/stdlib'
2024-05-11 15:08:43,039 [1633829]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Typeshed path not found
2024-05-11 15:08:43,039 [1633829]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking for typeshed third-party path
2024-05-11 15:08:43,039 [1633829]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking for typeshed stubs path
2024-05-11 15:08:43,039 [1633829]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Typeshed path not found
2024-05-11 15:08:43,039 [1633829]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage: Could not import '_functools' in file '<python-installation>\Lib\functools.py'
2024-05-11 15:08:43,039 [1633829]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking in stubPath 'file:///<project-path>/typings'
2024-05-11 15:08:43,039 [1633829]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve stub package using root path 'file:///<project-path>/typings'
2024-05-11 15:08:43,039 [1633829]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve using root path 'file:///<project-path>/typings'
2024-05-11 15:08:43,039 [1633829]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking in root directory of execution environment 'file:///<project-path>'
2024-05-11 15:08:43,039 [1633829]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve stub package using root path 'file:///<project-path>'
2024-05-11 15:08:43,045 [1633835]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve using root path 'file:///<project-path>'
2024-05-11 15:08:43,045 [1633835]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Finding python search paths
2024-05-11 15:08:43,045 [1633835]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Executing interpreter: 'python'
2024-05-11 15:08:43,045 [1633835]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Skipping '<python-installation>\python312.zip' because it is not a valid directory
2024-05-11 15:08:43,045 [1633835]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Received 4 paths from interpreter
2024-05-11 15:08:43,045 [1633835]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:     file:///<python-installation>/DLLs
2024-05-11 15:08:43,045 [1633835]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:     file:///<python-installation>/Lib
2024-05-11 15:08:43,045 [1633835]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:     file:///<python-installation>
2024-05-11 15:08:43,045 [1633835]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:     file:///<python-installation>/Lib/site-packages
2024-05-11 15:08:43,045 [1633835]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking in python search path 'file:///<python-installation>/DLLs'
2024-05-11 15:08:43,045 [1633835]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve stub package using root path 'file:///<python-installation>/DLLs'
2024-05-11 15:08:43,045 [1633835]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve using root path 'file:///<python-installation>/DLLs'
2024-05-11 15:08:43,045 [1633835]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking in python search path 'file:///<python-installation>/Lib'
2024-05-11 15:08:43,045 [1633835]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve stub package using root path 'file:///<python-installation>/Lib'
2024-05-11 15:08:43,045 [1633835]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve using root path 'file:///<python-installation>/Lib'
2024-05-11 15:08:43,045 [1633835]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking in python search path 'file:///<python-installation>'
2024-05-11 15:08:43,045 [1633835]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve stub package using root path 'file:///<python-installation>'
2024-05-11 15:08:43,045 [1633835]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve using root path 'file:///<python-installation>'
2024-05-11 15:08:43,045 [1633835]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking in python search path 'file:///<python-installation>/Lib/site-packages'
2024-05-11 15:08:43,045 [1633835]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve stub package using root path 'file:///<python-installation>/Lib/site-packages'
2024-05-11 15:08:43,045 [1633835]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve using root path 'file:///<python-installation>/Lib/site-packages'
2024-05-11 15:08:43,045 [1633835]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking for typeshed stdlib path
2024-05-11 15:08:43,045 [1633835]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking for typeshed stdlib path
2024-05-11 15:08:43,045 [1633835]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve using root path 'file:///<home>/.cache/pyright-python/1.1.362/node_modules/pyright/dist/typeshed-fallback/stdlib'
2024-05-11 15:08:43,045 [1633835]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Typeshed path not found
2024-05-11 15:08:43,045 [1633835]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking for typeshed third-party path
2024-05-11 15:08:43,045 [1633835]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking for typeshed stubs path
2024-05-11 15:08:43,045 [1633835]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Typeshed path not found
2024-05-11 15:08:43,045 [1633835]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage: Could not import '_functools' in file '<python-installation>\Lib\functools.py'
2024-05-11 15:08:43,045 [1633835]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking in stubPath 'file:///<project-path>/typings'
2024-05-11 15:08:43,045 [1633835]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve stub package using root path 'file:///<project-path>/typings'
2024-05-11 15:08:43,045 [1633835]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve using root path 'file:///<project-path>/typings'
2024-05-11 15:08:43,045 [1633835]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking in root directory of execution environment 'file:///<project-path>'
2024-05-11 15:08:43,045 [1633835]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve stub package using root path 'file:///<project-path>'
2024-05-11 15:08:43,061 [1633851]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve using root path 'file:///<project-path>'
2024-05-11 15:08:43,061 [1633851]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Finding python search paths
2024-05-11 15:08:43,061 [1633851]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Executing interpreter: 'python'
2024-05-11 15:08:43,061 [1633851]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Skipping '<python-installation>\python312.zip' because it is not a valid directory
2024-05-11 15:08:43,061 [1633851]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Received 4 paths from interpreter
2024-05-11 15:08:43,061 [1633851]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:     file:///<python-installation>/DLLs
2024-05-11 15:08:43,061 [1633851]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:     file:///<python-installation>/Lib
2024-05-11 15:08:43,061 [1633851]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:     file:///<python-installation>
2024-05-11 15:08:43,061 [1633851]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:     file:///<python-installation>/Lib/site-packages
2024-05-11 15:08:43,061 [1633851]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking in python search path 'file:///<python-installation>/DLLs'
2024-05-11 15:08:43,061 [1633851]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve stub package using root path 'file:///<python-installation>/DLLs'
2024-05-11 15:08:43,061 [1633851]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve using root path 'file:///<python-installation>/DLLs'
2024-05-11 15:08:43,061 [1633851]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking in python search path 'file:///<python-installation>/Lib'
2024-05-11 15:08:43,061 [1633851]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve stub package using root path 'file:///<python-installation>/Lib'
2024-05-11 15:08:43,061 [1633851]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve using root path 'file:///<python-installation>/Lib'
2024-05-11 15:08:43,061 [1633851]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking in python search path 'file:///<python-installation>'
2024-05-11 15:08:43,061 [1633851]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve stub package using root path 'file:///<python-installation>'
2024-05-11 15:08:43,069 [1633859]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve using root path 'file:///<python-installation>'
2024-05-11 15:08:43,069 [1633859]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking in python search path 'file:///<python-installation>/Lib/site-packages'
2024-05-11 15:08:43,070 [1633860]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve stub package using root path 'file:///<python-installation>/Lib/site-packages'
2024-05-11 15:08:43,070 [1633860]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve using root path 'file:///<python-installation>/Lib/site-packages'
2024-05-11 15:08:43,070 [1633860]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking for typeshed stdlib path
2024-05-11 15:08:43,073 [1633863]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking for typeshed stdlib path
2024-05-11 15:08:43,073 [1633863]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve using root path 'file:///<home>/.cache/pyright-python/1.1.362/node_modules/pyright/dist/typeshed-fallback/stdlib'
2024-05-11 15:08:43,073 [1633863]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Typeshed path not found
2024-05-11 15:08:43,073 [1633863]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking for typeshed third-party path
2024-05-11 15:08:43,073 [1633863]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking for typeshed stubs path
2024-05-11 15:08:43,073 [1633863]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Typeshed path not found
2024-05-11 15:08:43,073 [1633863]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage: Could not import '_functools' in file '<python-installation>\Lib\functools.py'
2024-05-11 15:08:43,073 [1633863]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking in stubPath 'file:///<project-path>/typings'
2024-05-11 15:08:43,073 [1633863]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve stub package using root path 'file:///<project-path>/typings'
2024-05-11 15:08:43,073 [1633863]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve using root path 'file:///<project-path>/typings'
2024-05-11 15:08:43,073 [1633863]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking in root directory of execution environment 'file:///<project-path>'
2024-05-11 15:08:43,073 [1633863]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve stub package using root path 'file:///<project-path>'
2024-05-11 15:08:43,073 [1633863]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve using root path 'file:///<project-path>'
2024-05-11 15:08:43,073 [1633863]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Finding python search paths
2024-05-11 15:08:43,073 [1633863]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Executing interpreter: 'python'
2024-05-11 15:08:43,073 [1633863]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Skipping '<python-installation>\python312.zip' because it is not a valid directory
2024-05-11 15:08:43,073 [1633863]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Received 4 paths from interpreter
2024-05-11 15:08:43,073 [1633863]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:     file:///<python-installation>/DLLs
2024-05-11 15:08:43,073 [1633863]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:     file:///<python-installation>/Lib
2024-05-11 15:08:43,073 [1633863]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:     file:///<python-installation>
2024-05-11 15:08:43,073 [1633863]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:     file:///<python-installation>/Lib/site-packages
2024-05-11 15:08:43,073 [1633863]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking in python search path 'file:///<python-installation>/DLLs'
2024-05-11 15:08:43,073 [1633863]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve stub package using root path 'file:///<python-installation>/DLLs'
2024-05-11 15:08:43,073 [1633863]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve using root path 'file:///<python-installation>/DLLs'
2024-05-11 15:08:43,073 [1633863]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking in python search path 'file:///<python-installation>/Lib'
2024-05-11 15:08:43,073 [1633863]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve stub package using root path 'file:///<python-installation>/Lib'
2024-05-11 15:08:43,073 [1633863]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve using root path 'file:///<python-installation>/Lib'
2024-05-11 15:08:43,073 [1633863]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking in python search path 'file:///<python-installation>'
2024-05-11 15:08:43,073 [1633863]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve stub package using root path 'file:///<python-installation>'
2024-05-11 15:08:43,073 [1633863]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve using root path 'file:///<python-installation>'
2024-05-11 15:08:43,073 [1633863]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking in python search path 'file:///<python-installation>/Lib/site-packages'
2024-05-11 15:08:43,073 [1633863]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve stub package using root path 'file:///<python-installation>/Lib/site-packages'
2024-05-11 15:08:43,087 [1633877]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve using root path 'file:///<python-installation>/Lib/site-packages'
2024-05-11 15:08:43,087 [1633877]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking for typeshed stdlib path
2024-05-11 15:08:43,088 [1633878]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking for typeshed stdlib path
2024-05-11 15:08:43,088 [1633878]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Attempting to resolve using root path 'file:///<home>/.cache/pyright-python/1.1.362/node_modules/pyright/dist/typeshed-fallback/stdlib'
2024-05-11 15:08:43,088 [1633878]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Typeshed path not found
2024-05-11 15:08:43,088 [1633878]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking for typeshed third-party path
2024-05-11 15:08:43,088 [1633878]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Looking for typeshed stubs path
2024-05-11 15:08:43,088 [1633878]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage:   Typeshed path not found
2024-05-11 15:08:43,088 [1633878]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage: [FG]     binding: file:///<python-installation>/Lib/functools.py (8ms)
2024-05-11 15:08:43,088 [1633878]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage: [FG]     parsing: file:///<home>/.cache/pyright-python/1.1.362/node_modules/pyright/dist/typeshed-fallback/stdlib/copyreg.pyi [fs read 0ms] (1ms)
2024-05-11 15:08:43,088 [1633878]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage: [FG]     binding: file:///<home>/.cache/pyright-python/1.1.362/node_modules/pyright/dist/typeshed-fallback/stdlib/copyreg.pyi (1ms)
2024-05-11 15:08:43,088 [1633878]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage: [FG]     parsing: file:///<home>/.cache/pyright-python/1.1.362/node_modules/pyright/dist/typeshed-fallback/stdlib/abc.pyi [fs read 0ms] (1ms)
2024-05-11 15:08:43,088 [1633878]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage: [FG]     binding: file:///<home>/.cache/pyright-python/1.1.362/node_modules/pyright/dist/typeshed-fallback/stdlib/abc.pyi (1ms)
2024-05-11 15:08:43,088 [1633878]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage: [FG]     parsing: file:///<home>/.cache/pyright-python/1.1.362/node_modules/pyright/dist/typeshed-fallback/stdlib/_ast.pyi [fs read 0ms] (8ms)
2024-05-11 15:08:43,088 [1633878]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage: [FG]     binding: file:///<home>/.cache/pyright-python/1.1.362/node_modules/pyright/dist/typeshed-fallback/stdlib/_ast.pyi (7ms)
2024-05-11 15:08:43,088 [1633878]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage: [FG]     parsing: file:///<home>/.cache/pyright-python/1.1.362/node_modules/pyright/dist/typeshed-fallback/stdlib/_thread.pyi [fs read 0ms] (1ms)
2024-05-11 15:08:43,088 [1633878]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage: [FG]     binding: file:///<home>/.cache/pyright-python/1.1.362/node_modules/pyright/dist/typeshed-fallback/stdlib/_thread.pyi (1ms)
2024-05-11 15:08:43,088 [1633878]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage: [FG]   checking: file:///<project-path>/.py (567ms)
2024-05-11 15:08:43,088 [1633878]   INFO - #c.i.p.l.i.LspServerImpl - PyrightLSDescriptor@project(Running;1): window/logMessage: [FG] analyzing: file:///<project-path>/.py (771ms)
2024-05-11 15:08:43,088 [1633878]   FINE - #c.i.p.l.i.c.Lsp4jServerConnector - <-- PyrightLSDescriptor@project: {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///<project-path>/.py","version":79,"diagnostics":[{"range":{"start":{"line":6,"character":3},"end":{"line":6,"character":11}},"message":"Variable not allowed in type expression","severity":1,"code":"reportInvalidTypeForm","source":"Pyright","codeDescription":{"href":"https://github.com/microsoft/pyright/blob/main/docs/configuration.md#reportInvalidTypeForm"}}]}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant