Closed cdeil closed 1 year ago
Disclaimer: we started getting familiar with widgets quite recently, I'm not an expert at all.
My understanding is that without activating the extension, this is expected. I get the same error when not activated. Did you manage to make it work once the extension is activated?
I have the same error, I followed your install instructions and turned on both extensions with:
jupyter nbextension enable --py widgetsnbextension
jupyter nbextension enable --py --sys-prefix ipyaladin
and I get the same issue.
can you check with the following code whether you can display simple widgets:
from ipywidgets import widgets
widgets.IntSlider(
value=7,
min=0,
max=10,
step=1,
description='Test:',
disabled=False,
continuous_update=False,
orientation='horizontal',
readout=True,
readout_format='d'
)
I get the following error:
Error rendering Jupyter widget. Widget not found: {"model_id":"b9825337cd7946cc8dc3343a6623f234"}
Can you check ipywidgets and widgetsnbextension versions?
import ipywidgets
ipywidgets.__version__
import widgetsnbextension
widgetsnbextension.__version__
ipywidgets
is version 6.0.0
widgetsnbextension
is version 3.0.1
Updating these fixes the problem. Beautiful widget now works! Thanks for troubleshooting for me
@tboch - Close this issue? Or is there a way to improve something, i.e. to give an error message that says "You need to activate this extension, see ... for help" instead of an AttributeError?
I close the issue as activating the extension is not needed anymore from version 0.1.11
@tboch - I'm getting this error: https://github.com/cdeil/hipsperiments/blob/master/ipyal_bool_error.ipynb
Note that this is without the extension activated, so maybe it's my fault?
Or is this a bug where you accidentally clobber the
log
property and should better choose another name for your property?