Run button not working in python extension #24919
Labels
area-terminal
bug
Issue identified by VS Code Team member as probable bug
investigating
We are looking into the cause of the issue
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
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
Extensions (3)
A/B Experiments
The text was updated successfully, but these errors were encountered: