You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
resolveEnvironment returns undefined when it should not #20239
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
The link to pipeline doesn't work. This issue is also about a different interpreter than what was previously failing: /Users/donjayamanne/crap/.venvWidgets/bin/python.
Python logs in microsoft/vscode-jupyter#12059 repeatedly says /Users/donjayamanne/crap/.venvWidgets/bin/python doesn't exist. Are you sure it's the right interpreter you're after and can you make sure it exists before attempting to resolve it?
I checked a passing build and the active interpreter it is using is different: /opt/hostedtoolcache/Python/3.10.8/x64/bin/python
info 01:04:38.113: Active Environment Path for /home/runner/work/vscode-jupyter/vscode-jupyter/src/test/datascience is {"id":"/opt/hostedtoolcache/Python/3.10.8/x64/bin/python","path":"/opt/hostedtoolcache/Python/3.10.8/x64/bin/python"}
/Users/donjayamanne/crap/.venvWidgets/bin/python is likely a residue from some other test run which no longer exists, resetting the interpreter after these tests should fix the issue.
Activity
[-]resolveEnvironment returns `undefined`[/-][+]resolveEnvironment returns `undefined` when it should not[/+]karrtikr commentedon Nov 17, 2022
The link to pipeline doesn't work. This issue is also about a different interpreter than what was previously failing:
/Users/donjayamanne/crap/.venvWidgets/bin/python.karrtikr commentedon Nov 17, 2022
Python logs in microsoft/vscode-jupyter#12059 repeatedly says
/Users/donjayamanne/crap/.venvWidgets/bin/pythondoesn't exist. Are you sure it's the right interpreter you're after and can you make sure it exists before attempting to resolve it?karrtikr commentedon Nov 17, 2022
I checked a passing build and the active interpreter it is using is different:
/opt/hostedtoolcache/Python/3.10.8/x64/bin/pythonBuild: https://github.com/microsoft/vscode-jupyter/actions/runs/3484409232/jobs/5828937785
/Users/donjayamanne/crap/.venvWidgets/bin/pythonis likely a residue from some other test run which no longer exists, resetting the interpreter after these tests should fix the issue.brettcannon commentedon Nov 18, 2022
Don confirmed this was an issue on the Jupyter side and has fixed it over there.