jupyter-server/jupyter-resource-usage

"Kernel usage is missing" after switching sidebar side

krassowski opened this issue · 3 comments

Description

When switching sidebar side of kernel usage panel it does not show the usage information until we switch notebook/main area widget.

Edit: also happens when opening the sidebar item for the first time.

Reproduce

  1. Right click on sidebar kernel usage item
  2. Click "switch sidebar side"
  3. See "Kernel usage is missing"

Expected behavior

We should trigger an update after reattaching the widget.

Context

  • jupyter-resource-usage 0.7.2
  • jupyterlab 3.6.1

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

jtpio commented

Wondering if this could be the same issue as with Notebook 7 at the moment:

image

pinksi commented

I used to get this error when the ipykernel version of my kernel is < 6.11.0. Maybe we can check if the kernel has correct version of ipykernel.