-
Notifications
You must be signed in to change notification settings - Fork 34
Description
Type: Bug
Behaviour
When trying to use the play button to run a python script nothing happens.
The extension logs show:
2025-06-25 15:51:37.363 [info] Starting Python Locator c:\Users\XXXXX.vscode\extensions\ms-python.python-2025.8.0-win32-x64\python-env-tools\bin\pet.exe server
2025-06-25 15:51:37.363 [error] Error starting Python Finder c:\Users\XXXXX.vscode\extensions\ms-python.python-2025.8.0-win32-x64\python-env-tools\bin\pet.exe server A system error occurred (spawn UNKNOWN)
Applocker FQBN is malformed:
O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US\,0.0.0.0
It should follow: *<Publisher><ProductName>,,-
Adding a hash exception for AppLocker solves the issue.
Steps to reproduce:
Set the locator to Native, set the default applocker policies
Extension version: 2025.8.0
VS Code version: Code 1.100.3 (258e40fedc6cb8edf399a463ce3a9d32e7e1f6f3, 2025-06-02T13:30:54.273Z)
OS version: Windows_NT x64 10.0.19045
Modes:
- Python version (& distribution if applicable, e.g. Anaconda): 3.13.3
- Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): System
- Value of the
python.languageServersetting: Default
User Settings
languageServer: "Pylance"
Installed Extensions
| Extension Name | Extension Id | Version |
|---|---|---|
| copilot | Git | 1.336.0 |
| copilot-chat | Git | 0.27.3 |
| debugpy | ms- | 2025.8.0 |
| gitlab-workflow | Git | 6.28.2 |
| js-debug | ms- | 1.100.1 |
| js-debug-companion | ms- | 1.1.3 |
| powershell | ms- | 2025.0.0 |
| python | ms- | 2025.8.0 |
| rainbow-csv | mec | 3.19.0 |
| remote-wsl | ms- | 0.99.0 |
| terraform | has | 2.34.5 |
| vsc-workspace-sidebar | ske | 2.1.1 |
| vscode-azureresourcegroups | ms- | 0.10.13 |
| vscode-azureterraform | ms- | 0.4.0 |
| vscode-js-profile-table | ms- | 1.0.10 |
| vscode-pylance | ms- | 2025.6.1 |
System Info
| Item | Value |
|---|---|
| CPUs | Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2592) |
| 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 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) | 31.74GB (17.41GB free) |
| Process Argv | --crash-reporter-id 5dd7b90e-c64b-4c9c-ae21-c79e1c865edc |
| Screen Reader | no |
| VM | 0% |
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vscaac:30438847
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
2e7ec940:31000449
pythontbext0:30879054
cppperfnew:31000557
dwnewjupytercf:31046870
pythonrstrctxt:31112756
nativeloc1:31192215
5fd0e150:31155592
dwcopilot:31170013
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
hdaa2157:31222309
copilot_t_ci:31333650
e5gg6876:31282496
pythoneinst12:31285622
bgtreat:31268568
4gafe986:31271826
c7cif404:31314491
pythonpulldiagcf:31325931
996jf627:31283433
pythonrdcb7cf:31303019
usemplatestapi:31297334
0aa6g176:31307128
7bj51361:31289155
747dc170:31275177
aj953862:31281341
generatesymbolt:31295002
convertfstringf:31295003
slnless:31334857
convertlamdat:31329272
91889449:31332227
i851h500:31332225
usemarketplace:31333563
id45c886:31333049
nes-diff-00:31333556
gh_pad_aa_c:31335103
3cc7c867:31335119