2023-10-18 19:48:57.027 [info] Experiment 'pythonPromptNewFormatterExt' is active
2023-10-18 19:48:57.027 [info] Experiment 'pythonPromptNewToolsExt' is active
2023-10-18 19:48:57.027 [info] Experiment 'pythonTerminalEnvVarActivation' is active
2023-10-18 19:48:57.027 [info] Experiment 'pythonTestAdaptercf' is active
2023-10-18 19:48:57.027 [info] Test server listening.
2023-10-18 19:48:57.027 [info] Python interpreter path: .\.venv\Scripts\python.exe
2023-10-18 19:48:57.421 [info] > & ./.venv/Scripts/Activate.ps1 ; echo 'e8b39361-0157-4923-80e1-22d70d46dee6' ; python ~/.vscode/extensions/ms-python.python-2023.18.0/pythonFiles/printEnvVariables.py
2023-10-18 19:48:57.421 [info] shell: powershell
2023-10-18 19:48:58.331 [info] Starting Pylance language server.
2023-10-18 19:48:58.621 [warning] Got env variables but with errors & : File C:\Users\username\Downloads\geonode\.venv\Scripts\Activate.ps1 cannot be loaded because running scripts is
disabled on this system. For more information, see about_Execution_Policies at
https:/go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:3
+ & c:/Users/username/Downloads/geonode/.venv/Scripts/Activate.ps1 ; echo ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : SecurityError: (:) [], PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccess
2023-10-18 19:48:58.627 [info] > ~\AppData\Local\Programs\Python\Python312\python.exe ~/.vscode/extensions/ms-python.python-2023.18.0/pythonFiles/printEnvVariables.py
2023-10-18 19:48:58.627 [info] shell: powershell
Type: Bug
Behaviour
Expected vs. Actual
Steps to reproduce:
Diagnostic data
python.languageServersetting: DefaultOutput for
Pythonin theOutputpanel (View→Output, change the drop-down the upper-right of theOutputpanel toPython)User Settings
Extension version: 2023.18.0
VS Code version: Code 1.83.1 (f1b07bd25dfad64b0167beb15359ae573aecd2cc, 2023-10-10T23:48:05.904Z)
OS version: Windows_NT x64 10.0.22621
Modes:
System Info
canvas_oop_rasterization: enabled_on
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
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
A/B Experiments