yWorks / yfiles-jupyter-graphs

The home of the Jupyter notebook graph visualization widget powered by yFiles for HTML
https://www.yworks.com/products/yfiles-graphs-for-jupyter
Other
162 stars 15 forks source link

Error: No version of module yfiles-jupyter-graphs is registered #40

Closed NanisTe closed 10 months ago

NanisTe commented 10 months ago

Describe the bug The following error appears after having installed yfiles-jupyter-graphs.

To Reproduce Steps to reproduce the behavior:

  1. pip install yfiles-jupyter-graphs
  2. done so in base conda environment and specific conda environment
  3. running `from yfiles_jupyter_graphs import GraphWidget

    shows empty widget

    GraphWidget()` in a notebook cell

  4. See error Works by the way in Safari but not in chromium based Brave Browser

Expected behavior see the widget.

Screenshots

image image image

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

yGuy commented 10 months ago

Have you tried restarting the kernel after installing the module and/or reloading the jupyter notebook in the browser? The error typically indicates that the Jupyter widget registry does not match the widgets registered in the running browser instance.

NanisTe commented 10 months ago

Yes. All of that. As mentioned opening the same instance from Safari works fine.

fskpf commented 10 months ago

I still believe this is a caching issue or something is blocked in the Brave browser. Even more so, if the very same instance works in a different browser.

I also just tested it successfully in a fresh environment with Brave browser, on Windows though.

Please try to run it in a private Brave window. Maybe it makes a difference.

yGuy commented 10 months ago

Anything suspicious on the dev tools console?

NanisTe commented 10 months ago

It seems to be gone after multiple restarts of browser. There must have been something between Okta and Kubeflow having an effect on the Jupyterlab running inside the Kubeflow Notebook. Sorry for posting, but since I did multiple restarts and nothing changed I thought that could not have been related to some caching.