-
Notifications
You must be signed in to change notification settings - Fork 41
Cannot read properties of undefined (reading 'show') #958
Copy link
Copy link
Closed
microsoft/vscode-python
#25669Labels
area-activationIssue related to activation. Root cause can be from interpreter selection or activation in terminalIssue related to activation. Root cause can be from interpreter selection or activation in terminalarea-terminalEnvironment extension specific terminal issues.Environment extension specific terminal issues.bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugcandidateIssue identified as probable candidate for fixing in the next releaseIssue identified as probable candidate for fixing in the next releaseimportantIssue identified as high-priorityIssue identified as high-priorityverifiedVerification succeededVerification succeeded
Milestone
Metadata
Metadata
Assignees
Labels
area-activationIssue related to activation. Root cause can be from interpreter selection or activation in terminalIssue related to activation. Root cause can be from interpreter selection or activation in terminalarea-terminalEnvironment extension specific terminal issues.Environment extension specific terminal issues.bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugcandidateIssue identified as probable candidate for fixing in the next releaseIssue identified as probable candidate for fixing in the next releaseimportantIssue identified as high-priorityIssue identified as high-priorityverifiedVerification succeededVerification succeeded
Type: Bug
Behaviour
When I select python code and hit shift + Enter for the first time, a python terminal starts, the python code is not run in ther terminal and a window opens with the message "Cannot read properties of undefined (reading 'show')"
I use zsh terminal, poetry as env manager and ipython as python terminal.
I have the following parameters:
When I uncomment
"python-envs.terminal.autoActivationType": "shellStartup", the code is usually run in the zsh terminal and the python terminal is not activeSteps to reproduce:
Capture.video.du.2025-10-31.15-42-21.webm
Diagnostic data
Output for
Pythonin theOutputpanel (View→Output, change the drop-down the upper-right of theOutputpanel toPython)Extension version: 1.10.0
VS Code version: Code 1.105.1 (7d842fb85a0275a4a8e4d7e040d2625abbf7f084, 2025-10-14T22:33:36.618Z)
OS version: Linux x64 6.14.0-34-generic
Modes:
System Info
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_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
webnn: disabled_off
A/B Experiments