question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problems tab is not cleared after error has been fixed

See original GitHub issue

Environment data

  • VS Code version: 1.53.0-inside
  • Jupyter Extension version (available under the Extensions sidebar): v2020.12.414227025
  • Python Extension version (available under the Extensions sidebar): v2020.12.424452561
  • OS (Windows | Mac | Linux distro) and version: Win10.18363 x64
  • Python and/or Anaconda version: 3.8.2 (tags/v3.8.2:7b3ab59, Feb 25 2020, 23:03:10) [MSC v.1916 64 bit (AMD64)] on win32
  • Type of virtual environment used (N/A | venv | virtualenv | conda | …): N/A
  • Jupyter server running: Local

Expected behaviour

Problems tab should clear all error messages after errors have been fixed in a jupyter notebook

Actual behaviour

Error messages remain in the problems tab until vscode is restarted (restart of jupyter kernel or re-opening the jupyter notebook file does not help)

Steps to reproduce:

  1. create a new jupyter notebook
  2. in the first cell add print "abc"
  3. add a 2nd cell, add print("abc")
  4. save
  5. fix the error in the first cell

2021-01-03-121215.png

Logs

Output for Jupyter in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Jupyter)

User belongs to experiment group 'NativeNotebookEditor'
> C:\Python38\python.exe c:\Users\amueller\.vscode-insiders\extensions\ms-toolsai.jupyter-2020.12.414227025\pythonFiles\pyvsc-run-isolated.py -c "import notebook"
> C:\Python38\python.exe c:\Users\amueller\.vscode-insiders\extensions\ms-toolsai.jupyter-2020.12.414227025\pythonFiles\pyvsc-run-isolated.py -c "import notebook"
> C:\Python38\python.exe c:\Users\amueller\.vscode-insiders\extensions\ms-toolsai.jupyter-2020.12.414227025\pythonFiles\pyvsc-run-isolated.py -c "import jupyter"
> C:\Python38\python.exe c:\Users\amueller\.vscode-insiders\extensions\ms-toolsai.jupyter-2020.12.414227025\pythonFiles\pyvsc-run-isolated.py -c "import jupyter"
> C:\Python38\python.exe c:\Users\amueller\.vscode-insiders\extensions\ms-toolsai.jupyter-2020.12.414227025\pythonFiles\pyvsc-run-isolated.py -c "import ipykernel"
> C:\Python38\python.exe c:\Users\amueller\.vscode-insiders\extensions\ms-toolsai.jupyter-2020.12.414227025\pythonFiles\pyvsc-run-isolated.py -c "import ipykernel"
> C:\Python38\python.exe c:\Users\amueller\.vscode-insiders\extensions\ms-toolsai.jupyter-2020.12.414227025\pythonFiles\pyvsc-run-isolated.py jupyter kernelspec --version
> C:\Python38\python.exe c:\Users\amueller\.vscode-insiders\extensions\ms-toolsai.jupyter-2020.12.414227025\pythonFiles\pyvsc-run-isolated.py jupyter kernelspec --version
> C:\Python38\python.exe c:\Users\amueller\.vscode-insiders\extensions\ms-toolsai.jupyter-2020.12.414227025\pythonFiles\pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> C:\Python38\python.exe c:\Users\amueller\.vscode-insiders\extensions\ms-toolsai.jupyter-2020.12.414227025\pythonFiles\pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> C:\Python38\python.exe c:\Users\amueller\.vscode-insiders\extensions\ms-toolsai.jupyter-2020.12.414227025\pythonFiles\pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> C:\Python38\python.exe c:\Users\amueller\.vscode-insiders\extensions\ms-toolsai.jupyter-2020.12.414227025\pythonFiles\pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> C:\Python38\python.exe c:\Users\amueller\.vscode-insiders\extensions\ms-toolsai.jupyter-2020.12.414227025\pythonFiles\pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> C:\Python38\python.exe c:\Users\amueller\.vscode-insiders\extensions\ms-toolsai.jupyter-2020.12.414227025\pythonFiles\pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
> C:\Python38\python.exe c:\Users\amueller\.vscode-insiders\extensions\ms-toolsai.jupyter-2020.12.414227025\pythonFiles\pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
> C:\Python38\python.exe c:\Users\amueller\.vscode-insiders\extensions\ms-toolsai.jupyter-2020.12.414227025\pythonFiles\pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
Error 2021-01-03 12:08:54: Jupyter Kernel Spec not found for a local connection
> C:\Python38\python.exe -c "import os;print(os.path.realpath("C:\\Users\\amueller\\AppData\\Roaming\\jupyter\\kernels"))"
> C:\Python38\python.exe -c "import os;print(os.path.realpath("C:\\Users\\amueller\\AppData\\Roaming\\jupyter\\kernels"))"
Error 2021-01-03 12:08:56: Jupyter Kernel Spec not found for a local connection
> C:\Python38\python.exe -c "import os;print(os.path.realpath("C:\\Users\\amueller\\AppData\\Roaming\\jupyter\\kernels"))"
> C:\Python38\python.exe -c "import os;print(os.path.realpath("C:\\Users\\amueller\\AppData\\Roaming\\jupyter\\kernels"))"
Error 2021-01-03 12:09:37: Jupyter Kernel Spec not found for a local connection
Error 2021-01-03 12:09:43: Attempted to SaveAs with a model that is not NativeEditorNotebookModel
Error 2021-01-03 12:09:43: Jupyter Kernel Spec not found for a local connection

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
arminuscommented, Mar 25, 2021

@DonJayamanne - not sure why you close this, this ticket was earlier an has clear repros…

0reactions
arminuscommented, Mar 26, 2021

@DonJayamanne this ticket was originally reported for 1.53.0-inside, I’m still on an insider build and although it feels like the problem might occur less frequently, I still observe it. So I still don’t understand why a ticket into which someone put some effort of providing repros gets closed as duplicate of a newer ticket.

But, whatever, then I’ll observe #5161 from now on.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Errors occur while you are using the IBM Integration Toolkit
Solution: Click Connect to load the help system. The IBM Integration Toolkit displays an error message after the error has been fixed.
Read more >
Error "To re-enable the application, the tab needs to be ...
I have a problem when opening Chrome in incognito mode and opening up teams ... No need to clear browser cache or change...
Read more >
Issues: Find and fix problems - Chrome Developers
Use the Issues Tab to find and fix problems with your website. ... Depending on issue severity, the button can have a red...
Read more >
Fix "Aw, Snap!" page crashes and other page loading errors
Close every tab except for the one that's showing the error message. Quit other apps that are running, and pause any app or...
Read more >
Eclipse shows errors but I can't find them - java - Stack Overflow
If they are xml file related try going to "problems" deleting the errors from there and rebuilding. – Donal Rafferty. Sep 28, 2010...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found