-
Notifications
You must be signed in to change notification settings - Fork 337
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugnotebook-run-by-line
Milestone
Description
Environment data
- Version: 1.61.0-insider (user setup)
- Commit: 5991e3c4b97eca5568069bf3e0910ab693ad3549
- Date: 2021-09-27T05:16:11.989Z
- Electron: 13.4.0
- Chrome: 91.0.4472.164
- Node.js: 14.16.0
- V8: 9.1.269.39-electron.0
- OS: Windows_NT x64 10.0.19043
- Jupyter ver: build from main
- Python ver: v2021.9.1246542782
Expected behaviour
Calling getSelectedNotebookController()
returns the controller.
Actual behaviour
It returns undefined.
Steps to reproduce:
- Open a notebook with a local kernel
- Start a kernel outside of VS Code (
python -m notebook
) - Run the command to connect to a remote kernel
- Paste your server link
- Reload VS Code as usual
- notebook affinity is not updated, and if we need the controller it returns undefined
- Reload VS Code again
- Now it works
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugnotebook-run-by-line