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

Get activated environment variable makes extension unresponsive #11955

Closed
codebygb opened this issue May 22, 2020 · 2 comments
Closed

Get activated environment variable makes extension unresponsive #11955

codebygb opened this issue May 22, 2020 · 2 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug

Comments

@codebygb
Copy link

  • Issue Type: Bug
  • Extension Name: python
  • Extension Version: 2020.5.80290
  • OS Version: Windows_NT x64 10.0.18363
  • VSCode version: 1.45.1
  • Description: The python extension is unresponsive
{
	"messages": [],
	"activationTimes": {
		"codeLoadingTime": 299,
		"activateCallTime": 2361,
		"activateResolvedTime": 4,
		"activationReason": {
			"startup": false,
			"extensionId": {
				"value": "ms-python.python",
				"_lower": "ms-python.python"
			},
			"activationEvent": "onLanguage:python"
		}
	},
	"runtimeErrors": []
}

ms-python.python-unresponsive.cpuprofile.txt

@ghost ghost added the triage-needed Needs assignment to the proper sub-team label May 22, 2020
@ghost ghost removed the triage-needed Needs assignment to the proper sub-team label May 26, 2020
@karthiknadig karthiknadig added triage-needed Needs assignment to the proper sub-team bug Issue identified by VS Code Team member as probable bug labels May 26, 2020
@kimadeline kimadeline removed the triage-needed Needs assignment to the proper sub-team label May 26, 2020
@kimadeline
Copy link

kimadeline commented May 26, 2020

Hi @Gopal3, thank you for reaching out.

The profiler shows that 2 functions seem to use most of the loading time:

. path/to/.venv/bin/activate 
&& echo 'e8b39361-0157-4923-80e1-22d70d46dee6' 
&& python path/to/extension/pyvsc-run-isolated.py path/to/extension/printEnvVariables.py

image

@kimadeline kimadeline changed the title Extension issue Get activated environment variable makes extension unresponsive May 26, 2020
@kimadeline
Copy link

Closing in favour of interpreter discovery refactoring: #12020

@ghost ghost removed the triage label May 27, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

3 participants