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
Error: Object 'jupyter.widget' not found in registry #4855
Comments
How can we reproduce this? |
Same for me, Restarting with only one tab returns no errors. |
I can't reproduce this either. I start up Lab with a workspace with three notebooks, and I see each kernel being connected to twice, and no error messages. What versions of jupyter lab, ipywidgets, and the jlab widget manager do you have installed? |
I performed the conda install jupyter lab and widgets installations this week, so what ever is currently on the conda channels, using Windows 10. I can confirm exact versions on Monday. |
NB Running on Firefox 62 with UBlock Origin |
Hello, same here: $ jupyter labextension list
JupyterLab v0.34.0
Known labextensions:
app dir: /root/miniconda3/share/jupyter/lab
@jupyter-widgets/jupyterlab-manager
@jupyter-widgets/jupyterlab-manager v0.37.4 enabled OK
@jupyterlab/plotly-extension
@jupyterlab/plotly-extension v0.17.2 enabled OK
plotlywidget
plotlywidget v0.3.0 enabled OK $ pip list # curated a bit this one, ask for the full list if needed
Package Version
------------------- ---------
conda 4.5.4
html5lib 1.0.1
ipykernel 4.8.2
ipython 6.4.0
ipython-genutils 0.2.0
ipywidgets 7.2.1
jsonschema 2.6.0
jupyter-client 5.2.3
jupyter-core 4.4.0
jupyterlab 0.34.0
jupyterlab-launcher 0.13.1
matplotlib 2.2.2
notebook 5.5.0
numpy 1.14.5
pandas 0.22.0
pip 10.0.1
plotly 3.2.1
scipy 1.1.0
setuptools 39.2.0
widgetsnbextension 3.2.1 |
After googling for a while without hope, I realized that I need jupyter labextension install @jupyter-widgets/jupyterlab-manager |
@jasongrout I have jupyterlab-manager (1.0.2) installed on Jupyter Lab (1.0.2) but still the issue.
In 'real life' the bug happens randomly after usually 30 minutes working in the notebook. Edit: |
This may be fixed in #6929 and will be released in 1.1 next week. Can you test out the 1.1 release candidate and see if it solves the issue?
or
|
I've just tried the v1.1.0rc0 and it works perfectly :) |
Great! |
Fix #22 ipywidgets was not working See jupyterlab/jupyterlab#4855 (comment) WIP #23 added ipython_notebook_config.py to set InteractiveShellApp.exec_lines and IPKernelApp.exec_lines Still getting error before last change and this commit
I'm experiencing the issue again with JupyterLab 1.0.2 |
No, there shouldn't be a regression. Can you update to 1.1.1? This error is a very generic error with any number of causes, usually I think having to do with an installation issue. So it would be best to open a new issue (please follow the reporting diagnosis guide at https://jupyterlab.readthedocs.io/en/stable/getting_started/issue.html to get a reproducible scenario and gather relevant information) |
The error is thrown when more than one notebook panel is opened when Lab launch.
There are more than one kernel started and only one at the beginning has the eg. jupyter.widgets extension registered.
The error is thrown even when no 3rd party extension is used and the simple ipywidgets widget has to be rendered.
The error is thrown even when we try to send msg to comm, targeting the custom
com_target
that has been registered during the custom extension registration step.Please see twosigma/beakerx#7520
The text was updated successfully, but these errors were encountered: