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

Run button not working in python extension #24919

Closed
snate28 opened this issue Mar 19, 2025 · 1 comment
Closed

Run button not working in python extension #24919

snate28 opened this issue Mar 19, 2025 · 1 comment
Assignees
Labels
area-terminal bug Issue identified by VS Code Team member as probable bug investigating We are looking into the cause of the issue

Comments

@snate28
Copy link

snate28 commented Mar 19, 2025

Type: Bug

Run button doesn't do anything when I press it, however if I type "python filename.py" in the terminal, it runs normally. I've tried reinstalling vs studio completely and it didn't resolve the issue. I'm trying to configure vs code with my anaconda environment.
Output > Python:
2025-03-18 21:04:16.315 [info] Experiment 'pythonRecommendTensorboardExt' is active
2025-03-18 21:04:16.316 [info] Experiment 'pythonTerminalEnvVarActivation' is active
2025-03-18 21:04:16.316 [info] Experiment 'pythonTestAdapter' is active
2025-03-18 21:04:16.316 [info] Native locator: Refresh started
2025-03-18 21:04:16.316 [info] Native locator: Refresh started
2025-03-18 21:04:16.316 [info] > pyenv which python
2025-03-18 21:04:16.316 [info] cwd: .

Output > Python Locator:
2025-03-18 21:04:16.317 [info] Starting Python Locator c:\Users\snate.vscode\extensions\ms-python.python-2025.2.0-win32-x64\python-env-tools\bin\pet.exe server

Help > Toggle Developer Tools > console:
WARN Creation of workbench contribution 'workbench.contrib.preferencesActions' took 21ms.
warn @ log.ts:446
log.ts:446 WARN Creation of workbench contribution 'workbench.contrib.explorerViewletViews' took 22ms.
warn @ log.ts:446
log.ts:446 WARN Creation of workbench contribution 'workbench.contrib.dirtyFilesIndicator' took 116ms.
warn @ log.ts:446
log.ts:446 WARN Creation of workbench contribution 'workbench.chat.setup' took 25ms.
warn @ log.ts:446
log.ts:436 INFO Started local extension host with pid 6940.
log.ts:436 INFO Settings Sync: Account status changed from uninitialized to unavailable
log.ts:436 INFO [perf] Render performance baseline is 555ms
log.ts:436 INFO Extension host (LocalProcess pid: 6940) is unresponsive.
log.ts:436 INFO Extension host (LocalProcess pid: 6940) is responsive.
log.ts:436 INFO UNRESPONSIVE extension host: received responsive event and cancelling profiling session
localProcessExtensionHost.ts:275 Extension Host
localProcessExtensionHost.ts:276 Debugger attached.
log.ts:436 INFO UNRESPONSIVE extension host: starting to profile NOW
log.ts:436 INFO Extension host (LocalProcess pid: 6940) is unresponsive.
localProcessExtensionHost.ts:275 Extension Host
localProcessExtensionHost.ts:276 Debugger attached.
log.ts:436 INFO UNRESPONSIVE extension host: starting to profile NOW
log.ts:436 INFO Extension host (LocalProcess pid: 6940) is responsive.
log.ts:436 INFO UNRESPONSIVE extension host: received responsive event and cancelling profiling session
log.ts:456 ERR PerfSampleError: PerfSampleError: by ms-python.vscode-pylance in _0xaeb006#extension.bundle.js:1:276277
error @ log.ts:456
log.ts:456 ERR PerfSampleError: PerfSampleError: by vscode.git in c#main.js:2:131740
error @ log.ts:456
log.ts:456 ERR PerfSampleError: PerfSampleError: by vscode.git in webpack_require#main.js:2:1208562
error @ log.ts:456
log.ts:456 ERR PerfSampleError: PerfSampleError: by ms-python.vscode-pylance in (anonymous)#vendor.bundle.js:2:1911153
error @ log.ts:456
log.ts:446 WARN UNRESPONSIVE extension host: 'ms-python.vscode-pylance' took 67.24836798760064% of 255.991ms, saved PROFILE here: 'file:///c%3A/Users/snate/AppData/Local/Temp/exthost-e882ea.cpuprofile'
warn @ log.ts:446
console.ts:137 [Extension Host] Git installation not found.
mls @ console.ts:137
log.ts:456 ERR TreeError [DebugRepl] Tree input not set: Error: TreeError [DebugRepl] Tree input not set
at Lf.C (vscode-file://vscode-app/c:/Users/snate/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:413:29043)
at Lf.updateChildren (vscode-file://vscode-app/c:/Users/snate/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:413:28950)
at xie.value (vscode-file://vscode-app/c:/Users/snate/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2065:33649)
at E.B (vscode-file://vscode-app/c:/Users/snate/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:29:2392)
at E.C (vscode-file://vscode-app/c:/Users/snate/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:29:2462)
at E.fire (vscode-file://vscode-app/c:/Users/snate/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:29:2680)
at Iye.setVisible (vscode-file://vscode-app/c:/Users/snate/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:648:2727)
at vscode-file://vscode-app/c:/Users/snate/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1278:11843
at Array.map ()
at su.setVisible (vscode-file://vscode-app/c:/Users/snate/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1278:11834)
error @ log.ts:456
log.ts:456 ERR [uncaught exception in main]: Titlebar overlay is not enabled: Error: Titlebar overlay is not enabled
at Eu.updateWindowControls (file:///C:/Users/snate/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/main.js:68:49027)
at Eu.n (file:///C:/Users/snate/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/main.js:68:47150)
at Eu.P (file:///C:/Users/snate/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/main.js:77:8710)
at Eu.tryClaimWindow (file:///C:/Users/snate/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/main.js:77:8480)
at App. (file:///C:/Users/snate/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/main.js:77:9723)
at App.emit (node:events:518:28)
at n._init (node:electron/js2c/browser_init:2:13688)
at openGuestWindow (node:electron/js2c/browser_init:2:102842)
at WebContents. (node:electron/js2c/browser_init:2:90211)
at WebContents.emit (node:events:518:28)

VS Code version: Code 1.98.2 (ddc367ed5c8936efe395cffeec279b04ffd7db78, 2025-03-12T13:32:45.399Z)
OS version: Windows_NT x64 10.0.22631
Modes:

System Info
Item Value
CPUs Intel(R) Celeron(R) N4000 CPU @ 1.10GHz (2 x 1094)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: disabled_off
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 7.84GB (1.33GB free)
Process Argv --crash-reporter-id 064c1b65-be8e-48e5-87d7-5db234c2b9b7
Screen Reader no
VM 0%
Extensions (3)
Extension Author (truncated) Version
debugpy ms- 2025.4.1
python ms- 2025.2.0
vscode-pylance ms- 2025.3.2
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
py29gd2263:31024239
vscaac:30438847
c4g48928:30535728
azure-dev_surveyone:30548225
vscrp:30673768
a9j8j154:30646983
962ge761:30959799
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dwnewjupyter:31046869
nativerepl2:31139839
pythonrstrctxt:31112756
nativeloc1:31192215
iacca1:31171482
5fd0e150:31155592
dwcopilot:31170013
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
hdaa2157:31222309
copilot_t_ci:31222730
968h8231:31262364
jda6j935:31233686
pythoneinst12:31262605
bgtreat:31262795
fh1c7952:31258891
6h6a5794:31261449
31787653:31262186
793h1473:31263300

@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Mar 19, 2025
@anthonykim1 anthonykim1 self-assigned this Mar 19, 2025
@anthonykim1 anthonykim1 added area-terminal bug Issue identified by VS Code Team member as probable bug investigating We are looking into the cause of the issue and removed triage-needed Needs assignment to the proper sub-team labels Mar 19, 2025
@snate28
Copy link
Author

snate28 commented Mar 20, 2025

Issue solved #24920 (comment)

@snate28 snate28 closed this as completed Mar 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-terminal bug Issue identified by VS Code Team member as probable bug investigating We are looking into the cause of the issue
Projects
None yet
Development

No branches or pull requests

2 participants