Description
Currently the python extension is stalling when attempting to execute functionality following the change from a untrusted to trusted workspace. When a file is originally opened in an untrusted workspace, then switched to trusted, the follow jupyter notebook operations performed by the user will stall and not complete. Dev tools will show the following error about the client not be available.
Steps to reproduce:
- Open new workspace, click do not trust
- Make a new Jupyter notebook
- Attempt to run code in the notebook
- Check in dev tools, an error should have appeared
- VS Code will now stall and be stuck on that run command
We have also determined this issue does not happen when you originally check trust when opening a new workspace. If you make it a trusted workspace from the beginning, then try and run code in a jupyter notebook, the code will return and no error will appear in the dev tools windows.
From the code on the python side, we are able to know that the user has switched to a trusted workspace, and doing this action does not cause a problem. The problem arises when attempting to run a notebook and the client error surfaces.
Activity