Closed
Description
Type: Bug
Behaviour
Expected vs. Actual
I expected to when i click the run button, right click and press run or press the optains on the run button and click run for it to run my python file but instead nothing happenes
Steps to reproduce:
- Just click the run button
Diagnostic data
- Python version (& distribution if applicable, e.g. Anaconda): 3.11.2
- Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Global
- Value of the
python.languageServer
setting: Default
Output for Python
in the Output
panel (View
→Output
, change the drop-down the upper-right of the Output
panel to Python
)
Experiment 'pythonPromptNewToolsExt' is active
LSP Notebooks experiment is enabled
LSP Notebooks interactive window support is enabled
> conda info --json
Python interpreter path: ~\AppData\Local\Programs\Python\Python311\python.exe
Starting Pylance language server.
[ERROR 2023-2-18 13:48:5.251]: sendStartupTelemetry() failed. [TypeError: Cannot read properties of undefined (reading 'uri')
at m (c:\Users\littl\.vscode\extensions\ms-python.python-2023.4.1\out\client\extension.js:2:697508)
at t.sendStartupTelemetry (c:\Users\littl\.vscode\extensions\ms-python.python-2023.4.1\out\client\extension.js:2:698495)]
> ~\AppData\Local\Programs\Python\Python310\python.exe -I ~\.vscode\extensions\ms-python.python-2023.4.1\pythonFiles\get_output_via_markers.py ~\.vscode\extensions\ms-python.python-2023.4.1\pythonFiles\interpreterInfo.py
> ~\AppData\Local\Programs\Python\Python311\python.exe -I ~\.vscode\extensions\ms-python.python-2023.4.1\pythonFiles\get_output_via_markers.py ~\.vscode\extensions\ms-python.python-2023.4.1\pythonFiles\interpreterInfo.py
User Settings
languageServer: "Pylance"
Extension version: 2023.4.1
VS Code version: Code 1.76.1 (5e805b79fcb6ba4c2d23712967df89a089da575b, 2023-03-08T16:32:00.131Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Sandboxed: No
System Info
Item | Value |
---|---|
CPUs | Intel(R) Core(TM) i5-9300H CPU @ 2.40GHz (8 x 2400) |
GPU Status | 2d_canvas: enabled 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 |
Load (avg) | undefined |
Memory (System) | 7.84GB (1.64GB free) |
Process Argv | --crash-reporter-id 04a3fdc3-ae93-45db-9799-d75ce165575a |
Screen Reader | no |
VM | 0% |
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscorecescf:30445987
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vscaac:30438847
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30681850
azure-dev_surveyone:30548225
vscccc:30610679
pyindex848:30662994
nodejswelcome1cf:30587006
282f8724:30602487
pyind779:30671433
f6dab269:30613381
pythonsymbol12:30671437
6233i204:30672705
vsccsb:30677849
pythonb192cf:30669361
defaultazurewalk:30687958
pythonms35cf:30686773