DetachHead / basedpyright

pyright fork with various type checking improvements, improved vscode support and pylance features built into the language server
https://docs.basedpyright.com
Other
936 stars 17 forks source link

Language server crashes on vscodium when starting extension #592

Closed bdknguyen closed 1 week ago

bdknguyen commented 3 weeks ago

OS: Windows 11 Editor: VSCodium 1.92.2 Installed pypi package using pip within conda environment

I recently installed the BasedPyright VSCode extension (v1.16.0), but it fails to load because the language server keeps crashing on startup.

Here are the error messages I'm getting:

Screenshot 2024-08-18 230829

And here is the output log:

[Info  - 11:08:10 PM] basedpyright language server 1.16.0 starting
[Info  - 11:08:10 PM] Server root directory: file:///c%3A/Users/nguye/.vscode-oss/extensions/detachhead.basedpyright-1.16.0-universal/dist
[Info  - 11:08:11 PM] Registering request handler for workspace/didChangeWatchedFiles failed.
Error: Unhandled method client/registerCapability
    at handleResponse (c:\Users\nguye\.vscode-oss\extensions\detachhead.basedpyright-1.16.0-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:561:48)
    at handleMessage (c:\Users\nguye\.vscode-oss\extensions\detachhead.basedpyright-1.16.0-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:398:20)
    at Immediate.<anonymous> (c:\Users\nguye\.vscode-oss\extensions\detachhead.basedpyright-1.16.0-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:368:30)
    at processImmediate (node:internal/timers:478:21)
[Error - 11:08:11 PM] Server process exited with code 1.
[Info  - 11:08:11 PM] Connection to server got closed. Server will restart.
true
[Info  - 11:08:12 PM] basedpyright language server 1.16.0 starting
[Info  - 11:08:12 PM] Server root directory: file:///c%3A/Users/nguye/.vscode-oss/extensions/detachhead.basedpyright-1.16.0-universal/dist
[Info  - 11:08:12 PM] Registering request handler for workspace/didChangeWatchedFiles failed.
Error: Unhandled method client/registerCapability
    at handleResponse (c:\Users\nguye\.vscode-oss\extensions\detachhead.basedpyright-1.16.0-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:561:48)
    at handleMessage (c:\Users\nguye\.vscode-oss\extensions\detachhead.basedpyright-1.16.0-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:398:20)
    at Immediate.<anonymous> (c:\Users\nguye\.vscode-oss\extensions\detachhead.basedpyright-1.16.0-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:368:30)
    at processImmediate (node:internal/timers:478:21)
[Error - 11:08:12 PM] Client basedpyright: connection to server is erroring.
Channel closed
[Error - 11:08:12 PM] Server process exited with code 1.
[Info  - 11:08:12 PM] Connection to server got closed. Server will restart.
true
[Info  - 11:08:12 PM] basedpyright language server 1.16.0 starting
[Info  - 11:08:12 PM] Server root directory: file:///c%3A/Users/nguye/.vscode-oss/extensions/detachhead.basedpyright-1.16.0-universal/dist
[Info  - 11:08:12 PM] Registering request handler for workspace/didChangeWatchedFiles failed.
Error: Unhandled method client/registerCapability
    at handleResponse (c:\Users\nguye\.vscode-oss\extensions\detachhead.basedpyright-1.16.0-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:561:48)
    at handleMessage (c:\Users\nguye\.vscode-oss\extensions\detachhead.basedpyright-1.16.0-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:398:20)
    at Immediate.<anonymous> (c:\Users\nguye\.vscode-oss\extensions\detachhead.basedpyright-1.16.0-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:368:30)
    at processImmediate (node:internal/timers:478:21)
[Error - 11:08:13 PM] Server process exited with code 1.
[Info  - 11:08:13 PM] Connection to server got closed. Server will restart.
true
[Info  - 11:08:13 PM] basedpyright language server 1.16.0 starting
[Info  - 11:08:13 PM] Server root directory: file:///c%3A/Users/nguye/.vscode-oss/extensions/detachhead.basedpyright-1.16.0-universal/dist
[Info  - 11:08:13 PM] Registering request handler for workspace/didChangeWatchedFiles failed.
Error: Unhandled method client/registerCapability
    at handleResponse (c:\Users\nguye\.vscode-oss\extensions\detachhead.basedpyright-1.16.0-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:561:48)
    at handleMessage (c:\Users\nguye\.vscode-oss\extensions\detachhead.basedpyright-1.16.0-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:398:20)
    at Immediate.<anonymous> (c:\Users\nguye\.vscode-oss\extensions\detachhead.basedpyright-1.16.0-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:368:30)
    at processImmediate (node:internal/timers:478:21)
[Error - 11:08:13 PM] Server process exited with code 1.
[Info  - 11:08:13 PM] Connection to server got closed. Server will restart.
true
[Info  - 11:08:14 PM] basedpyright language server 1.16.0 starting
[Info  - 11:08:14 PM] Server root directory: file:///c%3A/Users/nguye/.vscode-oss/extensions/detachhead.basedpyright-1.16.0-universal/dist
[Info  - 11:08:14 PM] Registering request handler for workspace/didChangeWatchedFiles failed.
Error: Unhandled method client/registerCapability
    at handleResponse (c:\Users\nguye\.vscode-oss\extensions\detachhead.basedpyright-1.16.0-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:561:48)
    at handleMessage (c:\Users\nguye\.vscode-oss\extensions\detachhead.basedpyright-1.16.0-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:398:20)
    at Immediate.<anonymous> (c:\Users\nguye\.vscode-oss\extensions\detachhead.basedpyright-1.16.0-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:368:30)
    at processImmediate (node:internal/timers:478:21)
[Error - 11:08:14 PM] Server process exited with code 1.
[Error - 11:08:14 PM] The basedpyright server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.
DetachHead commented 3 weeks ago

did you install the basedpyright pypi package? or are you just using the version of the language server that's bundled with the vscode extension?

if you're trying to use the version from pypi, it's possible that your installation got corrupted. this can happen if the vscode extension was running while you updated the package. try deleting and recreating your venv and see if that fixes it.

though from those logs it looks like it's using the bundled version, which is quite concerning if that's crashing. can you go to Help > Toggle Developer Tools and see if it logged anything noteworthy to the console?

bdknguyen commented 3 weeks ago

Thanks for getting back to me! I installed the BasedPyright pypi package in my conda environment, but from looking at the console log it seems like the VSCode extension is unable to find it. However, I managed to find it in miniconda3\Lib\site-packages.

Anyway, here are some noteworthy things I found in the console log:

