Experiment 'pythonPromptNewToolsExt' is active
LSP Notebooks experiment is enabled
LSP Notebooks interactive window support is enabled
[ERROR 2022-10-4 12:37:8.389]: readdir() failed for "C:\Program Files\Git\bin\git.exe" (Error: ENOTDIR: not a directory, scandir 'C:\Program Files\Git\bin\git.exe')
> conda info --json
Python interpreter path: .\.venv311\Scripts\python.exe
> ./.venv311/Scripts/activate.bat && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode-insiders/extensions/ms-python.python-2022.19.13071014/pythonFiles/printEnvVariables.py
> ./.venv311/Scripts/activate.bat && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode-insiders/extensions/ms-python.python-2022.19.13071014/pythonFiles/printEnvVariables.py
> .\.venv311\Scripts\python.exe ~\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\testing_tools\run_adapter.py discover pytest -- --rootdir . -s --cache-clear .
cwd: .
[ERROR 2022-10-4 12:37:39.292]: Error discovering pytest tests:
n [Error]: Traceback (most recent call last):
File "c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\testing_tools\run_adapter.py", line 17, in <module>
from testing_tools.adapter.__main__ import parse_args, main
File "c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\testing_tools\adapter\__main__.py", line 9, in <module>
from . import pytest, report
File "c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\testing_tools\adapter\pytest\__init__.py", line 7, in <module>
from ._discovery import discover
File "c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\testing_tools\adapter\pytest\_discovery.py", line 8, in <module>
import pytest
ModuleNotFoundError: No module named 'pytest'
at ChildProcess.<anonymous> (c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\out\client\extension.js:2:242843)
at Object.onceWrapper (node:events:646:26)
at ChildProcess.emit (node:events:526:28)
at maybeClose (node:internal/child_process:1092:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
> .\.venv311\Scripts\python.exe ~\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\testing_tools\run_adapter.py discover pytest -- --rootdir . -s --cache-clear .
cwd: .
> ~\Anaconda3\Scripts\conda.exe info --json
[ERROR 2022-10-4 12:37:41.641]: Error discovering pytest tests:
n [Error]: Traceback (most recent call last):
File "c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\testing_tools\run_adapter.py", line 17, in <module>
from testing_tools.adapter.__main__ import parse_args, main
File "c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\testing_tools\adapter\__main__.py", line 9, in <module>
from . import pytest, report
File "c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\testing_tools\adapter\pytest\__init__.py", line 7, in <module>
from ._discovery import discover
File "c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\testing_tools\adapter\pytest\_discovery.py", line 8, in <module>
import pytest
ModuleNotFoundError: No module named 'pytest'
at ChildProcess.<anonymous> (c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\out\client\extension.js:2:242843)
at Object.onceWrapper (node:events:646:26)
at ChildProcess.emit (node:events:526:28)
at maybeClose (node:internal/child_process:1092:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
> ~\Anaconda3\condabin\conda.bat info --json
> ~\Anaconda3\python.exe ~\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\get_output_via_markers.py ~\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\interpreterInfo.py
> .\.venv\Scripts\python.exe ~\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\get_output_via_markers.py ~\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\interpreterInfo.py
> .\.venv311\Scripts\python.exe ~\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\get_output_via_markers.py ~\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\interpreterInfo.py
> ~\Anaconda3\envs\condaenv\python.exe ~\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\get_output_via_markers.py ~\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\interpreterInfo.py
> ~\AppData\Local\Programs\Python\Python310\python.exe ~\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\get_output_via_markers.py ~\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\interpreterInfo.py
> ~\AppData\Local\Microsoft\WindowsApps\python3.11.exe ~\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\get_output_via_markers.py ~\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\interpreterInfo.py
> ~\AppData\Local\Microsoft\WindowsApps\python3.9.exe ~\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\get_output_via_markers.py ~\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\interpreterInfo.py
Starting Pylance language server.
Jupyter provided interpreter path override: c:\Users\luabud\Apps\pvscc-logo\.venv311\Scripts\python.exe
LINTING: Skipping linting from Python extension, since Pylint extension is installed.
> .\.venv311\Scripts\python.exe ~\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\testing_tools\run_adapter.py discover pytest -- --rootdir . -s --cache-clear .
cwd: .
[ERROR 2022-10-4 12:38:2.924]: Error discovering pytest tests:
n [Error]: Traceback (most recent call last):
File "c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\testing_tools\run_adapter.py", line 17, in <module>
from testing_tools.adapter.__main__ import parse_args, main
File "c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\testing_tools\adapter\__main__.py", line 9, in <module>
from . import pytest, report
File "c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\testing_tools\adapter\pytest\__init__.py", line 7, in <module>
from ._discovery import discover
File "c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\testing_tools\adapter\pytest\_discovery.py", line 8, in <module>
import pytest
ModuleNotFoundError: No module named 'pytest'
at ChildProcess.<anonymous> (c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\out\client\extension.js:2:242843)
at Object.onceWrapper (node:events:646:26)
at ChildProcess.emit (node:events:526:28)
at maybeClose (node:internal/child_process:1092:16)
at Socket.<anonymous> (node:internal/child_process:451:11)
at Socket.emit (node:events:526:28)
at Pipe.<anonymous> (node:net:687:12)
> .\.venv311\Scripts\python.exe ~\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\linter.py -m pylint .\logo_app\Untitled-1.py
cwd: .
> .\.venv311\Scripts\python.exe -c "import pylint"
> .\.venv311\Scripts\python.exe ~\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\testing_tools\run_adapter.py discover pytest -- --rootdir . -s --cache-clear .
cwd: .
> .\.venv311\Scripts\python.exe -c "import pylint"
[ERROR 2022-10-4 12:38:8.827]: Error discovering pytest tests:
n [Error]: Traceback (most recent call last):
File "c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\testing_tools\run_adapter.py", line 17, in <module>
from testing_tools.adapter.__main__ import parse_args, main
File "c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\testing_tools\adapter\__main__.py", line 9, in <module>
from . import pytest, report
File "c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\testing_tools\adapter\pytest\__init__.py", line 7, in <module>
from ._discovery import discover
File "c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\testing_tools\adapter\pytest\_discovery.py", line 8, in <module>
import pytest
ModuleNotFoundError: No module named 'pytest'
at ChildProcess.<anonymous> (c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\out\client\extension.js:2:242843)
at Object.onceWrapper (node:events:646:26)
at ChildProcess.emit (node:events:526:28)
at maybeClose (node:internal/child_process:1092:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
Linter 'pylint' is not installed. Please install it or select another linter".
Error: Module 'pylint' not installed.
> .\.venv311\Scripts\python.exe ~\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\testing_tools\run_adapter.py discover pytest -- --rootdir . -s --cache-clear .
cwd: .
[ERROR 2022-10-4 12:38:11.607]: Error discovering pytest tests:
n [Error]: Traceback (most recent call last):
File "c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\testing_tools\run_adapter.py", line 17, in <module>
from testing_tools.adapter.__main__ import parse_args, main
File "c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\testing_tools\adapter\__main__.py", line 9, in <module>
from . import pytest, report
File "c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\testing_tools\adapter\pytest\__init__.py", line 7, in <module>
from ._discovery import discover
File "c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\testing_tools\adapter\pytest\_discovery.py", line 8, in <module>
import pytest
ModuleNotFoundError: No module named 'pytest'
at ChildProcess.<anonymous> (c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\out\client\extension.js:2:242843)
at Object.onceWrapper (node:events:646:26)
at ChildProcess.emit (node:events:526:28)
at maybeClose (node:internal/child_process:1092:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
> .\.venv311\Scripts\python.exe ~\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\linter.py -m pylint .\logo_app\Untitled-1.py
cwd: .
##########Linting Output - pylint##########
[ERROR 2022-10-4 12:38:18.863]: Linter 'pylint' failed to parse the output '. SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at s.parseMessages (c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\out\client\extension.js:2:521169)
at s.run (c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\out\client\extension.js:2:498167)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at s.runLinter (c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\out\client\extension.js:2:520684)
> .\.venv311\Scripts\python.exe ~\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\testing_tools\run_adapter.py discover pytest -- --rootdir . -s --cache-clear .
cwd: .
[ERROR 2022-10-4 12:38:19.408]: Error discovering pytest tests:
n [Error]: Traceback (most recent call last):
File "c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\testing_tools\run_adapter.py", line 17, in <module>
from testing_tools.adapter.__main__ import parse_args, main
File "c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\testing_tools\adapter\__main__.py", line 9, in <module>
from . import pytest, report
File "c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\testing_tools\adapter\pytest\__init__.py", line 7, in <module>
from ._discovery import discover
File "c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\testing_tools\adapter\pytest\_discovery.py", line 8, in <module>
import pytest
ModuleNotFoundError: No module named 'pytest'
at ChildProcess.<anonymous> (c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\out\client\extension.js:2:242843)
at Object.onceWrapper (node:events:646:26)
at ChildProcess.emit (node:events:526:28)
at maybeClose (node:internal/child_process:1092:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
> .\.venv311\Scripts\python.exe ~\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\testing_tools\run_adapter.py discover pytest -- --rootdir . -s --cache-clear .
cwd: .
[ERROR 2022-10-4 12:38:19.725]: Error discovering pytest tests:
n [Error]: Traceback (most recent call last):
File "c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\testing_tools\run_adapter.py", line 17, in <module>
from testing_tools.adapter.__main__ import parse_args, main
File "c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\testing_tools\adapter\__main__.py", line 9, in <module>
from . import pytest, report
File "c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\testing_tools\adapter\pytest\__init__.py", line 7, in <module>
from ._discovery import discover
File "c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\testing_tools\adapter\pytest\_discovery.py", line 8, in <module>
import pytest
ModuleNotFoundError: No module named 'pytest'
at ChildProcess.<anonymous> (c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\out\client\extension.js:2:242843)
at Object.onceWrapper (node:events:646:26)
at ChildProcess.emit (node:events:526:28)
at maybeClose (node:internal/child_process:1092:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
> .\.venv311\Scripts\python.exe ~\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\linter.py -m pylint .\logo_app\Untitled-1.py
cwd: .
##########Linting Output - pylint##########
[ERROR 2022-10-4 12:38:20.529]: Linter 'pylint' failed to parse the output '. SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at s.parseMessages (c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\out\client\extension.js:2:521169)
at s.run (c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\out\client\extension.js:2:498167)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at s.runLinter (c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\out\client\extension.js:2:520684)
> .\.venv311\Scripts\python.exe ~\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\testing_tools\run_adapter.py discover pytest -- --rootdir . -s --cache-clear .
cwd: .
> .\.venv311\Scripts\python.exe ~\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\linter.py -m pylint .\logo_app\Untitled-1.py
cwd: .
##########Linting Output - pylint##########
[ERROR 2022-10-4 12:38:22.57]: Linter 'pylint' failed to parse the output '. SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at s.parseMessages (c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\out\client\extension.js:2:521169)
at s.run (c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\out\client\extension.js:2:498167)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at s.runLinter (c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\out\client\extension.js:2:520684)
[ERROR 2022-10-4 12:38:22.404]: Error discovering pytest tests:
n [Error]: Traceback (most recent call last):
File "c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\testing_tools\run_adapter.py", line 17, in <module>
from testing_tools.adapter.__main__ import parse_args, main
File "c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\testing_tools\adapter\__main__.py", line 9, in <module>
from . import pytest, report
File "c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\testing_tools\adapter\pytest\__init__.py", line 7, in <module>
from ._discovery import discover
File "c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\testing_tools\adapter\pytest\_discovery.py", line 8, in <module>
import pytest
ModuleNotFoundError: No module named 'pytest'
at ChildProcess.<anonymous> (c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\out\client\extension.js:2:242843)
at Object.onceWrapper (node:events:646:26)
at ChildProcess.emit (node:events:526:28)
at maybeClose (node:internal/child_process:1092:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
> .\.venv311\Scripts\python.exe ~\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\testing_tools\run_adapter.py discover pytest -- --rootdir . -s --cache-clear .
cwd: .
[ERROR 2022-10-4 12:38:22.888]: Error discovering pytest tests:
n [Error]: Traceback (most recent call last):
File "c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\testing_tools\run_adapter.py", line 17, in <module>
from testing_tools.adapter.__main__ import parse_args, main
File "c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\testing_tools\adapter\__main__.py", line 9, in <module>
from . import pytest, report
File "c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\testing_tools\adapter\pytest\__init__.py", line 7, in <module>
from ._discovery import discover
File "c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\pythonFiles\testing_tools\adapter\pytest\_discovery.py", line 8, in <module>
import pytest
ModuleNotFoundError: No module named 'pytest'
at ChildProcess.<anonymous> (c:\Users\luabud\.vscode-insiders\extensions\ms-python.python-2022.19.13071014\out\client\extension.js:2:242843)
at Object.onceWrapper (node:events:646:26)
at ChildProcess.emit (node:events:526:28)
at maybeClose (node:internal/child_process:1092:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
Type: Bug
Behaviour
Expected vs. Actual
If you're in the pythonPromptNewToolsExt experiment group, has
"python.linting.pylintEnabled": true, and has the Pylint extension installed but disabled, you'll see the notification show up multiple times (e.g. as you save your Python file).Steps to reproduce:
"python.experiments.optInto": ["pythonPromptNewToolsExt"]to user User settings)"python.linting.pylintEnabled": trueto your workspace settings)Diagnostic data
python.languageServersetting: PylanceOutput for
Pythonin theOutputpanel (View→Output, change the drop-down the upper-right of theOutputpanel toPython)User Settings
Extension version: 2022.19.13071014
VS Code version: Code - Insiders 1.74.0-insider (e764c5b, 2022-11-04T05:18:32.818Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Sandboxed: Yes
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
A/B Experiments