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 Python selection opens an extra terminal window #184790

Closed
selgamal-telnyx opened this issue Jun 10, 2023 · 9 comments
Closed

Run Python selection opens an extra terminal window #184790

selgamal-telnyx opened this issue Jun 10, 2023 · 9 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@selgamal-telnyx
Copy link

Type: Bug

1- Create new .py file
2- Write line, example "import sys"
3-Right click the line and select Run Python > Run Selection/Line in python terminal

VS Code version: Code 1.79.0 (b380da4, 2023-06-07T14:26:35.552Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Remote OS version: Linux x64 5.15.90.1-microsoft-standard-WSL2

System Info
Item Value
CPUs 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz (8 x 1805)
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) 31.73GB (19.23GB free)
Process Argv
Screen Reader no
VM 0%
Item Value
Remote WSL: Debian
OS Linux x64 5.15.90.1-microsoft-standard-WSL2
CPUs 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz (8 x 1804)
Memory (System) 15.49GB (13.87GB free)
VM 0%
Extensions (18)
Extension Author (truncated) Version
dotenv mik 1.0.1
jupyter-keymap ms- 1.1.2
remote-ssh ms- 0.102.0
remote-ssh-edit ms- 0.86.0
remote-wsl ms- 0.79.4
remote-explorer ms- 0.4.0
better-toml bun 0.3.2
isort ms- 2022.8.0
python ms- 2023.10.0
vscode-pylance ms- 2023.6.10
jupyter ms- 2023.5.1001582324
jupyter-keymap ms- 1.1.2
jupyter-renderers ms- 1.0.15
vscode-jupyter-cell-tags ms- 0.1.8
vscode-jupyter-slideshow ms- 0.1.5
vscode-xml red 0.25.0
LiveServer rit 5.7.9
code-spell-checker str 2.20.4
@selgamal-telnyx
Copy link
Author

Add screen capture

screen.mp4

@aleewen
Copy link

aleewen commented Jun 10, 2023

I'm having the exact same issue as well in Ubuntu. I believe it's a problem with the Python Extension in VSCode. Go ahead an rollback to the previous version and see if that fixes it.

@KatlehoJordan
Copy link

I'm having the exact same issue as well in Ubuntu. I believe it's a problem with the Python Extension in VSCode. Go ahead an rollback to the previous version and see if that fixes it.

Great tip!

Rolling back to v2023.8.0 fixed this issue for me. Thank you!

@ctedja
Copy link

ctedja commented Jun 12, 2023

Was struggling with this issue all night last night but rolling it back to v.2023.8.0 also worked for me. Thank you!

Also will be following this issue here to see if any changes.
microsoft/vscode-python#21393

@meganrogge
Copy link
Contributor

/duplicate microsoft/vscode-python#21393

@vscodenpa vscodenpa added the *duplicate Issue identified as a duplicate of another issue(s) label Jun 12, 2023
@hse1223
Copy link

hse1223 commented Jun 22, 2023

I'm having the exact same issue as well in Ubuntu. I believe it's a problem with the Python Extension in VSCode. Go ahead an rollback to the previous version and see if that fixes it.

Great tip!

Rolling back to v2023.8.0 fixed this issue for me. Thank you!

What does it mean by "Roll back"? Does it mean uninstalling the current vs code and then reinstalling a new one of v2023.8.0?

@aleewen
Copy link

aleewen commented Jun 22, 2023

I'm having the exact same issue as well in Ubuntu. I believe it's a problem with the Python Extension in VSCode. Go ahead an rollback to the previous version and see if that fixes it.

Great tip!
Rolling back to v2023.8.0 fixed this issue for me. Thank you!

What does it mean by "Roll back"? Does it mean uninstalling the current vs code and then reinstalling a new one of v2023.8.0?

Go to the Python extension within VSCode and click the down arrow next to 'Uninstall' and select 'Install Another Version' and choose v2023.8

@KatlehoJordan
Copy link

KatlehoJordan commented Jun 22, 2023

/duplicate microsoft/vscode-python#21393

I suggest closing this issue for further discussions.

This was a bug with the vscode python extension, and the bug was crushed. 🪲💀

Please update your extensions as per this other ticket. If the issue persists, consider opening a new ticket referencing the one where the vscode python team crushed this bug, as it would suggest a regression.

@hse1223
Copy link

hse1223 commented Jun 22, 2023

I'm having the exact same issue as well in Ubuntu. I believe it's a problem with the Python Extension in VSCode. Go ahead an rollback to the previous version and see if that fixes it.

Great tip!
Rolling back to v2023.8.0 fixed this issue for me. Thank you!

What does it mean by "Roll back"? Does it mean uninstalling the current vs code and then reinstalling a new one of v2023.8.0?

Go to the Python extension within VSCode and click the down arrow next to 'Uninstall' and select 'Install Another Version' and choose v2023.8

Understood. Thank you.

@github-actions github-actions bot locked and limited conversation to collaborators Jul 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

7 participants