-
Notifications
You must be signed in to change notification settings - Fork 948
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
Better error messaging for "model not found" #3891
Labels
Custom Widget
Issues related to using ipywidgets as a framework for custom widgets
Comments
paddymul
added
the
Custom Widget
Issues related to using ipywidgets as a framework for custom widgets
label
Mar 5, 2024
After more investigation I was able to make this work.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For new users of my custom widget, the experience of seeing a JS based error saying
"widget: model not found"
is frustrating and confusing.I want to display a message like
From my understanding the python package installs properly, but the js is registered as a lab extenstion. By checking the server start time, and the package MTime, we can decide if a user is in this state and message appropriately when the package is imported or the widget used.
I don't know how to find the controlling jupyterlab server, and have filed a bug asking for help with that.
This code will be useful for all custom widgets.
jupyterlab/jupyterlab#15918
The text was updated successfully, but these errors were encountered: