Repository navigation
My python code will not run? #22711
Copy link
Copy link
Closed as not planned
Labels
triage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team
Description
Type: Bug
Behaviour
Expected vs. Actual
It is ment to run?
Steps to reproduce:
- I tried all the run options top right
Diagnostic data
- Python version (& distribution if applicable, e.g. Anaconda): 3.11.3
- Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Global
- Value of the
python.languageServersetting: Default
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
XXX
User Settings
languageServer: "Pylance"
Extension version: 2023.22.1
VS Code version: Code 1.85.1 (0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2, 2023-12-13T09:49:37.021Z)
OS version: Windows_NT x64 10.0.22621
Modes:
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: 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 |
| Load (avg) | undefined |
| Memory (System) | 7.84GB (1.38GB free) |
| Process Argv | --crash-reporter-id 04a3fdc3-ae93-45db-9799-d75ce165575a |
| Screen Reader | no |
| VM | 0% |
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242cf:30382550
vsjup518:30340749
vshan820:30294714
vscorecescf:30445987
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
py29gd2263:30899288
vscaac:30438847
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
azure-dev_surveyone:30548225
f6dab269:30613381
0bi6i642:30917235
pythongtdpath:30769146
i26e3531:30792625
welcomedialogc:30910334
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
dsvsc013:30795093
dsvsc014:30804076
dsvsc015:30845448
pythontestfixt:30902429
pythonregdiag2cf:30926736
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
2e7ec940:30885897
pythontbext0:30879054
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
aa_t_chat:30882232
cp7184t3:30927821
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
triage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team
Activity
eleanorjboyd commentedon Jan 3, 2024
Hello! Could you please elaborate on what issue you are having and include logs and repro steps.
nichehlikes15 commentedon Jan 3, 2024
Hello there well there isn't much to say, my run button just doesn't work I can type run in the terminal but when working on projects this takes a long time and I want to be able to click the run button in the top right to quickly start my code, when I press it I get no response what so ever and not sure what to do
eleanorjboyd commentedon Jan 3, 2024
Hello! If you set your log level to trace is there any output? For your logs, can you first set your log level to trace via the
Developer: set log levelcommand in the command palette then see "python" in the dropdown of the output menu. Also a screen recording could help, Thanksnichehlikes15 commentedon Jan 3, 2024
Here is the output and the video link as requested:
Im sorry but the video had to be in a zip or it was to big i tried 5 times but it keeps saying to big
quadclick.py - Untitled (Workspace) - Visual Studio Code 2024-01-03 18-28-46.zip
ROGERDJQ commentedon Jan 4, 2024
#22702 also ends with same log
15 remaining items
karrtikr commentedon Feb 7, 2024
Could you please provide the debug level logs after performing the steps to reproduce the issue?
Developer: Set log levelcommandTraceDeveloper: Reload WindowcommandOutput for
Pythonin theOutputpanel (View→Output, change the drop-down the upper-right of theOutputpanel toPython)nichehlikes15 commentedon Feb 7, 2024
That was the debug level logs I'm pretty sure
karrtikr commentedon Feb 7, 2024
Can you confirm that running those commands via the context menu doesn't do anything as well? #22711 (comment)
What if you run some other commands, like
Python: Select Interpreterfor example?brettcannon commentedon Mar 13, 2024
Because we have not heard back with the information we requested, we are closing this issue for now. If you are able to provide the info later on, then we will be happy to re-open this issue to pick up where we left off.
nichehlikes15 commentedon Mar 13, 2024
It still does not work.
Merged PR posit-dev/positron-python#395: Merge upstream: `v2024.2.0`
Merged PR posit-dev/positron-python#395: Merge upstream: `v2024.2.0`
nichehlikes15 commentedon Mar 29, 2024
i only have python debugging i can run