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

venv activation has 1 second delay #4312

Closed
jonashaag opened this issue Feb 7, 2019 · 4 comments
Closed

venv activation has 1 second delay #4312

jonashaag opened this issue Feb 7, 2019 · 4 comments

Comments

@jonashaag
Copy link

Environment data

  • VS Code version: 1.31.0 7c66f58312b48ed8ca4e387ebd9ffe9605332caa
  • Extension version: 2019.1.0
  • OS and version: macOS 10.14.1
  • Python version: 3.7
  • Type of virtual environment used: venv
  • Relevant/affected Python packages and their versions: none

Expected behaviour

source command has no delay.

Actual behaviour

source command has 1 second delay. See demo video: https://imgur.com/a/YJIX6sC

Steps to reproduce:

Open terminal.

Logs

Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

Nothing

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging)

(3x) [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, /Users/j/dev/cl/cashlink/cl-backend
@ghost ghost added the triage-needed Needs assignment to the proper sub-team label Feb 7, 2019
@d3r3kk
Copy link

d3r3kk commented Feb 7, 2019

This delay is introduced when we send information to the VS Code terminal provider.

@d3r3kk
Copy link

d3r3kk commented Feb 7, 2019

Issue moved to Microsoft/vscode #68157 via ZenHub

@ghost ghost removed the triage-needed Needs assignment to the proper sub-team label Feb 7, 2019
@DonJayamanne
Copy link

@d3r3kk
Why did we file an issue upstream to VSC?

@Tyriar
Copy link
Member

Tyriar commented Feb 13, 2019

Good question 😄 @DonJayamanne I'm guessing this is related to microsoft/vscode#67693?

@lock lock bot locked as resolved and limited conversation to collaborators Mar 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants