jupyter-resource-usage icon indicating copy to clipboard operation
jupyter-resource-usage copied to clipboard

"Kernel usage is missing" after switching sidebar side

Open krassowski opened this issue 2 years ago • 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

krassowski avatar Feb 22 '23 12:02 krassowski

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
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! :wave:
Welcome to the Jupyter community! :tada:

welcome[bot] avatar Feb 22 '23 12:02 welcome[bot]

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

image

jtpio avatar Jun 20 '23 07:06 jtpio

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.

pinksi avatar Oct 06 '23 15:10 pinksi