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

deleting venv causes error popup #23857

Closed
eleanorjboyd opened this issue Jul 23, 2024 · 1 comment
Closed

deleting venv causes error popup #23857

eleanorjboyd opened this issue Jul 23, 2024 · 1 comment
Assignees
Labels
triage-needed Needs assignment to the proper sub-team

Comments

@eleanorjboyd
Copy link
Member

Testing #23848

Steps:

  1. open a workspace with a venv
  2. open "select interpreter" quick pick
  3. while the quick pick is still up, delete the venv folder from your workspace
  4. 🐛 the following error pops up
Screenshot 2024-07-23 at 9 23 10 AM
Logs

2024-07-23 08:52:58.986 [info] Name: Ruff
2024-07-23 08:52:58.986 [info] Module: ruff
2024-07-23 08:52:58.986 [info] Python extension loading
2024-07-23 08:52:58.986 [info] Waiting for interpreter from python extension.
2024-07-23 08:52:58.986 [info] Python extension loaded
2024-07-23 08:53:00.169 [info] Using the Ruff binary: /Users/eleanorboyd/vscode-python/.venv/bin/ruff
2024-07-23 08:53:00.498 [info] Stable version of the native server requires Ruff 0.5.3, but found 0.4.4 at /Users/eleanorboyd/vscode-python/.venv/bin/ruff instead
2024-07-23 08:53:00.498 [info] Resolved 'ruff.nativeServer: auto' to use the legacy (ruff-lsp) server
2024-07-23 08:53:00.501 [info] Server run command: /Users/eleanorboyd/vscode-python/.venv/bin/python /Users/eleanorboyd/.vscode-insiders/extensions/charliermarsh.ruff-2024.34.0-darwin-arm64/bundled/tool/server.py
2024-07-23 08:53:00.502 [info] Server: Start requested.
2024-07-23 08:53:07.340 [info] 2024-07-23 08:53:07,080 INFO Starting IO server

2024-07-23 08:53:07.446 [info] Workspace settings: [
{
"nativeServer": "auto",
"cwd": "/Users/eleanorboyd/vscode-python",
"workspace": "file:///Users/eleanorboyd/vscode-python",
"path": [],
"ignoreStandardLibrary": true,
"interpreter": [
"/Users/eleanorboyd/vscode-python/.venv/bin/python"
],
"configuration": null,
"importStrategy": "fromEnvironment",
"codeAction": {
"fixViolation": {
"enable": true
},
"disableRuleComment": {
"enable": true
}
},
"lint": {
"enable": true,
"run": "onType",
"args": [],
"preview": null,
"select": null,
"extendSelect": null,
"ignore": null
},
"format": {
"args": [],
"preview": null
},
"enable": true,
"organizeImports": true,
"fixAll": true,
"showNotifications": "off",
"exclude": null,
"lineLength": null,
"configurationPreference": "editorFirst",
"showSyntaxErrors": true,
"logLevel": null,
"logFile": null
}
]
2024-07-23 08:53:07.480 [info] Global settings: {
"nativeServer": "auto",
"cwd": "/",
"workspace": "/",
"path": [],
"ignoreStandardLibrary": true,
"interpreter": [],
"configuration": null,
"importStrategy": "fromEnvironment",
"codeAction": {
"fixViolation": {
"enable": true
},
"disableRuleComment": {
"enable": true
}
},
"lint": {
"enable": true,
"run": "onType",
"args": []
},
"format": {
"args": []
},
"enable": true,
"organizeImports": true,
"fixAll": true,
"showNotifications": "off",
"configurationPreference": "editorFirst",
"showSyntaxErrors": true
}
2024-07-23 08:53:07.580 [info] Using interpreter executable: /Users/eleanorboyd/vscode-python/.venv/bin/ruff
2024-07-23 08:53:07.618 [info] Inferred version 0.4.4 for: /Users/eleanorboyd/vscode-python/.venv/bin/ruff
2024-07-23 08:53:07.618 [info] Found ruff 0.4.4 at /Users/eleanorboyd/vscode-python/.venv/bin/ruff
2024-07-23 08:53:07.618 [info] Running Ruff with: /Users/eleanorboyd/vscode-python/.venv/bin/ruff ['check', '--force-exclude', '--no-cache', '--no-fix', '--quiet', '--output-format', 'json', '-', '--stdin-filename', '/Users/eleanorboyd/vscode-python/python_files/vscode_pytest/init.py']
2024-07-23 08:53:08.179 [info] 2024-07-23 08:53:08,152 WARNING Cancel notification for unknown message id "2"
2024-07-23 08:53:08,153 WARNING Cancel notification for unknown message id "3"