workbench.desktop.main.js:660   ERR spawn c:\Users\nguye\.vscode-oss\extensions\ms-python.python-2024.12.3-universal\python-env-tools\bin\pet.exe ENOENT: Error: spawn c:\Users\nguye\.vscode-oss\extensions\ms-python.python-2024.12.3-universal\python-env-tools\bin\pet.exe ENOENT
    at ChildProcess._handle.onexit (node:internal/child_process:286:19)
    at onErrorNT (node:internal/child_process:484:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

workbench.desktop.main.js:97 [Extension Host] failed to find pyright executable, falling back to bundled: C:\Users\nguye\miniconda3\basedpyright-langserver.exe
E @ workbench.desktop.main.js:97

workbench.desktop.main.js:97 [Extension Host] using bundled pyright

workbench.desktop.main.js:820 The basedpyright server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.
onDidChangeNotification @ workbench.desktop.main.js:820
DetachHead commented 3 weeks ago

hmm, nothing helpful there. the only noteworthy thing i can see is this from the first log you posted:

Error: Unhandled method client/registerCapability
    at handleResponse (c:\Users\nguye\.vscode-oss\extensions\detachhead.basedpyright-1.16.0-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:561:48)
    at handleMessage (c:\Users\nguye\.vscode-oss\extensions\detachhead.basedpyright-1.16.0-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:398:20)
    at Immediate.<anonymous> (c:\Users\nguye\.vscode-oss\extensions\detachhead.basedpyright-1.16.0-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:368:30)
    at processImmediate (node:internal/timers:478:21)

i have no idea what could be causing it. though. does the issue persist if you uninstall and reinstall the extension?

bdknguyen commented 3 weeks ago

Unfortunately yes, the issue still pops up even when I uninstall and reinstall the extension. The recent update to v1.17.0 didn't resolve it either.

-------- Original Message -------- On 8/21/24 6:24 AM, DetachHead wrote:

hmm, nothing helpful there. the only noteworthy thing i can see is this from the first log you posted:

Error: Unhandled method client/registerCapability at handleResponse (c:\Users\nguye.vscode-oss\extensions\detachhead.basedpyright-1.16.0-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:561:48) at handleMessage (c:\Users\nguye.vscode-oss\extensions\detachhead.basedpyright-1.16.0-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:398:20) at Immediate. (c:\Users\nguye.vscode-oss\extensions\detachhead.basedpyright-1.16.0-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:368:30) at processImmediate (node:internal/timers:478:21)

i have no idea what could be causing it. though. does the issue persist if you uninstall and reinstall the extension?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

DetachHead commented 3 weeks ago

can you set basedpyright.analysis.logLevel to "Trace" in the extension settings, restart vscode and see if that makes anything more show up in the logs?

bdknguyen commented 2 weeks ago

Sorry for taking a while to get back to you, I was away from my computer for a while. This is what I got when I set the extension log level to "Trace":

[Info  - 7:26:19 PM] basedpyright language server 1.17.1 starting
[Info  - 7:26:19 PM] Server root directory: file:///c%3A/Users/nguye/.vscode-oss/extensions/detachhead.basedpyright-1.17.1-universal/dist
[Info  - 7:26:19 PM] Registering request handler for workspace/didChangeWatchedFiles failed.
Error: Unhandled method client/registerCapability
    at handleResponse (c:\Users\nguye\.vscode-oss\extensions\detachhead.basedpyright-1.17.1-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:561:48)
    at handleMessage (c:\Users\nguye\.vscode-oss\extensions\detachhead.basedpyright-1.17.1-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:398:20)
    at Immediate.<anonymous> (c:\Users\nguye\.vscode-oss\extensions\detachhead.basedpyright-1.17.1-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:368:30)
    at processImmediate (node:internal/timers:478:21)
[Error - 7:26:19 PM] Server process exited with code 1.
[Info  - 7:26:19 PM] Connection to server got closed. Server will restart.
true
[Info  - 7:26:19 PM] basedpyright language server 1.17.1 starting
[Info  - 7:26:19 PM] Server root directory: file:///c%3A/Users/nguye/.vscode-oss/extensions/detachhead.basedpyright-1.17.1-universal/dist
[Info  - 7:26:19 PM] Registering request handler for workspace/didChangeWatchedFiles failed.
Error: Unhandled method client/registerCapability
    at handleResponse (c:\Users\nguye\.vscode-oss\extensions\detachhead.basedpyright-1.17.1-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:561:48)
    at handleMessage (c:\Users\nguye\.vscode-oss\extensions\detachhead.basedpyright-1.17.1-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:398:20)
    at Immediate.<anonymous> (c:\Users\nguye\.vscode-oss\extensions\detachhead.basedpyright-1.17.1-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:368:30)
    at processImmediate (node:internal/timers:478:21)
[Error - 7:26:20 PM] Server process exited with code 1.
[Info  - 7:26:20 PM] Connection to server got closed. Server will restart.
true
[Info  - 7:26:20 PM] basedpyright language server 1.17.1 starting
[Info  - 7:26:20 PM] Server root directory: file:///c%3A/Users/nguye/.vscode-oss/extensions/detachhead.basedpyright-1.17.1-universal/dist
[Info  - 7:26:20 PM] Registering request handler for workspace/didChangeWatchedFiles failed.
Error: Unhandled method client/registerCapability
    at handleResponse (c:\Users\nguye\.vscode-oss\extensions\detachhead.basedpyright-1.17.1-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:561:48)
    at handleMessage (c:\Users\nguye\.vscode-oss\extensions\detachhead.basedpyright-1.17.1-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:398:20)
    at Immediate.<anonymous> (c:\Users\nguye\.vscode-oss\extensions\detachhead.basedpyright-1.17.1-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:368:30)
    at processImmediate (node:internal/timers:478:21)
[Error - 7:26:21 PM] Server process exited with code 1.
[Info  - 7:26:21 PM] Connection to server got closed. Server will restart.
true
[Info  - 7:26:21 PM] basedpyright language server 1.17.1 starting
[Info  - 7:26:21 PM] Server root directory: file:///c%3A/Users/nguye/.vscode-oss/extensions/detachhead.basedpyright-1.17.1-universal/dist
[Info  - 7:26:21 PM] Registering request handler for workspace/didChangeWatchedFiles failed.
Error: Unhandled method client/registerCapability
    at handleResponse (c:\Users\nguye\.vscode-oss\extensions\detachhead.basedpyright-1.17.1-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:561:48)
    at handleMessage (c:\Users\nguye\.vscode-oss\extensions\detachhead.basedpyright-1.17.1-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:398:20)
    at Immediate.<anonymous> (c:\Users\nguye\.vscode-oss\extensions\detachhead.basedpyright-1.17.1-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:368:30)
    at processImmediate (node:internal/timers:478:21)
[Error - 7:26:21 PM] Server process exited with code 1.
[Info  - 7:26:21 PM] Connection to server got closed. Server will restart.
true
[Info  - 7:26:21 PM] basedpyright language server 1.17.1 starting
[Info  - 7:26:21 PM] Server root directory: file:///c%3A/Users/nguye/.vscode-oss/extensions/detachhead.basedpyright-1.17.1-universal/dist
[Info  - 7:26:21 PM] Registering request handler for workspace/didChangeWatchedFiles failed.
Error: Unhandled method client/registerCapability
    at handleResponse (c:\Users\nguye\.vscode-oss\extensions\detachhead.basedpyright-1.17.1-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:561:48)
    at handleMessage (c:\Users\nguye\.vscode-oss\extensions\detachhead.basedpyright-1.17.1-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:398:20)
    at Immediate.<anonymous> (c:\Users\nguye\.vscode-oss\extensions\detachhead.basedpyright-1.17.1-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:368:30)
    at processImmediate (node:internal/timers:478:21)
[Error - 7:26:22 PM] Server process exited with code 1.
[Error - 7:26:22 PM] The basedpyright server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.
DetachHead commented 2 weeks ago

are you able to see if it works in vscode instead of vscodium? for me it works in both but just trying to narrow down the issue as i have no clue what could be going on here

maybe also list any other extensions you have installed

bdknguyen commented 2 weeks ago

Yeah it works in my VSCode installation. And oddly enough, when I did a fresh install of VSCodium and transferred my old extensions/settings to this installation, the BasedPyright extension worked. I'm not sure what was wrong with my previous VSCodium installation, but a fresh install seemed to fix whatever issue that was.

Anyway thank you for your help, and I'll let you know if I run into any new issues.

DetachHead commented 2 weeks ago

i'll assume your vscodium installation was corrupted or something and close this issue. let us know if it happens again and we can reopen it

felix9743 commented 1 week ago

I would like to re-open this topic because I have the same problem with the modern versions of BasedPyright. Here is some information on its execution context:


Environnement - **System:** Windows 10 22H2 (19045.4780) - **IDE:** VSCodium x64 1.91.1 - **BasedPyright bug version:** 1.15.2 and superior - **BasedPyright last work version:** 1.15.1 - **Python extension:** ms-python.python (version: 2024.12.3), ms-python.debugpy (version: 2024.8.0)
BasedPyright LOG with "basedpyright.analysis.logLevel": "Trace" - Working version (1.15.1): > [Info - 5:36:09 AM] basedpyright language server 1.15.1 starting [Info - 5:36:09 AM] Server root directory: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.15.1-universal/dist [Info - 5:36:09 AM] Starting service instance "" Received pythonPath from Python extension: C:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\python.exe Received pythonPath from Python extension: C:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\python.exe No pyproject.toml file found. [Info - 5:36:09 AM] Setting pythonPath for service "": "c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\python.exe" [Info - 5:36:09 AM] No include entries specified; assuming \ [Info - 5:36:09 AM] Auto-excluding **/node_modules [Info - 5:36:09 AM] Auto-excluding **/__pycache__ [Info - 5:36:09 AM] Auto-excluding **/.* [Info - 5:36:09 AM] Assuming Python version 3.11.9.final.0 [Info - 5:36:10 AM] Search paths for file:///%3Cdefault%20workspace%20root%3E [Info - 5:36:10 AM] e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.15.1-universal\dist\typeshed-fallback\stdlib [Info - 5:36:10 AM] \ [Info - 5:36:10 AM] \\typings [Info - 5:36:10 AM] e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.15.1-universal\dist\typeshed-fallback\stubs\... [Info - 5:36:10 AM] c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\DLLs [Info - 5:36:10 AM] c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\Lib [Info - 5:36:10 AM] c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9 [Info - 5:36:10 AM] c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\Lib\site-packages [Info - 5:36:10 AM] Adding fs watcher for library directories: file:///c%3A/Users/MyPC/.pyenv/pyenv-win/versions/3.11.9/DLLs file:///c%3A/Users/MyPC/.pyenv/pyenv-win/versions/3.11.9/Lib file:///c%3A/Users/MyPC/.pyenv/pyenv-win/versions/3.11.9 file:///c%3A/Users/MyPC/.pyenv/pyenv-win/versions/3.11.9/Lib/site-packages [Info - 5:36:10 AM] Adding fs watcher for directories: file:///%3Cdefault%20workspace%20root%3E Searching for source files [Error - 5:36:10 AM] File or directory "\" does not exist. [Info - 5:36:10 AM] No source files found. [Info - 5:36:10 AM] Background analysis(1) root directory: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.15.1-universal/dist [Info - 5:36:10 AM] Background analysis(1) started No pyproject.toml file found. [Info - 5:36:10 AM] Setting pythonPath for service "": "c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\python.exe" [Info - 5:36:10 AM] No include entries specified; assuming \ [Info - 5:36:10 AM] Auto-excluding **/node_modules [Info - 5:36:10 AM] Auto-excluding **/__pycache__ [Info - 5:36:10 AM] Auto-excluding **/.* [Info - 5:36:10 AM] Assuming Python version 3.11.9.final.0 [Info - 5:36:10 AM] Search paths for file:///%3Cdefault%20workspace%20root%3E [Info - 5:36:10 AM] e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.15.1-universal\dist\typeshed-fallback\stdlib [Info - 5:36:10 AM] \ [Info - 5:36:10 AM] \\typings [Info - 5:36:10 AM] e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.15.1-universal\dist\typeshed-fallback\stubs\... [Info - 5:36:10 AM] c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\DLLs [Info - 5:36:10 AM] c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\Lib [Info - 5:36:10 AM] c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9 [Info - 5:36:10 AM] c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\Lib\site-packages [Info - 5:36:10 AM] Adding fs watcher for library directories: file:///c%3A/Users/MyPC/.pyenv/pyenv-win/versions/3.11.9/DLLs file:///c%3A/Users/MyPC/.pyenv/pyenv-win/versions/3.11.9/Lib file:///c%3A/Users/MyPC/.pyenv/pyenv-win/versions/3.11.9 file:///c%3A/Users/MyPC/.pyenv/pyenv-win/versions/3.11.9/Lib/site-packages [Info - 5:36:10 AM] Adding fs watcher for directories: file:///%3Cdefault%20workspace%20root%3E Searching for source files [Error - 5:36:10 AM] File or directory "\" does not exist. [Info - 5:36:10 AM] No source files found. [BG(1)] analyzing: untitled:Untitled-1 ... [BG(1)] parsing: untitled:Untitled-1 (162ms) [BG(1)] parsing: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.15.1-universal/dist/typeshed-fallback/stdlib/builtins.pyi [fs read 4ms] (155ms) [BG(1)] binding: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.15.1-universal/dist/typeshed-fallback/stdlib/builtins.pyi (57ms) [BG(1)] binding: untitled:Untitled-1 (0ms) [BG(1)] checking: untitled:Untitled-1 ... [BG(1)] parsing: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.15.1-universal/dist/typeshed-fallback/stdlib/typing.pyi [fs read 1ms] (28ms) [BG(1)] binding: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.15.1-universal/dist/typeshed-fallback/stdlib/typing.pyi (9ms) [BG(1)] parsing: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.15.1-universal/dist/typeshed-fallback/stdlib/types.pyi [fs read 0ms] (12ms) [BG(1)] binding: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.15.1-universal/dist/typeshed-fallback/stdlib/types.pyi (8ms) [BG(1)] parsing: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.15.1-universal/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi [fs read 1ms] (8ms) [BG(1)] binding: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.15.1-universal/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi (4ms) [BG(1)] parsing: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.15.1-universal/dist/typeshed-fallback/stdlib/abc.pyi [fs read 1ms] (2ms) [BG(1)] binding: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.15.1-universal/dist/typeshed-fallback/stdlib/abc.pyi (1ms) [BG(1)] checking: untitled:Untitled-1 (134ms) [BG(1)] analyzing: untitled:Untitled-1 (517ms) [FG] parsing: untitled:Untitled-1 (17ms) [FG] parsing: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.15.1-universal/dist/typeshed-fallback/stdlib/builtins.pyi [fs read 3ms] (98ms) [FG] binding: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.15.1-universal/dist/typeshed-fallback/stdlib/builtins.pyi (40ms) [FG] binding: untitled:Untitled-1 (0ms) [FG] parsing: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.15.1-universal/dist/typeshed-fallback/stdlib/typing.pyi [fs read 1ms] (21ms) [FG] binding: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.15.1-universal/dist/typeshed-fallback/stdlib/typing.pyi (8ms) [FG] parsing: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.15.1-universal/dist/typeshed-fallback/stdlib/types.pyi [fs read 0ms] (15ms) [FG] binding: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.15.1-universal/dist/typeshed-fallback/stdlib/types.pyi (4ms) [FG] parsing: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.15.1-universal/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi [fs read 0ms] (3ms) [FG] binding: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.15.1-universal/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi (2ms) [FG] parsing: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.15.1-universal/dist/typeshed-fallback/stdlib/abc.pyi [fs read 0ms] (1ms) [FG] binding: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.15.1-universal/dist/typeshed-fallback/stdlib/abc.pyi (1ms)
BasedPyright LOG with "basedpyright.analysis.logLevel": "Trace" - Unworking version (1.15.2): > [Info - 5:47:14 AM] basedpyright language server 1.15.2 starting [Info - 5:47:14 AM] Server root directory: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.15.2-universal/dist [Info - 5:47:14 AM] Registering request handler for workspace/didChangeWatchedFiles failed. Error: Unhandled method client/registerCapability at handleResponse (e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.15.2-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:561:48) at handleMessage (e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.15.2-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:398:20) at Immediate. (e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.15.2-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:368:30) at processImmediate (node:internal/timers:478:21) [Error - 5:47:15 AM] Server process exited with code 1. [Info - 5:47:15 AM] Connection to server got closed. Server will restart. true [Info - 5:47:15 AM] basedpyright language server 1.15.2 starting [Info - 5:47:15 AM] Server root directory: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.15.2-universal/dist [Info - 5:47:15 AM] Registering request handler for workspace/didChangeWatchedFiles failed. Error: Unhandled method client/registerCapability at handleResponse (e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.15.2-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:561:48) at handleMessage (e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.15.2-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:398:20) at Immediate. (e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.15.2-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:368:30) at processImmediate (node:internal/timers:478:21) [Error - 5:47:16 AM] Server process exited with code 1. [Info - 5:47:16 AM] Connection to server got closed. Server will restart. true [Info - 5:47:16 AM] basedpyright language server 1.15.2 starting [Info - 5:47:16 AM] Server root directory: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.15.2-universal/dist [Info - 5:47:16 AM] Registering request handler for workspace/didChangeWatchedFiles failed. Error: Unhandled method client/registerCapability at handleResponse (e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.15.2-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:561:48) at handleMessage (e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.15.2-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:398:20) at Immediate. (e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.15.2-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:368:30) at processImmediate (node:internal/timers:478:21) [Error - 5:47:16 AM] Server process exited with code 1. [Info - 5:47:16 AM] Connection to server got closed. Server will restart. true [Info - 5:47:18 AM] basedpyright language server 1.15.2 starting [Info - 5:47:18 AM] Server root directory: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.15.2-universal/dist [Info - 5:47:18 AM] Registering request handler for workspace/didChangeWatchedFiles failed. Error: Unhandled method client/registerCapability at handleResponse (e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.15.2-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:561:48) at handleMessage (e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.15.2-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:398:20) at Immediate. (e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.15.2-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:368:30) at processImmediate (node:internal/timers:478:21) [Error - 5:47:18 AM] Server process exited with code 1. [Info - 5:47:18 AM] Connection to server got closed. Server will restart. true [Info - 5:47:18 AM] basedpyright language server 1.15.2 starting [Info - 5:47:18 AM] Server root directory: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.15.2-universal/dist [Info - 5:47:18 AM] Registering request handler for workspace/didChangeWatchedFiles failed. Error: Unhandled method client/registerCapability at handleResponse (e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.15.2-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:561:48) at handleMessage (e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.15.2-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:398:20) at Immediate. (e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.15.2-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:368:30) at processImmediate (node:internal/timers:478:21) [Error - 5:47:19 AM] Server process exited with code 1. [Error - 5:47:19 AM] The basedpyright server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.
BasedPyright LOG with "basedpyright.analysis.logLevel": "Trace" - Unworking version (latest): > [Info - 5:43:39 AM] basedpyright language server 1.17.1 starting [Info - 5:43:39 AM] Server root directory: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.17.1-universal/dist [Info - 5:43:39 AM] Registering request handler for workspace/didChangeWatchedFiles failed. Error: Unhandled method client/registerCapability at handleResponse (e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.17.1-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:561:48) at handleMessage (e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.17.1-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:398:20) at Immediate. (e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.17.1-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:368:30) at processImmediate (node:internal/timers:478:21) [Error - 5:43:39 AM] Server process exited with code 1. [Info - 5:43:39 AM] Connection to server got closed. Server will restart. true [Info - 5:43:40 AM] basedpyright language server 1.17.1 starting [Info - 5:43:40 AM] Server root directory: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.17.1-universal/dist [Info - 5:43:40 AM] Registering request handler for workspace/didChangeWatchedFiles failed. Error: Unhandled method client/registerCapability at handleResponse (e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.17.1-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:561:48) at handleMessage (e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.17.1-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:398:20) at Immediate. (e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.17.1-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:368:30) at processImmediate (node:internal/timers:478:21) [Error - 5:43:40 AM] Server process exited with code 1. [Info - 5:43:40 AM] Connection to server got closed. Server will restart. true [Info - 5:43:40 AM] basedpyright language server 1.17.1 starting [Info - 5:43:40 AM] Server root directory: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.17.1-universal/dist [Info - 5:43:40 AM] Registering request handler for workspace/didChangeWatchedFiles failed. Error: Unhandled method client/registerCapability at handleResponse (e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.17.1-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:561:48) at handleMessage (e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.17.1-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:398:20) at Immediate. (e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.17.1-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:368:30) at processImmediate (node:internal/timers:478:21) [Error - 5:43:41 AM] Server process exited with code 1. [Info - 5:43:41 AM] Connection to server got closed. Server will restart. true [Info - 5:43:41 AM] basedpyright language server 1.17.1 starting [Info - 5:43:41 AM] Server root directory: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.17.1-universal/dist [Info - 5:43:41 AM] Registering request handler for workspace/didChangeWatchedFiles failed. Error: Unhandled method client/registerCapability at handleResponse (e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.17.1-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:561:48) at handleMessage (e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.17.1-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:398:20) at Immediate. (e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.17.1-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:368:30) at processImmediate (node:internal/timers:478:21) [Error - 5:43:42 AM] Server process exited with code 1. [Info - 5:43:42 AM] Connection to server got closed. Server will restart. true [Info - 5:43:42 AM] basedpyright language server 1.17.1 starting [Info - 5:43:42 AM] Server root directory: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.17.1-universal/dist [Info - 5:43:42 AM] Registering request handler for workspace/didChangeWatchedFiles failed. Error: Unhandled method client/registerCapability at handleResponse (e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.17.1-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:561:48) at handleMessage (e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.17.1-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:398:20) at Immediate. (e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.17.1-universal\dist\pyright-internal\node_modules\vscode-jsonrpc\lib\common\connection.js:368:30) at processImmediate (node:internal/timers:478:21) [Error - 5:43:42 AM] Server process exited with code 1. [Error - 5:43:42 AM] The basedpyright server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.


If you need more information or tests, let me know. For the moment, I will use version 1.15.1 because I need the extension.

DetachHead commented 1 week ago

does reinstalling vscodium fix the issue for you like it did for @bdknguyen?

DetachHead commented 1 week ago

pretty sure i know what the issue is, fix will be in the next release

felix9743 commented 1 week ago

does reinstalling vscodium fix the issue for you like it did for @bdknguyen? v pouviezus

I forgot to specify it in my message but I of course tested the complete reinstallation and no, it doesn't change anything.

pretty sure i know what the issue is, fix will be in the next release

I don't know how to compile an extension so I can't test it alone. If you could send me the update of #637 in .VSIX I could be your beta tester; otherwise, I will wait for the official update to tell you if it reworks.

DetachHead commented 1 week ago

you can download the .vsix from the CI artifacts, thanks

felix9743 commented 1 week ago

you can download the .vsix from the CI artifacts, thanks

Ok, my bad 😅 Otherwise... bad news:

image

LOG Installed offline because if I installing online, I don't know why but it updating automatically. > [Info - 14:03:26] basedpyright language server 1.1.378 starting [Info - 14:03:26] Server root directory: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.1.378/dist [Info - 14:03:26] Starting service instance "" Received pythonPath from Python extension: C:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\python.exe Received pythonPath from Python extension: C:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\python.exe No pyproject.toml file found. [Info - 14:03:26] Setting pythonPath for service "": "c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\python.exe" [Info - 14:03:26] No include entries specified; assuming \ [Info - 14:03:26] Auto-excluding **/node_modules [Info - 14:03:26] Auto-excluding **/__pycache__ [Info - 14:03:26] Auto-excluding **/.* [Info - 14:03:26] Assuming Python version 3.11.9.final.0 [Info - 14:03:26] Search paths for file:///%3Cdefault%20workspace%20root%3E [Info - 14:03:26] e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.1.378\dist\typeshed-fallback\stdlib [Info - 14:03:26] \ [Info - 14:03:26] \\typings [Info - 14:03:26] e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.1.378\dist\typeshed-fallback\stubs\... [Info - 14:03:26] c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\DLLs [Info - 14:03:26] c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\Lib [Info - 14:03:26] c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9 [Info - 14:03:26] c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\Lib\site-packages [Info - 14:03:26] Adding fs watcher for library directories: file:///c%3A/Users/MyPC/.pyenv/pyenv-win/versions/3.11.9/DLLs file:///c%3A/Users/MyPC/.pyenv/pyenv-win/versions/3.11.9/Lib file:///c%3A/Users/MyPC/.pyenv/pyenv-win/versions/3.11.9 file:///c%3A/Users/MyPC/.pyenv/pyenv-win/versions/3.11.9/Lib/site-packages [Info - 14:03:26] Adding fs watcher for directories: file:///%3Cdefault%20workspace%20root%3E Searching for source files [Error - 14:03:26] File or directory "\" does not exist. [Info - 14:03:26] No source files found. [Info - 14:03:26] Background analysis(1) root directory: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.1.378/dist [Info - 14:03:26] Background analysis(1) started No pyproject.toml file found. [Info - 14:03:26] Setting pythonPath for service "": "c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\python.exe" [Info - 14:03:26] No include entries specified; assuming \ [Info - 14:03:26] Auto-excluding **/node_modules [Info - 14:03:26] Auto-excluding **/__pycache__ [Info - 14:03:26] Auto-excluding **/.* [Info - 14:03:26] Assuming Python version 3.11.9.final.0 [Info - 14:03:26] Search paths for file:///%3Cdefault%20workspace%20root%3E [Info - 14:03:26] e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.1.378\dist\typeshed-fallback\stdlib [Info - 14:03:26] \ [Info - 14:03:26] \\typings [Info - 14:03:26] e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.1.378\dist\typeshed-fallback\stubs\... [Info - 14:03:26] c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\DLLs [Info - 14:03:26] c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\Lib [Info - 14:03:26] c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9 [Info - 14:03:26] c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\Lib\site-packages [Info - 14:03:26] Adding fs watcher for library directories: file:///c%3A/Users/MyPC/.pyenv/pyenv-win/versions/3.11.9/DLLs file:///c%3A/Users/MyPC/.pyenv/pyenv-win/versions/3.11.9/Lib file:///c%3A/Users/MyPC/.pyenv/pyenv-win/versions/3.11.9 file:///c%3A/Users/MyPC/.pyenv/pyenv-win/versions/3.11.9/Lib/site-packages [Info - 14:03:26] Adding fs watcher for directories: file:///%3Cdefault%20workspace%20root%3E Searching for source files [Error - 14:03:26] File or directory "\" does not exist. [Info - 14:03:26] No source files found. [BG(1)] analyzing: untitled:Untitled-1 ... [BG(1)] parsing: untitled:Untitled-1 (112ms) [BG(1)] parsing: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.1.378/dist/typeshed-fallback/stdlib/builtins.pyi [fs read 4ms] (112ms) [BG(1)] binding: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.1.378/dist/typeshed-fallback/stdlib/builtins.pyi (46ms) [BG(1)] binding: untitled:Untitled-1 (0ms) [BG(1)] checking: untitled:Untitled-1 ... [BG(1)] parsing: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.1.378/dist/typeshed-fallback/stdlib/typing.pyi [fs read 1ms] (29ms) [BG(1)] binding: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.1.378/dist/typeshed-fallback/stdlib/typing.pyi (9ms) [BG(1)] parsing: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.1.378/dist/typeshed-fallback/stdlib/types.pyi [fs read 1ms] (24ms) [BG(1)] binding: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.1.378/dist/typeshed-fallback/stdlib/types.pyi (10ms) [BG(1)] parsing: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.1.378/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi [fs read 1ms] (6ms) [BG(1)] binding: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.1.378/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi (9ms) [BG(1)] parsing: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.1.378/dist/typeshed-fallback/stdlib/abc.pyi [fs read 1ms] (2ms) [BG(1)] binding: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.1.378/dist/typeshed-fallback/stdlib/abc.pyi (1ms) [BG(1)] checking: untitled:Untitled-1 (163ms) [BG(1)] analyzing: untitled:Untitled-1 (439ms) [Info - 14:03:46] Starting service instance "" WorkspaceFactory 0 remove WorkspaceFactory 0 add Received pythonPath from Python extension: C:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\python.exe No pyproject.toml file found. [Info - 14:03:46] Setting pythonPath for service "": "c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\python.exe" [Info - 14:03:46] No include entries specified; assuming \ [Info - 14:03:46] Auto-excluding **/node_modules [Info - 14:03:46] Auto-excluding **/__pycache__ [Info - 14:03:46] Auto-excluding **/.* [Info - 14:03:46] Assuming Python version 3.11.9.final.0 [Info - 14:03:46] Search paths for file:///%3Cdefault%20workspace%20root%3E [Info - 14:03:46] e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.1.378\dist\typeshed-fallback\stdlib [Info - 14:03:46] \ [Info - 14:03:46] \\typings [Info - 14:03:46] e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.1.378\dist\typeshed-fallback\stubs\... [Info - 14:03:46] c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\DLLs [Info - 14:03:46] c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\Lib [Info - 14:03:46] c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9 [Info - 14:03:46] c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\Lib\site-packages [Info - 14:03:46] Adding fs watcher for library directories: file:///c%3A/Users/MyPC/.pyenv/pyenv-win/versions/3.11.9/DLLs file:///c%3A/Users/MyPC/.pyenv/pyenv-win/versions/3.11.9/Lib file:///c%3A/Users/MyPC/.pyenv/pyenv-win/versions/3.11.9 file:///c%3A/Users/MyPC/.pyenv/pyenv-win/versions/3.11.9/Lib/site-packages [Info - 14:03:46] Adding fs watcher for directories: file:///%3Cdefault%20workspace%20root%3E Searching for source files [Error - 14:03:46] File or directory "\" does not exist. [Info - 14:03:46] No source files found. [Info - 14:03:46] Starting service instance "" WorkspaceFactory 0 remove WorkspaceFactory 0 add Received pythonPath from Python extension: C:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\python.exe No pyproject.toml file found. [Info - 14:03:46] Setting pythonPath for service "": "c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\python.exe" [Info - 14:03:46] No include entries specified; assuming \ [Info - 14:03:46] Auto-excluding **/node_modules [Info - 14:03:46] Auto-excluding **/__pycache__ [Info - 14:03:46] Auto-excluding **/.* [Info - 14:03:46] Assuming Python version 3.11.9.final.0 [Info - 14:03:46] Search paths for file:///%3Cdefault%20workspace%20root%3E [Info - 14:03:46] e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.1.378\dist\typeshed-fallback\stdlib [Info - 14:03:46] \ [Info - 14:03:46] \\typings [Info - 14:03:46] e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.1.378\dist\typeshed-fallback\stubs\... [Info - 14:03:46] c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\DLLs [Info - 14:03:46] c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\Lib [Info - 14:03:46] c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9 [Info - 14:03:46] c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\Lib\site-packages [Info - 14:03:46] Adding fs watcher for library directories: file:///c%3A/Users/MyPC/.pyenv/pyenv-win/versions/3.11.9/DLLs file:///c%3A/Users/MyPC/.pyenv/pyenv-win/versions/3.11.9/Lib file:///c%3A/Users/MyPC/.pyenv/pyenv-win/versions/3.11.9 file:///c%3A/Users/MyPC/.pyenv/pyenv-win/versions/3.11.9/Lib/site-packages [Info - 14:03:46] Adding fs watcher for directories: file:///%3Cdefault%20workspace%20root%3E Searching for source files [Error - 14:03:46] File or directory "\" does not exist. [Info - 14:03:46] No source files found. [Error - 14:03:46] Request textDocument/inlayHint failed. Message: Request textDocument/inlayHint failed with message: Cannot read properties of undefined (reading 'tokenizerOutput') Code: -32603 [Info - 14:03:46] Background analysis(2) root directory: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.1.378/dist [Info - 14:03:46] Background analysis(2) started [Info - 14:03:46] Starting service instance "" WorkspaceFactory 0 remove WorkspaceFactory 0 add Received pythonPath from Python extension: C:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\python.exe No pyproject.toml file found. [Info - 14:03:46] Setting pythonPath for service "": "c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\python.exe" [Info - 14:03:46] No include entries specified; assuming \ [Info - 14:03:46] Auto-excluding **/node_modules [Info - 14:03:46] Auto-excluding **/__pycache__ [Info - 14:03:46] Auto-excluding **/.* [Info - 14:03:46] Assuming Python version 3.11.9.final.0 [Info - 14:03:46] Search paths for file:///%3Cdefault%20workspace%20root%3E [Info - 14:03:46] e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.1.378\dist\typeshed-fallback\stdlib [Info - 14:03:46] \ [Info - 14:03:46] \\typings [Info - 14:03:46] e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.1.378\dist\typeshed-fallback\stubs\... [Info - 14:03:46] c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\DLLs [Info - 14:03:46] c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\Lib [Info - 14:03:46] c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9 [Info - 14:03:46] c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\Lib\site-packages [Info - 14:03:46] Adding fs watcher for library directories: file:///c%3A/Users/MyPC/.pyenv/pyenv-win/versions/3.11.9/DLLs file:///c%3A/Users/MyPC/.pyenv/pyenv-win/versions/3.11.9/Lib file:///c%3A/Users/MyPC/.pyenv/pyenv-win/versions/3.11.9 file:///c%3A/Users/MyPC/.pyenv/pyenv-win/versions/3.11.9/Lib/site-packages [Info - 14:03:46] Adding fs watcher for directories: file:///%3Cdefault%20workspace%20root%3E Searching for source files [Error - 14:03:46] File or directory "\" does not exist. [Info - 14:03:46] No source files found. [Info - 14:03:46] Starting service instance "" WorkspaceFactory 0 remove WorkspaceFactory 0 add Received pythonPath from Python extension: C:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\python.exe [Info - 14:03:46] Starting service instance "" WorkspaceFactory 0 remove WorkspaceFactory 0 add Received pythonPath from Python extension: C:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\python.exe [Info - 14:03:46] Background analysis(3) root directory: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.1.378/dist [Info - 14:03:46] Background analysis(3) started No pyproject.toml file found. [Info - 14:03:46] Setting pythonPath for service "": "c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\python.exe" [Info - 14:03:46] No include entries specified; assuming \ [Info - 14:03:46] Auto-excluding **/node_modules [Info - 14:03:46] Auto-excluding **/__pycache__ [Info - 14:03:46] Auto-excluding **/.* [Info - 14:03:46] Assuming Python version 3.11.9.final.0 [Info - 14:03:47] Search paths for file:///%3Cdefault%20workspace%20root%3E [Info - 14:03:47] e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.1.378\dist\typeshed-fallback\stdlib [Info - 14:03:47] \ [Info - 14:03:47] \\typings [Info - 14:03:47] e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.1.378\dist\typeshed-fallback\stubs\... [Info - 14:03:47] c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\DLLs [Info - 14:03:47] c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\Lib [Info - 14:03:47] c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9 [Info - 14:03:47] c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\Lib\site-packages [Info - 14:03:47] Adding fs watcher for library directories: file:///c%3A/Users/MyPC/.pyenv/pyenv-win/versions/3.11.9/DLLs file:///c%3A/Users/MyPC/.pyenv/pyenv-win/versions/3.11.9/Lib file:///c%3A/Users/MyPC/.pyenv/pyenv-win/versions/3.11.9 file:///c%3A/Users/MyPC/.pyenv/pyenv-win/versions/3.11.9/Lib/site-packages [Info - 14:03:47] Adding fs watcher for directories: file:///%3Cdefault%20workspace%20root%3E Searching for source files [Error - 14:03:47] File or directory "\" does not exist. [Info - 14:03:47] No source files found. [Info - 14:03:47] Background analysis(4) root directory: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.1.378/dist [Info - 14:03:47] Background analysis(4) started No pyproject.toml file found. [Info - 14:03:47] Setting pythonPath for service "": "c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\python.exe" [Info - 14:03:47] No include entries specified; assuming \ [Info - 14:03:47] Auto-excluding **/node_modules [Info - 14:03:47] Auto-excluding **/__pycache__ [Info - 14:03:47] Auto-excluding **/.* [Info - 14:03:47] Assuming Python version 3.11.9.final.0 [Info - 14:03:47] Search paths for file:///%3Cdefault%20workspace%20root%3E [Info - 14:03:47] e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.1.378\dist\typeshed-fallback\stdlib [Info - 14:03:47] \ [Info - 14:03:47] \\typings [Info - 14:03:47] e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.1.378\dist\typeshed-fallback\stubs\... [Info - 14:03:47] c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\DLLs [Info - 14:03:47] c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\Lib [Info - 14:03:47] c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9 [Info - 14:03:47] c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\Lib\site-packages [Info - 14:03:47] Adding fs watcher for library directories: file:///c%3A/Users/MyPC/.pyenv/pyenv-win/versions/3.11.9/DLLs file:///c%3A/Users/MyPC/.pyenv/pyenv-win/versions/3.11.9/Lib file:///c%3A/Users/MyPC/.pyenv/pyenv-win/versions/3.11.9 file:///c%3A/Users/MyPC/.pyenv/pyenv-win/versions/3.11.9/Lib/site-packages [Info - 14:03:47] Adding fs watcher for directories: file:///%3Cdefault%20workspace%20root%3E Searching for source files [Error - 14:03:47] File or directory "\" does not exist. [Info - 14:03:47] No source files found. [Info - 14:03:47] Background analysis(6) root directory: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.1.378/dist [Info - 14:03:47] Background analysis(6) started [Info - 14:03:47] Background analysis(5) root directory: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.1.378/dist [Info - 14:03:47] Background analysis(5) started
felix9743 commented 1 week ago

New information: if I open a Folder/Workspace, it's working.

LOG BasedPyright v1.1.378 > [Info - 14:22:35] basedpyright language server 1.1.378 starting [Info - 14:22:35] Server root directory: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.1.378/dist [Info - 14:22:35] Starting service instance "DevFolderTest" Received pythonPath from Python extension: C:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\python.exe No configuration file found. No pyproject.toml file found. [Info - 14:22:35] Setting pythonPath for service "DevFolderTest": "C:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\python.exe" [Info - 14:22:35] No include entries specified; assuming c:\Users\MyPC\Documents\DevFolderTest [Info - 14:22:35] Auto-excluding **/node_modules [Info - 14:22:35] Auto-excluding **/__pycache__ [Info - 14:22:35] Auto-excluding **/.* [Info - 14:22:35] Assuming Python version 3.11.9.final.0 [Info - 14:22:35] Search paths for file:///c%3A/Users/MyPC/Documents/DevFolderTest [Info - 14:22:35] e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.1.378\dist\typeshed-fallback\stdlib [Info - 14:22:35] c:\Users\MyPC\Documents\DevFolderTest [Info - 14:22:35] c:\Users\MyPC\Documents\DevFolderTest\typings [Info - 14:22:35] e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.1.378\dist\typeshed-fallback\stubs\... [Info - 14:22:35] c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\DLLs [Info - 14:22:35] c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\Lib [Info - 14:22:35] c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9 [Info - 14:22:35] c:\Users\MyPC\.pyenv\pyenv-win\versions\3.11.9\Lib\site-packages [Info - 14:22:35] Adding fs watcher for library directories: file:///c%3A/Users/MyPC/.pyenv/pyenv-win/versions/3.11.9/DLLs file:///c%3A/Users/MyPC/.pyenv/pyenv-win/versions/3.11.9/Lib file:///c%3A/Users/MyPC/.pyenv/pyenv-win/versions/3.11.9 file:///c%3A/Users/MyPC/.pyenv/pyenv-win/versions/3.11.9/Lib/site-packages [Info - 14:22:35] Adding fs watcher for directories: file:///c%3A/Users/MyPC/Documents/DevFolderTest Searching for source files [Info - 14:22:35] No source files found. [Info - 14:22:35] Background analysis(1) root directory: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.1.378/dist [Info - 14:22:35] Background analysis(1) started [FG] parsing: untitled:Untitled-1 (27ms) [FG] parsing: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.1.378/dist/typeshed-fallback/stdlib/builtins.pyi [fs read 4ms] (117ms) [FG] binding: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.1.378/dist/typeshed-fallback/stdlib/builtins.pyi (51ms) [FG] binding: untitled:Untitled-1 (1ms) [FG] parsing: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.1.378/dist/typeshed-fallback/stdlib/typing.pyi [fs read 1ms] (22ms) [FG] binding: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.1.378/dist/typeshed-fallback/stdlib/typing.pyi (13ms) [FG] parsing: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.1.378/dist/typeshed-fallback/stdlib/types.pyi [fs read 1ms] (12ms) [FG] binding: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.1.378/dist/typeshed-fallback/stdlib/types.pyi (7ms) [FG] parsing: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.1.378/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi [fs read 0ms] (6ms) [FG] binding: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.1.378/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi (3ms) [FG] parsing: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.1.378/dist/typeshed-fallback/stdlib/abc.pyi [fs read 1ms] (2ms) [FG] binding: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.1.378/dist/typeshed-fallback/stdlib/abc.pyi (1ms) [BG(1)] analyzing: untitled:Untitled-1 ... [BG(1)] parsing: untitled:Untitled-1 (37ms) [BG(1)] parsing: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.1.378/dist/typeshed-fallback/stdlib/builtins.pyi [fs read 3ms] (104ms) [BG(1)] binding: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.1.378/dist/typeshed-fallback/stdlib/builtins.pyi (51ms) [BG(1)] binding: untitled:Untitled-1 (0ms) [BG(1)] checking: untitled:Untitled-1 ... [BG(1)] parsing: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.1.378/dist/typeshed-fallback/stdlib/typing.pyi [fs read 1ms] (25ms) [BG(1)] binding: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.1.378/dist/typeshed-fallback/stdlib/typing.pyi (8ms) [BG(1)] parsing: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.1.378/dist/typeshed-fallback/stdlib/types.pyi [fs read 1ms] (13ms) [BG(1)] binding: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.1.378/dist/typeshed-fallback/stdlib/types.pyi (5ms) [BG(1)] parsing: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.1.378/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi [fs read 0ms] (6ms) [BG(1)] binding: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.1.378/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi (2ms) [BG(1)] parsing: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.1.378/dist/typeshed-fallback/stdlib/abc.pyi [fs read 0ms] (1ms) [BG(1)] binding: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.1.378/dist/typeshed-fallback/stdlib/abc.pyi (1ms) [BG(1)] checking: untitled:Untitled-1 (112ms) [BG(1)] analyzing: untitled:Untitled-1 (311ms)

I tested with the latest version (1.17.1) and it also works but as for version 1.1.378, it only works if you are in a Folder/Workspace.

LOG BasedPyright v1.17.1 > [Info - 14:29:55] basedpyright language server 1.17.1 starting [Info - 14:29:55] Server root directory: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.17.1-universal/dist [Info - 14:29:55] Starting service instance "Bricolage" [Error - 14:29:55] Error reading settings: Error: Unhandled method workspace/configuration [Info - 14:29:55] No include entries specified; assuming c:\Users\Félix Lhoste\Documents\Bricolage [Info - 14:29:55] Auto-excluding **/node_modules [Info - 14:29:55] Auto-excluding **/__pycache__ [Info - 14:29:55] Auto-excluding **/.* [Info - 14:29:55] Found 2 source files Received pythonPath from Python extension: C:\Users\Félix Lhoste\.pyenv\pyenv-win\versions\3.11.9\python.exe No configuration file found. No pyproject.toml file found. [Info - 14:29:55] Setting pythonPath for service "Bricolage": "C:\Users\Félix Lhoste\.pyenv\pyenv-win\versions\3.11.9\python.exe" [Info - 14:29:55] No include entries specified; assuming c:\Users\Félix Lhoste\Documents\Bricolage [Info - 14:29:55] Auto-excluding **/node_modules [Info - 14:29:55] Auto-excluding **/__pycache__ [Info - 14:29:55] Auto-excluding **/.* [Info - 14:29:56] Assuming Python version 3.11.9.final.0 [Info - 14:29:56] Search paths for file:///c%3A/Users/F%C3%A9lix%20Lhoste/Documents/Bricolage [Info - 14:29:56] e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.17.1-universal\dist\typeshed-fallback\stdlib [Info - 14:29:56] c:\Users\Félix Lhoste\Documents\Bricolage [Info - 14:29:56] c:\Users\Félix Lhoste\Documents\Bricolage\typings [Info - 14:29:56] e:\vscodium-portable\data\extensions\detachhead.basedpyright-1.17.1-universal\dist\typeshed-fallback\stubs\... [Info - 14:29:56] c:\Users\Félix Lhoste\.pyenv\pyenv-win\versions\3.11.9\DLLs [Info - 14:29:56] c:\Users\Félix Lhoste\.pyenv\pyenv-win\versions\3.11.9\Lib [Info - 14:29:56] c:\Users\Félix Lhoste\.pyenv\pyenv-win\versions\3.11.9 [Info - 14:29:56] c:\Users\Félix Lhoste\.pyenv\pyenv-win\versions\3.11.9\Lib\site-packages [Info - 14:29:56] Adding fs watcher for library directories: file:///c%3A/Users/F%C3%A9lix%20Lhoste/.pyenv/pyenv-win/versions/3.11.9/DLLs file:///c%3A/Users/F%C3%A9lix%20Lhoste/.pyenv/pyenv-win/versions/3.11.9/Lib file:///c%3A/Users/F%C3%A9lix%20Lhoste/.pyenv/pyenv-win/versions/3.11.9 file:///c%3A/Users/F%C3%A9lix%20Lhoste/.pyenv/pyenv-win/versions/3.11.9/Lib/site-packages [Info - 14:29:56] Adding fs watcher for directories: file:///c%3A/Users/F%C3%A9lix%20Lhoste/Documents/Bricolage Searching for source files [Info - 14:29:56] Found 2 source files [FG] parsing: untitled:Untitled-1 (21ms) [FG] parsing: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.17.1-universal/dist/typeshed-fallback/stdlib/builtins.pyi [fs read 3ms] (106ms) [FG] binding: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.17.1-universal/dist/typeshed-fallback/stdlib/builtins.pyi (46ms) [FG] binding: untitled:Untitled-1 (0ms) [FG] parsing: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.17.1-universal/dist/typeshed-fallback/stdlib/typing.pyi [fs read 0ms] (20ms) [FG] binding: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.17.1-universal/dist/typeshed-fallback/stdlib/typing.pyi (13ms) [FG] parsing: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.17.1-universal/dist/typeshed-fallback/stdlib/types.pyi [fs read 1ms] (12ms) [FG] binding: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.17.1-universal/dist/typeshed-fallback/stdlib/types.pyi (5ms) [FG] parsing: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.17.1-universal/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi [fs read 0ms] (5ms) [FG] binding: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.17.1-universal/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi (4ms) [FG] parsing: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.17.1-universal/dist/typeshed-fallback/stdlib/abc.pyi [fs read 0ms] (1ms) [FG] binding: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.17.1-universal/dist/typeshed-fallback/stdlib/abc.pyi (1ms) [Info - 14:29:56] Background analysis(1) root directory: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.17.1-universal/dist [Info - 14:29:56] Background analysis(1) started [BG(1)] analyzing: untitled:Untitled-1 ... [BG(1)] parsing: untitled:Untitled-1 (33ms) [BG(1)] parsing: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.17.1-universal/dist/typeshed-fallback/stdlib/builtins.pyi [fs read 4ms] (101ms) [BG(1)] binding: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.17.1-universal/dist/typeshed-fallback/stdlib/builtins.pyi (50ms) [BG(1)] binding: untitled:Untitled-1 (0ms) [BG(1)] checking: untitled:Untitled-1 ... [BG(1)] parsing: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.17.1-universal/dist/typeshed-fallback/stdlib/typing.pyi [fs read 2ms] (24ms) [BG(1)] binding: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.17.1-universal/dist/typeshed-fallback/stdlib/typing.pyi (7ms) [BG(1)] parsing: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.17.1-universal/dist/typeshed-fallback/stdlib/types.pyi [fs read 0ms] (11ms) [BG(1)] binding: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.17.1-universal/dist/typeshed-fallback/stdlib/types.pyi (5ms) [BG(1)] parsing: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.17.1-universal/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi [fs read 1ms] (7ms) [BG(1)] binding: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.17.1-universal/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi (4ms) [BG(1)] parsing: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.17.1-universal/dist/typeshed-fallback/stdlib/abc.pyi [fs read 0ms] (1ms) [BG(1)] binding: file:///e%3A/vscodium-portable/data/extensions/detachhead.basedpyright-1.17.1-universal/dist/typeshed-fallback/stdlib/abc.pyi (1ms) [BG(1)] checking: untitled:Untitled-1 (110ms) [BG(1)] analyzing: untitled:Untitled-1 (300ms)
felix9743 commented 1 week ago

One more thing: it appears that version 1.1.378 attempts to access a default workspace when no folders or workspaces are open in the IDE. However, since it is trying to access a non-existent location, it cannot work which would cause the malfunction.

[Info - 14:03:47] Adding fs watcher for directories: file:///%3Cdefault%20workspace%20root%3E Searching for source files [Error - 14:03:47] File or directory "" does not exist. [Info - 14:03:47] No source files found.

He therefore tries to access this location: file:///<default workspace root>

I don't know if it's the same problem for version 1.15.2 and above but it seems likely to me.

DetachHead commented 1 week ago

that's a different issue that seems to have come from upstream. we previously thought it was specific to neovim but i guess not. will raise a separate issue for that