microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.59k stars 29.03k forks source link

related to code runing #187515

Closed jyotigupta76 closed 1 year ago

jyotigupta76 commented 1 year ago

Type: Bug

I am trying for run my writen code but its not run

VS Code version: Code 1.80.0 (660393deaaa6d1996740ff4880f1bad43768c814, 2023-07-04T15:06:02.407Z) OS version: Windows_NT x64 10.0.22621 Modes:

System Info |Item|Value| |---|---| |CPUs|11th Gen Intel(R) Core(TM) i3-1115G4 @ 3.00GHz (4 x 2995)| |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
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|undefined| |Memory (System)|7.70GB (2.30GB free)| |Process Argv|--crash-reporter-id 57c9a8ce-a732-4850-904f-e6ddd17a1385| |Screen Reader|no| |VM|0%|
Extensions (11) Extension|Author (truncated)|Version ---|---|--- vscode-html-css|ecm|1.13.1 vsc-material-theme-icons|equ|2.8.0 prettier-vscode|esb|9.19.0 code-runner|for|0.12.0 codespaces|Git|1.14.9 cmake-tools|ms-|1.14.34 cpptools|ms-|1.16.3 cpptools-extension-pack|ms-|1.3.0 material-icon-theme|PKi|4.28.0 LiveServer|rit|5.7.9 cmake|twx|0.0.17 (2 theme extensions excluded)
A/B Experiments ``` vsliv368:30146709 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 vswsl492cf:30256860 vslsvsres303:30308271 vserr242cf:30382550 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 vscorecescf:30445987 vscod805:30301674 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593:30376534 pythonvs932:30410667 py29gd2263:30784847 vsclangdc:30486549 c4g48928:30535728 dsvsc012:30540252 pynewext54:30695312 azure-dev_surveyone:30548225 vsccc:30610678 3biah626:30602489 pyind779:30671433 f6dab269:30613381 pythonsymbol12:30671437 showlangstatbar:30737416 vsctsb:30748421 pythonms35:30701012 03d35959:30757346 pythonfmttext:30731395 pythoncmv:30756943 fixshowwlkth:30771522 hideindicator:30785051 pythongtdpath:30769146 bgfeh915:30780428 pythonnosmt12:30779714 pythonidxpt:30784022 pythonnoceb:30776495 h7j2d465:30786200 cmakesidepanelv2:30779593 ```
bartgrefte commented 1 year ago

"I am trying for run my writen code but its not run"

Despite the problem description being quite short, I may be having the same issue since I last updated VSCode.

No matter which button/menu-entry I click or key-combo I use to run Python-code, nothing happens. No error, no warning, nothing. If I manually enter "python.exe c:\path\to\script.py" on the terminal within VSCode, scripts run just fine.

In addition to this: the "Preview on Github"-button on the issue reporter window in VSCode doesn't seem to be doing anything.

CPUs | Intel(R) Core(TM) i7-6800K CPU @ 3.40GHz (12 x 3398) -- | -- 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 video_decode: enabled video_encode: unavailable_off vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: enabled Load (avg) |   Memory (System) | 63.91GB (32.52GB free) Process Argv |   Screen Reader | no VM | 80% Extension | Author (truncated) | Version -- | -- | -- doxdocgen | csc | 1.4.0 better-cpp-syntax | jef | 1.17.2 vscode-docker | ms- | 1.25.2 python | ms- | 2023.12.0 vscode-pylance | ms- | 2023.7.10 jupyter | ms- | 2023.6.1001861915 jupyter-keymap | ms- | 1.1.2 jupyter-renderers | ms- | 1.0.17 vscode-jupyter-cell-tags | ms- | 0.1.8 vscode-jupyter-slideshow | ms- | 0.1.5 remote-ssh | ms- | 0.102.0 remote-ssh-edit | ms- | 0.86.0 remote-wsl | ms- | 0.80.2 cmake-tools | ms- | 1.14.34 cpptools | ms- | 1.16.3 cpptools-extension-pack | ms- | 1.3.0 remote-explorer | ms- | 0.4.1 nftables | omB | 0.6.2 funclist | qrt | 7.6.3 cmake | twx | 0.0.17

A/B Experiments: No current experiments.

roblourens commented 1 year ago

@bartgrefte please open an issue on the vscode-python extension repo

@jyotigupta76 more details please

bartgrefte commented 1 year ago

@roblourens I don't think it's the python-extention, since downgrading and reinstalling that didn't fix it. Unfortunately I do not see a downgrade-button for VSCode itself.

edit: https://github.com/microsoft/vscode-python/issues/21610 Strangely enough, the "Preview on Github"-button does work when reporting an extension-bug.

bartgrefte commented 1 year ago

@jyotigupta76 In my case it turned out to be a cache-issue, maybe it's the same cause with you?

vscodenpa commented 1 year ago

Hey @roblourens, this issue might need further attention.

@jyotigupta76, you can help us out by closing this issue if the problem no longer exists, or adding more information.

vscodenpa commented 1 year ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!