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

Can no longer F5 against symlink after update to 1.20 #43146

Closed
adiun opened this issue Feb 7, 2018 · 1 comment
Closed

Can no longer F5 against symlink after update to 1.20 #43146

adiun opened this issue Feb 7, 2018 · 1 comment

Comments

@adiun
Copy link

adiun commented Feb 7, 2018

Issue Type

Bug

Description

I use the VSCode-Python extension. I disabled all extensions and just have this one enabled. Version 2018.1.0.

Before VSCode version 1.20.0, I used a symlink to my virtualenv that sits in my user dir. So in my launch JSON, I had: "pythonPath": "${config:python.pythonPath}".

In my workspace settings, I had: "python.pythonPath": "${workspaceRoot}/.virtualenv/bin/python". The '.virtualenv' here is a symlink into my actual virtualenv in my user dir.

EXPECTED:

  1. Launch.json points to a workspace config, workspace config has a pythonPath that points to a file within a symlinked dir.
  2. F5, works fine (as it did before versions 1.20.0)

ACTUAL:
2) With version 1.20.0, I get an error at the top: Failed to launch the Python Process, please validate the path '${workspaceRoot}/.virtualenv/bin/python'. In the Debug Console, I see an error: Error: spawn ${workspaceRoot}/.virtualenv/bin/python ENOENT.

VS Code Info

VS Code version: Code 1.20.0 (c63189d, 2018-02-07T17:02:34.244Z)
OS version: Darwin x64 16.7.0

System Info
Item Value
CPUs Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz (8 x 2200)
Load (avg) 3, 3, 2
Memory (System) 16.00GB (0.02GB free)
Process Argv /Applications/Visual Studio Code.app/Contents/MacOS/Electron -psn_0_18993692
Screen Reader no
VM 0%
Extensions (1)
Extension Author (truncated) Version
python ms- 2018.1.0
Reproduces without extensions
@vscodebot vscodebot bot added the new release label Feb 7, 2018
@adiun
Copy link
Author

adiun commented Feb 8, 2018

I found that this isn't a symlink issue; it's because of microsoft/vscode-python#691

@adiun adiun closed this as completed Feb 8, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Mar 25, 2018
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

1 participant