Skip to content

resolveEnvironment returns undefined when it should not #20239

@DonJayamanne

Description

@DonJayamanne

Looks like this issue wasn't resolved completely #20147

https://pipelines.actions.githubusercontent.com/serviceHosts/e2216a9b-4bf5-4e67-aba3-9767e42c612e/_apis/pipelines/1/runs/49993/signedlogcontent/17?urlExpires=2022-11-17T05%3A45%3A23.0166914Z&urlSigningMethod=HMACV1&urlSignature=Z07gjjP2S62FKaMmpS%2BPusrbX5EYVeLpAjXXOQIaOx0%3D

here are the logs

2022-11-17T01:02:20.9655307Z info 01:02:20.962:  Active Environment Path for /home/runner/work/vscode-jupyter/vscode-jupyter/src/test/datascience is {"id":"/Users/donjayamanne/crap/.venvWidgets/bin/python","path":"/Users/donjayamanne/crap/.venvWidgets/bin/python"}
2022-11-17T01:02:20.9674035Z verbose 01:02:20.965:  Get Jupyter Kernel Paths, Class name = JupyterPaths, completed in 5ms, has a truthy return value, Arg 1: "", Return Value: 
2022-11-17T01:02:20.9687026Z verbose 01:02:20.966:  Get KernelSpec root path, Class name = JupyterPaths, completed in 6ms, has a truthy return value, Arg 1: {"_isCancelled":false,"_emitter":null}, Return Value: <Uri:/usr/share/jupyter/kernels>, <Uri:/usr/local/share/jupyter/kernels>, <Uri:/home/runner/.local/share/jupyter/kernels>
2022-11-17T01:02:20.9738241Z info 01:02:20.972:  Finding kernel specs unique results: 
2022-11-17T01:02:20.9750104Z info 01:02:20.974:  Finding kernel specs unique results: 
2022-11-17T01:02:21.0340397Z info 01:02:21.022:  Resolved Active Environment for /home/runner/work/vscode-jupyter/vscode-jupyter/src/test/datascience is undefined
2022-11-17T01:02:21.0363333Z info 01:02:21.023:  Active Interpreter in Python API for resource '/home/runner/work/vscode-jupyter/vscode-jupyter/src/test/datascience' is , EnvType: undefined, EnvName: 'undefined', Version: undefined

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable buginfo-neededIssue requires more information from postertriage-neededNeeds assignment to the proper sub-team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions