Skip to content
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

Remove confusing error message #3936

Merged

Conversation

martinRenou
Copy link
Member

This error message was introduced in #3335.

It shows up when the user refreshes the JupyterLab page on a kernel that has not yet imported ipywidgets, because the manager requests for widgets states, but the kernel is not able to answer back any widget model as ipwidgets was not imported. It is a normal workflow that should not show any error message.

This error message would also show up when using the manager with a kernel using ipywidgets 7, in that case as well we should not show any error message as it's a normal workflow too.

This PR removes the error message to prevent any confusion from the user.

This error message was introduced in jupyter-widgets#3335.

It shows up when the user refreshes the JupyterLab page on a kernel that
has not yet imported ipywidgets, because the manager requests for widgets
states, but the kernel is not able to answer back any widget model as
ipwidgets was not imported. It is a normal workflow that should not show
any error message.

This error message would also show up when using the manager with a
kernel using ipywidgets 7, in that case as well we should not show any
error message as it's a normal workflow too.

This PR removes the error message to prevent any confusion from the
user.
Copy link

Binder 👈 Launch a binder notebook on branch martinRenou/ipywidgets/remove_confusing_error_message

@martinRenou martinRenou merged commit 69efca9 into jupyter-widgets:main Aug 22, 2024
20 of 21 checks passed
@martinRenou martinRenou deleted the remove_confusing_error_message branch August 22, 2024 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants