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

Notify users of files that could have caused the kernel to crash #10923

Closed
2 of 4 tasks
DonJayamanne opened this issue Jul 25, 2022 · 1 comment
Closed
2 of 4 tasks

Notify users of files that could have caused the kernel to crash #10923

DonJayamanne opened this issue Jul 25, 2022 · 1 comment

Comments

@DonJayamanne
Copy link
Contributor

DonJayamanne commented Jul 25, 2022

Refs: #7538

Complexity: 3

Authors: @DonJayamanne

Create Issue


Requirements

  • Install prerelease jupyter extension into VS Code Insiders (desktop)
  • Have a python environment that you can run jupyter from. (https://jupyter.org/install)
  • Be familiar with jupyter notebooks
  • Use Python 3.6 or later (please ensure you aren't using Python 2, use python --version to check the version)
  • Ensure the following setting is added to your settings.json file (this is a hidden setting only used for testing)
"jupyter.disableZMQSupport": true,

Test Error message

  1. Open a folder in VS Code
  2. Add a file named email.py to the root directory of the workspace folder
  3. Create an ipynb file in the root directory
  4. Run a cell in the ipynb file with any code such as print(1234)
  5. Wait for the kernel startup to fail (this can take around 30 seconds)
  • Verify an error message is displayed indicating the fact that the presence of the file email.py may have caused the kernel to crash
  • Delete the email.py file and verify the kernel now runs.
@DonJayamanne DonJayamanne added the bug Issue identified by VS Code Team member as probable bug label Jul 25, 2022
@github-actions github-actions bot added the triage-needed Issue needs to be triaged label Jul 25, 2022
@DonJayamanne DonJayamanne added testplan-item and removed bug Issue identified by VS Code Team member as probable bug labels Jul 25, 2022
@DonJayamanne DonJayamanne added this to the July 2022 milestone Jul 25, 2022
@DonJayamanne DonJayamanne removed the triage-needed Issue needs to be triaged label Jul 25, 2022
@rebornix
Copy link
Member

rebornix commented Jul 26, 2022

It works great and the error message is intuitive 👍 . I only ran into a different exception on kernel restart.

@rebornix rebornix removed their assignment Jul 26, 2022
@karrtikr karrtikr removed their assignment Jul 26, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants