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

Python code gets send to bash integrated terminal #21392

Closed
mRcSchwering opened this issue Jun 9, 2023 · 1 comment
Closed

Python code gets send to bash integrated terminal #21392

mRcSchwering opened this issue Jun 9, 2023 · 1 comment
Assignees
Labels
triage-needed Needs assignment to the proper sub-team

Comments

@mRcSchwering
Copy link

Type: Bug

This happens to me since today.
I am on a Windows with this WSL + VSCode setup.

When I shift + enter inside a .py file a first integrated terminal starts which activates the conda environment and then opens a python terminal.
But then a second integrated terminal starts (with only bash) into which the actual python code (from the file) is sent.

The python code arrives in the second terminal (with just bash) where it fails to execute the python code.

From this state if I shift + enter in the .py file again, it gets send to the second terminal running bash. I also tried to just switch to the first terminal then shift + enter, or close the second terminal then shift + enter. It never gets send to the first terminal running python. Always to the second one running bash (even if it has to restart that second terminal).

Extension version: 2023.11.11581008
VS Code version: Code 1.79.0 (b380da4ef1ee00e224a15c1d4d9793e27c2b6302, 2023-06-07T14:26:35.552Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Remote OS version: Linux x64 5.10.102.1-microsoft-standard-WSL2

System Info
Item Value
CPUs Intel(R) Core(TM) i5-10310U CPU @ 1.70GHz (8 x 2208)
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) 15.66GB (6.51GB free)
Process Argv --folder-uri=vscode-remote://wsl+Ubuntu/home/marc/bm2-api --remote=wsl+Ubuntu --crash-reporter-id 49f8c7cf-89cf-4d82-b9fb-50315d204632 --crash-reporter-id 49f8c7cf-89cf-4d82-b9fb-50315d204632
Screen Reader no
VM 0%
Item Value
Remote WSL: Ubuntu
OS Linux x64 5.10.102.1-microsoft-standard-WSL2
CPUs Intel(R) Core(TM) i5-10310U CPU @ 1.70GHz (8 x 2207)
Memory (System) 12.20GB (11.44GB free)
VM 0%
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
vscccc:30610679
2e4cg342:30602488
pyind779:30671433
89544117:30613380
pythonsymbol12:30671437
2i9eh265:30646982
showlangstatbar:30737416
vsctsb:30748421
pythonms35:30701012
03d35959:30757346
pythonfmttext:30731395
pythoncmvfstrcf:30756944
fixshowwlkth:30730052
hidesbindicator:30760978
pythongtdpathcf:30739705
bgfeh915:30763804
dh2dc718:30763024
pythonnosmt12:30757131

@anthonykim1
Copy link

Hello, thank you for your response! This seems like a duplicate issue with #21393 that multiple users have also reported.

@anthonykim1 anthonykim1 closed this as not planned Won't fix, can't repro, duplicate, stale Jun 13, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
triage-needed Needs assignment to the proper sub-team
Projects
None yet
Development

No branches or pull requests

2 participants