microsoft / vscode

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

Terminal : Shell Integration Failed to activate #162514

Closed dcleminson closed 1 year ago

dcleminson commented 1 year ago

Type: Bug

1) Install Pything 10.7 2) Install Current version of Studio Code 3) Open Terminal (CMD, PowerShell, Python)

VS Code version: Code 1.71.2 (74b1f979648cc44d385a2286793c226e611f59e7, 2022-09-14T21:03:37.738Z) OS version: Windows_NT x64 10.0.19042 Modes: Sandboxed: No

System Info |Item|Value| |---|---| |CPUs|12th Gen Intel(R) Core(TM) i9-12950HX (24 x 2496)| |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
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off| |Load (avg)|undefined| |Memory (System)|31.69GB (21.20GB free)| |Process Argv|--crash-reporter-id 20d1dce2-c7b0-4959-9c17-1d7345f9f102| |Screen Reader|no| |VM|0%|
Extensions (12) Extension|Author (truncated)|Version ---|---|--- python-environment-manager|don|1.0.4 vscode-docker|ms-|1.22.1 python|ms-|2022.14.0 vscode-pylance|ms-|2022.9.40 jupyter|ms-|2022.8.1002431955 jupyter-keymap|ms-|1.0.0 jupyter-renderers|ms-|1.0.9 cpptools|ms-|1.12.4 nsight-vscode-edition|nvi|2022.2.31663688 nvidia-smi-plus|RSI|1.0.0 vscode-genv|run|0.1.1 embedded-vscode-for-nvidia-omniverse|Ton|0.0.3
A/B Experiments ``` vsliv368:30146709 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 pythonvspyl392:30443607 vserr242cf:30382550 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263cf:30335440 pythondataviewer:30285071 vscod805cf:30301675 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 cmake_vspar411cf:30557515 vsaa593:30376534 pythonvs932:30410667 cppdebug:30492333 vsclangdf:30486550 c4g48928:30535728 dsvsc012cf:30540253 azure-dev_surveyone:30548225 2144e591:30553903 i5d37513:30580093 pyindex848:30577860 40g7c324:30573242 ```
Tyriar commented 1 year ago

Shell integration should only work on pwsh 6+ (not "Windows PowerShell", <= 5). Is this just the failed to activate warning showing up in those unsupported shell terminals? I know there's a bug where we show it sometimes when we didn't actually try, I don't think it's tracked anywhere yet though.

meganrogge commented 1 year ago

likely duplicate of #158218

VSCodeTriageBot commented 1 year ago

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.

Happy Coding!