pbugnion / gmaps

Google maps for Jupyter notebooks
https://jupyter-gmaps.readthedocs.io/en/stable/
Other
760 stars 147 forks source link

Error displaying widget on Jupyter Lab despite labextension gmaps ok #324

Open jeromemassot opened 5 years ago

jeromemassot commented 5 years ago

Hi team,

I have the Error displaying widget error despite my install seems ok. Any help is welcome here.

JupyterLab v0.32.1 Known labextensions: app dir: C:\Users\j_mas\Anaconda3\share\jupyter\lab @jupyter-widgets/jupyterlab-manager @jupyter-widgets/jupyterlab-manager v0.35.0 enabled ok jupyter-gmaps jupyter-gmaps v0.9.0 enabled ok jupyterlab_bokeh jupyterlab_bokeh v0.5.0 enabled ok

Thanks

Best regards

Jerome

dat-boris commented 5 years ago

I ran into the same issue too.

You are running old verison of JupyterLab - the support for older JupyterLab (<1.0) is removed at jupyter-gmaps >=0.9.0

You can probably downgrade your gmap version, or better yet, upgrade your jupyter lab.

My current versions that works:

> jupyter labextension list

JupyterLab v1.1.3
Known labextensions:
   app dir: /opt/conda/share/jupyter/lab
        @jupyter-widgets/jupyterlab-manager v1.0.3  enabled  OK
        jupyter-gmaps v0.9.0  enabled  OK
        jupyterlab_bokeh v1.0.0  enabled  OK
epogrebnyak commented 4 years ago

I have the following setup and the figure does not render on JupyterLab, no error message, but no figure either.

λ jupyter labextension list
JupyterLab v1.2.4
Known labextensions:
   app dir: d:\anaconda3\share\jupyter\lab
        @jupyter-widgets/jupyterlab-manager v1.1.0 enabled  ok
        jupyter-gmaps v0.9.0 enabled  ok

When I start the notebook I get:

A Jupyter widget could not be displayed because the widget state could not be found. This could happen if the kernel storing the widget is no longer available, or if the widget state was not saved in the notebook. You may be able to create the widget by running the appropriate cells.