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

don't attempt to update a document that doesn't exist yet #142751

Merged
merged 1 commit into from Feb 10, 2022

Conversation

amunger
Copy link
Contributor

@amunger amunger commented Feb 10, 2022

We need to set the pre-select the kernel for an interactive window so that it doesn't attempt to connect to the wrong one, but we don't have a Document object for the notebook at that point, so we shouldn't be trying to update it.
Creating the Document will automatically associate the kernel.

This PR fixes #140947

@rebornix
Copy link
Member

@amunger Thanks! Works great.

@rebornix rebornix merged commit f8d80c9 into microsoft:main Feb 10, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

On CI we get errors Error: NO notebook document for 'vscode-interactive:Interactive-2.interactive',
2 participants