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

Troubleshooting VSCode Terminal Crash when trying to open Python terminal #22721

Closed
josemanuel22 opened this issue Jan 5, 2024 · 4 comments
Closed
Assignees
Labels
triage-needed Needs assignment to the proper sub-team

Comments

@josemanuel22
Copy link

Environment

  • OS and version: Darwin arm64 22.3.0
  • VS Code: 1.83.0 (Universal)
  • Commit: e7e037083ff4455cf320e344325dacb480062c3c
    Date: 2023-10-03T16:13:15.449Z (3 mos ago)
    Electron: 25.8.4
    ElectronBuildId: 24154031
    Chromium: 114.0.5735.289
    Node.js: 18.15.0
    V8: 11.4.183.29-electron.0
  • python extension: Python 3.10.9

Bug Summary and Steps to Reproduce

Bug Summary:

I have the following problem when trying to launch and execute Python code in the integrated terminal of my VSCode or even when I simply try to open it. The terminal opens for a few seconds and then automatically closes (crashes) and a popup warning appears indicating Cannot read properties of undefined (reading 'show'). Attached are images.

The console developper tools is:
Screenshot 2024-01-05 at 11 20 50

@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Jan 5, 2024
@anthonykim1
Copy link

anthonykim1 commented Jan 11, 2024

Thanks for filing an issue! Are you saying you are able to get the same error both when simply trying to open Python file (and not execute anything), and also when you shift+enter to execute selection/line?

@github-actions github-actions bot added the info-needed Issue requires more information from poster label Jan 11, 2024
@josemanuel22
Copy link
Author

Not only do I have the problem when I try to execute a line of code (Shift+Enter). When I open the file, everything goes well. I also have the problem when I simply try to open the integrated terminal in any other way, even if I don't execute any line of code.

@github-actions github-actions bot removed the info-needed Issue requires more information from poster label Jan 11, 2024
@anthonykim1
Copy link

Do you know what your default shell is? I assume you are clicking "New Terminal" instance and not "Launch Python REPL" via control+shift+p?

@github-actions github-actions bot added the info-needed Issue requires more information from poster label Jan 11, 2024
@josemanuel22
Copy link
Author

For some reason, I have updated (I was updating it every day and now I no longer have the problem), to answer your last comment, it happened in both cases when opening the Python REPL and a terminal. I am using GNU bash, version 3.2.57(1)-release (arm64-apple-darwin22) If you think so, we can close the ticket.

@github-actions github-actions bot removed the info-needed Issue requires more information from poster label Jan 12, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 17, 2024
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