2024-07-23 08:54:05.333 [info] Name: Ruff
2024-07-23 08:54:05.333 [info] Module: ruff
2024-07-23 08:54:05.333 [info] Python extension loading
2024-07-23 08:54:05.333 [info] Waiting for interpreter from python extension.
2024-07-23 08:54:05.333 [info] Python extension loaded
2024-07-23 08:54:05.333 [info] Server run command: /Users/eleanorboyd/vscode-python/.venv/bin/python /Users/eleanorboyd/.vscode-insiders/extensions/charliermarsh.ruff-2024.30.0-darwin-arm64/bundled/tool/ruff_server.py server --preview
2024-07-23 08:54:05.333 [info] Server: Start requested.
2024-07-23 08:54:10.384 [info] warning: Selection FURB has no effect because preview is not enabled.

2024-07-23 08:54:10.888 [info] ┐ruff_server::server::api::notifications::did_open::run{file=file:///Users/eleanorboyd/vscode-python/python_files/vscode_pytest/init.py}

┐ruff_server::server::api::notifications::cancel::run{}

┐ruff_server::server::api::notifications::cancel::run{}

┐ruff_server::server::api::notifications::cancel::run{}

┐ruff_server::server::api::notifications::cancel::run{}

2024-07-23 08:54:10.896 [info] ┐ruff_server::server::api::notifications::cancel::run{}

┐ruff_server::server::api::notifications::cancel::run{}

┐ruff_server::server::api::notifications::cancel::run{}

2024-07-23 08:54:10.896 [info] 4.936044s INFO ruff_server::server Configuration file watcher successfully registered

2024-07-23 08:54:25.779 [info] 19.818675s WARN ruff_server::server::api Received notification $/setTrace which does not have a handler.

2024-07-23 09:11:07.337 [info] ┐ruff_server::server::api::notifications::did_open::run{file=vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D}

2024-07-23 09:11:07.696 [info] 1021.748572s WARN ruff_server::session::workspace Workspace not found for vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D. Global settings will be used for this document

2024-07-23 09:11:16.713 [info] ┐ruff_server::server::api::notifications::did_change::run{file=vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D}

1030.765338s ERROR ruff_server::server::api An error occurred while running textDocument/didChange: Tried to open unavailable document vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D

2024-07-23 09:11:16.714 [info] ┐ruff_server::server::api::notifications::cancel::run{}

2024-07-23 09:11:16.782 [info] ┐ruff_server::server::api::notifications::did_change::run{file=vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D}

1030.834053s ERROR ruff_server::server::api An error occurred while running textDocument/didChange: Tried to open unavailable document vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D

2024-07-23 09:11:16.919 [info] ┐ruff_server::server::api::notifications::did_change::run{file=vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D}

1030.971131s ERROR ruff_server::server::api An error occurred while running textDocument/didChange: Tried to open unavailable document vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D

2024-07-23 09:11:17.042 [info] ┐ruff_server::server::api::notifications::did_change::run{file=vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D}

1031.094754s ERROR ruff_server::server::api An error occurred while running textDocument/didChange: Tried to open unavailable document vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D

2024-07-23 09:11:17.139 [info] ┐ruff_server::server::api::notifications::did_change::run{file=vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D}

2024-07-23 09:11:17.148 [info] 1031.191565s ERROR ruff_server::server::api An error occurred while running textDocument/didChange: Tried to open unavailable document vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D

2024-07-23 09:11:17.319 [info] ┐ruff_server::server::api::notifications::did_change::run{file=vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D}

1031.370974s ERROR ruff_server::server::api An error occurred while running textDocument/didChange: Tried to open unavailable document vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D

2024-07-23 09:11:17.572 [info] 1031.624371s WARN ruff_server::session::workspace Workspace not found for vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D. Global settings will be used for this document

2024-07-23 09:11:17.593 [info] ┐ruff_server::server::api::notifications::did_change::run{file=vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D}

1031.642784s ERROR ruff_server::server::api An error occurred while running textDocument/didChange: Tried to open unavailable document vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D

2024-07-23 09:11:17.593 [info] ┐ruff_server::server::api::notifications::cancel::run{}

2024-07-23 09:11:17.843 [info] 1031.896084s WARN ruff_server::session::workspace Workspace not found for vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D. Global settings will be used for this document

2024-07-23 09:11:17.918 [info] ┐ruff_server::server::api::notifications::did_change::run{file=vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D}

1031.968894s ERROR ruff_server::server::api An error occurred while running textDocument/didChange: Tried to open unavailable document vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D

2024-07-23 09:11:17.919 [info] ┐ruff_server::server::api::notifications::cancel::run{}

2024-07-23 09:11:18.020 [info] ┐ruff_server::server::api::notifications::did_change::run{file=vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D}

1032.072789s ERROR ruff_server::server::api An error occurred while running textDocument/didChange: Tried to open unavailable document vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D

2024-07-23 09:11:18.111 [info] ┐ruff_server::server::api::notifications::did_change::run{file=vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D}

1032.163880s ERROR ruff_server::server::api An error occurred while running textDocument/didChange: Tried to open unavailable document vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D

2024-07-23 09:11:18.255 [info] ┐ruff_server::server::api::notifications::did_change::run{file=vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D}

1032.307017s ERROR ruff_server::server::api An error occurred while running textDocument/didChange: Tried to open unavailable document vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D

2024-07-23 09:11:18.420 [info] ┐ruff_server::server::api::notifications::did_change::run{file=vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D}

1032.472445s ERROR ruff_server::server::api An error occurred while running textDocument/didChange: Tried to open unavailable document vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D

2024-07-23 09:11:18.673 [info] 1032.725671s WARN ruff_server::session::workspace Workspace not found for vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D. Global settings will be used for this document

2024-07-23 09:11:20.340 [info] 1034.392175s WARN ruff_server::session::workspace Workspace not found for vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D. Global settings will be used for this document
┐ruff_server::server::api::notifications::cancel::run{}

2024-07-23 09:15:53.630 [info] 1307.632491s WARN ruff_server::server::api Received notification $/setTrace which does not have a handler.

2024-07-23 09:16:31.678 [info] ┐ruff_server::server::api::notifications::did_change::run{file=file:///Users/eleanorboyd/vscode-python/python_files/vscode_pytest/init.py}

2024-07-23 09:16:35.370 [info] ┐ruff_server::server::api::notifications::cancel::run{}

1349.367603s WARN ruff_server::session::workspace Workspace not found for vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D. Global settings will be used for this document

2024-07-23 09:16:35.381 [info] ┐ruff_server::server::api::notifications::cancel::run{}

2024-07-23 09:16:35.390 [info] 1349.385291s WARN ruff_server::session::workspace Workspace not found for vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D. Global settings will be used for this document
┐ruff_server::server::api::notifications::cancel::run{}

1349.385334s WARN ruff_server::session::workspace Workspace not found for vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D. Global settings will be used for this document
┐ruff_server::server::api::notifications::cancel::run{}

2024-07-23 09:16:35.394 [info] 1349.393526s WARN ruff_server::session::workspace Workspace not found for vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D. Global settings will be used for this document
┐ruff_server::server::api::notifications::cancel::run{}

1349.393679s WARN ruff_server::session::workspace Workspace not found for vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D. Global settings will be used for this document
┐ruff_server::server::api::notifications::cancel::run{}

1349.393724s WARN ruff_server::session::workspace Workspace not found for vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D. Global settings will be used for this document

2024-07-23 09:16:35.399 [info] ┐ruff_server::server::api::notifications::cancel::run{}

1349.397966s WARN ruff_server::session::workspace Workspace not found for vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D. Global settings will be used for this document

2024-07-23 09:16:35.405 [info] ┐ruff_server::server::api::notifications::cancel::run{}

1349.403755s WARN ruff_server::session::workspace Workspace not found for vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D. Global settings will be used for this document

2024-07-23 09:16:35.412 [info] ┐ruff_server::server::api::notifications::cancel::run{}

1349.409130s WARN ruff_server::session::workspace Workspace not found for vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D. Global settings will be used for this document

2024-07-23 09:16:35.419 [info] ┐ruff_server::server::api::notifications::cancel::run{}

1349.416125s WARN ruff_server::session::workspace Workspace not found for vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D. Global settings will be used for this document
┐ruff_server::server::api::notifications::cancel::run{}

1349.417244s WARN ruff_server::session::workspace Workspace not found for vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D. Global settings will be used for this document

2024-07-23 09:16:35.421 [info] ┐ruff_server::server::api::notifications::cancel::run{}

1349.423832s WARN ruff_server::session::workspace Workspace not found for vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D. Global settings will be used for this document

2024-07-23 09:17:26.410 [info] 1400.313220s WARN ruff_server::server::api Received notification $/setTrace which does not have a handler.

2024-07-23 09:17:28.907 [info] warning: The top-level linter settings are deprecated in favour of their counterparts in the lint section. Please update the following options in pythonFiles/pyproject.toml:

  • 'ignore' -> 'lint.ignore'

2024-07-23 09:17:32.233 [info] ┐ruff_server::server::api::notifications::did_open::run{file=file:///Users/eleanorboyd/vscode-python/.github/workflows/pypi_notifier.py}

2024-07-23 09:17:32.234 [info] 1406.237876s INFO ruff_server::session::workspace::ruff_settings No Ruff settings file found for /Users/eleanorboyd/vscode-python/python_files/vscode_pytest/init.py; falling back to default configuration

2024-07-23 09:17:36.497 [info] 1410.500585s INFO ruff_server::session::workspace::ruff_settings No Ruff settings file found for /Users/eleanorboyd/vscode-python/.github/workflows/pypi_notifier.py; falling back to default configuration

2024-07-23 09:17:36.613 [info] 1410.614368s INFO ruff_server::session::workspace::ruff_settings No Ruff settings file found for /Users/eleanorboyd/vscode-python/.github/workflows/pypi_notifier.py; falling back to default configuration

2024-07-23 09:17:36.917 [info] 1410.919057s INFO ruff_server::session::workspace::ruff_settings No Ruff settings file found for /Users/eleanorboyd/vscode-python/.github/workflows/pypi_notifier.py; falling back to default configuration

2024-07-23 09:17:40.110 [info] 1414.113052s INFO ruff_server::session::workspace::ruff_settings No Ruff settings file found for /Users/eleanorboyd/vscode-python/.github/workflows/pypi_notifier.py; falling back to default configuration

2024-07-23 09:20:31.375 [info] ┐ruff_server::server::api::notifications::did_close::run{file=file:///Users/eleanorboyd/vscode-python/.github/workflows/pypi_notifier.py}

2024-07-23 09:21:43.155 [info] ┐ruff_server::server::api::notifications::cancel::run{}

2024-07-23 09:21:43.155 [info] 1657.158446s WARN ruff_server::session::workspace Workspace not found for vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D. Global settings will be used for this document

2024-07-23 09:21:47.390 [info] 1661.393410s WARN ruff_server::server::api Received notification $/setTrace which does not have a handler.

2024-07-23 09:21:49.264 [info] 1663.168503s INFO ruff_server::server::connection Shutdown request received. Waiting for an exit notification...

2024-07-23 09:21:49.293 [info] 1663.296360s INFO ruff_server::server::connection Exit notification received. Server shutting down...

2024-07-23 09:21:53.520 [info] Name: Ruff
2024-07-23 09:21:53.520 [info] Module: ruff
2024-07-23 09:21:53.520 [info] Python extension loading
2024-07-23 09:21:53.520 [info] Waiting for interpreter from python extension.
2024-07-23 09:21:55.769 [info] Python extension loaded
2024-07-23 09:21:56.034 [info] Using the Ruff binary: /Users/eleanorboyd/vscode-python/.venv/bin/ruff
2024-07-23 09:21:56.074 [info] Stable version of the native server requires Ruff 0.5.3, but found 0.4.4 at /Users/eleanorboyd/vscode-python/.venv/bin/ruff instead
2024-07-23 09:21:56.074 [info] Resolved 'ruff.nativeServer: auto' to use the legacy (ruff-lsp) server
2024-07-23 09:21:56.207 [info] Server run command: /Users/eleanorboyd/vscode-python/.venv/bin/python /Users/eleanorboyd/.vscode-insiders/extensions/charliermarsh.ruff-2024.34.0-darwin-arm64/bundled/tool/server.py
2024-07-23 09:21:56.208 [info] Server: Start requested.
2024-07-23 09:21:57.163 [info] 2024-07-23 09:21:57,096 INFO Starting IO server

2024-07-23 09:21:57.165 [info] Workspace settings: [
{
"nativeServer": "auto",
"cwd": "/Users/eleanorboyd/vscode-python",
"workspace": "file:///Users/eleanorboyd/vscode-python",
"path": [],
"ignoreStandardLibrary": true,
"interpreter": [
"/Users/eleanorboyd/vscode-python/.venv/bin/python"
],
"configuration": null,
"importStrategy": "fromEnvironment",
"codeAction": {
"fixViolation": {
"enable": true
},
"disableRuleComment": {
"enable": true
}
},
"lint": {
"enable": true,
"run": "onType",
"args": [],
"preview": null,
"select": null,
"extendSelect": null,
"ignore": null
},
"format": {
"args": [],
"preview": null
},
"enable": true,
"organizeImports": true,
"fixAll": true,
"showNotifications": "off",
"exclude": null,
"lineLength": null,
"configurationPreference": "editorFirst",
"showSyntaxErrors": true,
"logLevel": null,
"logFile": null
}
]
2024-07-23 09:21:57.173 [info] Global settings: {
"nativeServer": "auto",
"cwd": "/",
"workspace": "/",
"path": [],
"ignoreStandardLibrary": true,
"interpreter": [],
"configuration": null,
"importStrategy": "fromEnvironment",
"codeAction": {
"fixViolation": {
"enable": true
},
"disableRuleComment": {
"enable": true
}
},
"lint": {
"enable": true,
"run": "onType",
"args": []
},
"format": {
"args": []
},
"enable": true,
"organizeImports": true,
"fixAll": true,
"showNotifications": "off",
"configurationPreference": "editorFirst",
"showSyntaxErrors": true
}
2024-07-23 09:21:57.223 [info] Using interpreter executable: /Users/eleanorboyd/vscode-python/.venv/bin/ruff
2024-07-23 09:21:57.246 [info] Inferred version 0.4.4 for: /Users/eleanorboyd/vscode-python/.venv/bin/ruff
2024-07-23 09:21:57.247 [info] Found ruff 0.4.4 at /Users/eleanorboyd/vscode-python/.venv/bin/ruff
2024-07-23 09:21:57.247 [info] Running Ruff with: /Users/eleanorboyd/vscode-python/.venv/bin/ruff ['check', '--force-exclude', '--no-cache', '--no-fix', '--quiet', '--output-format', 'json', '-', '--stdin-filename', 'Untitled-1.ipynb']
2024-07-23 09:22:01.667 [info] Using interpreter executable: /Users/eleanorboyd/vscode-python/.venv/bin/ruff
2024-07-23 09:22:01.667 [info] Found ruff 0.4.4 at /Users/eleanorboyd/vscode-python/.venv/bin/ruff
2024-07-23 09:22:01.667 [info] Running Ruff with: /Users/eleanorboyd/vscode-python/.venv/bin/ruff ['check', '--force-exclude', '--no-cache', '--no-fix', '--quiet', '--output-format', 'json', '-', '--stdin-filename', '/Users/eleanorboyd/vscode-python/.github/workflows/pypi_notifier.py']
2024-07-23 09:22:27.110 [info] Name: Ruff
2024-07-23 09:22:27.110 [info] Module: ruff
2024-07-23 09:22:27.110 [info] Python extension loading
2024-07-23 09:22:27.110 [info] Waiting for interpreter from python extension.
2024-07-23 09:22:27.295 [info] Python extension loaded
2024-07-23 09:22:27.379 [info] Falling back to bundled executable: /Users/eleanorboyd/.vscode-insiders/extensions/charliermarsh.ruff-2024.34.0-darwin-arm64/bundled/libs/bin/ruff
2024-07-23 09:22:27.597 [info] Resolved 'ruff.nativeServer: auto' to use the native server
2024-07-23 09:22:27.598 [info] Found Ruff 0.5.3 at /Users/eleanorboyd/.vscode-insiders/extensions/charliermarsh.ruff-2024.34.0-darwin-arm64/bundled/libs/bin/ruff
2024-07-23 09:22:27.598 [info] Server run command: /Users/eleanorboyd/.vscode-insiders/extensions/charliermarsh.ruff-2024.34.0-darwin-arm64/bundled/libs/bin/ruff server
2024-07-23 09:22:27.598 [info] Server: Start requested.
2024-07-23 09:23:03.743 [info] Server: Stop requested
2024-07-23 09:23:11.643 [error] Error while trying to find the Ruff binary: Error: spawn /Users/eleanorboyd/external-plum/benjaminp--six/.venv/bin/python ENOENT
2024-07-23 09:23:11.644 [info] Falling back to bundled executable: /Users/eleanorboyd/.vscode-insiders/extensions/charliermarsh.ruff-2024.34.0-darwin-arm64/bundled/libs/bin/ruff
2024-07-23 09:23:11.676 [info] Resolved 'ruff.nativeServer: auto' to use the native server
2024-07-23 09:23:11.677 [info] Found Ruff 0.5.3 at /Users/eleanorboyd/.vscode-insiders/extensions/charliermarsh.ruff-2024.34.0-darwin-arm64/bundled/libs/bin/ruff
2024-07-23 09:23:11.677 [info] Server run command: /Users/eleanorboyd/.vscode-insiders/extensions/charliermarsh.ruff-2024.34.0-darwin-arm64/bundled/libs/bin/ruff server
2024-07-23 09:23:11.677 [info] Server: Start requested.

@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Jul 23, 2024
@karthiknadig
Copy link
Member

That looks like a bug in Ruff server. It could not find a binary in the python environment and it decided to surface that error even though it had a fallback to run ruff from the bundle. This happens because the import strategy is fromEnvironment

@karthiknadig karthiknadig closed this as not planned Won't fix, can't repro, duplicate, stale Jul 23, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
triage-needed Needs assignment to the proper sub-team
Projects
None yet
Development

No branches or pull requests

2 participants