-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
when I press SHIFT + ENTER, or right click selection -> Run Python -> run selection/line in the python terminal it opens 2 terminals #21393
Comments
I have got the same issue after I upgraded to v2023.10.0.
Version: 1.79.0 (user setup) |
Same issue on Linux/Ubuntu. Version: 1.79.0 |
same issue windows 11, reported here with all details |
microsoft/vscode#184790 (comment) As someone tipped you there, try rolling back to v2023.8.0 of the vscode-python extension. Some bug appeared in the latest version, it seems. |
Have this bug also. Version: 1.79.0 |
Same here: |
Related on Stack Overflow:
If you have the privilege level to do so, help with closing duplicates would be appreciated, so the answers can be put in one place instead of scattered about. |
Was also facing this issue. Rolling back to v2023.8.0 seemed to help. |
same issue for me, thank you @starball5, rolling back really helps
|
Same issue here. Rollback helps
|
Same issue here, Windows 10. Rolling back to v2023.8.0 seems to work. |
Same here: |
I just wanted to quickly apologize for the breakage! #21418 has been opened to revert this new terminal feature to fix this breakage. Unfortunately none of our pre-release users ran across this (been in Our hope is to have a bugfix release out today or tomorrow depending on how the revert PR goes. |
@brettcannon I tried a prerelease version after 10 release, and it had the same problem, so I had to rollback to version 8. |
I just wanted to say I accept your apology, 😉. I'm thankful to the open source community that builds software that all of the rest of us lurkers use daily without a second thought and we only come out of the woodwork to complain when something goes wrong. You developers are heros, even if you occasionally introduce bugs, 😝. So really, I accept your apology, and rather I thank you for your efforts to maintain these amazing free resources for us all! I'm looking forward to the fix, 😊. |
This fix is out. Stable users v2023.10.1 (latest stable) and for insiders users it is v2023.11.11651007 (latest insiders) |
Type: Bug
when I press SHIFT + ENTER, or right click selection -> Run Python -> run selection/line in the python terminal it opens 2 terminals named Python, where the first one opens the python terminal (PID 29056) but the second (PID 434444) does not. After that, it tries to execute the highlighted code in the second terminal which obviously is yielding an error.
If I kill the second Python terminal (PID 434444) and try to run a line of Python again, it opens a new terminal with a new PID and no Python console and behaves exactly like the second one.
If I kill the first terminal and then run the line it does not create another console, but still not running the code.
Finally, if I type
python
in the second console it opens the python terminal, and if I start running line-by-line execution it works.Extension version: 2023.10.0
VS Code version: Code 1.79.0 (b380da4ef1ee00e224a15c1d4d9793e27c2b6302, 2023-06-07T14:26:35.552Z)
OS version: Windows_NT x64 10.0.19045
Modes:
System Info
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
A/B Experiments
The text was updated successfully, but these errors were encountered: