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

Import crash with Python #165084

Closed
danielcuque opened this issue Oct 31, 2022 · 4 comments
Closed

Import crash with Python #165084

danielcuque opened this issue Oct 31, 2022 · 4 comments
Assignees
Labels
*caused-by-extension Issue identified to be caused by an extension

Comments

@danielcuque
Copy link

danielcuque commented Oct 31, 2022

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.72.1
  • OS Version: macOS Catalina 10.15.7

Steps to Reproduce:

  1. Run Flask App
  2. Receive an .xml file through a put request
  3. Try to import functions

I've been developing an app with Flask using Python 3.10 with a virtualenv, and after sending a put request to the Flask server with .xml files, vscode couldn't handle the imports, when I pressed cmd+c for intellisense autocomplete, it got stuck on 'loading', and started consuming a lot of CPU. I used another code editor and the error no longer happened

I also tried to reproduce the same error with other programming languages in vscode but that error did not occur

@VSCodeTriageBot
Copy link
Collaborator

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.72.2. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

@mjbvz
Copy link
Collaborator

mjbvz commented Oct 31, 2022

/extPython

@VSCodeTriageBot
Copy link
Collaborator

It looks like this is caused by the Python extension. Please file the issue to the Python extension repository. Make sure to check their issue reporting template and provide them relevant information such as the extension version you're using. See also our issue reporting guidelines for more information.

Happy Coding!

@VSCodeTriageBot VSCodeTriageBot added the *caused-by-extension Issue identified to be caused by an extension label Oct 31, 2022
@VSCodeTriageBot VSCodeTriageBot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 31, 2022
@danielcuque
Copy link
Author

Sorry, apparently the error is due to Intellisense (Pylance), here is the link of the issue

@github-actions github-actions bot locked and limited conversation to collaborators Dec 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*caused-by-extension Issue identified to be caused by an extension
Projects
None yet
Development

No branches or pull requests

3 participants