-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
HoloViews/ hvplot not working in code-server Jupyter Notebook on Binder #4753
Comments
Thanks for the report and URL to reproduce. Unfortunately I'm not a user of Jupyter Notebook, Binder and don't write Python regularly so I'm not sure what to expect here? I did try following your steps and I'm seeing some errors but I'm not sure what HoloViews is or how Can you elaborate on what you expect? I don't see anything specific that could cause this but it's also very hard to isolate the problem because they are so many variables at play. I noticed you said to use |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no activity occurs in the next 5 days. |
I did a quick check at https://demo.jupyter.b-data.ch (Image When a cell does not finish executing, i see the following in the container log over and over again:
|
When executing cell by cell import holoviews as hv
hv.extension("bokeh") leads to
with the last four lines repeating over and over again. |
Nice find! Well at least we can reproduce this consistently. |
One can reproduce this locally with docker, too. Initial startup: docker run -it --rm -p 8888:8888 -v $PWD:/home/jovyan -e GEN_CERT=yes registry.gitlab.b-data.ch/jupyterlab/r/verse Subsequent startups: docker run -it --rm -p 8888:8888 -v $PWD:/home/jovyan registry.gitlab.b-data.ch/jupyterlab/r/verse start-notebook.sh --NotebookApp.certfile=~/.local/share/jupyter/notebook.pem Run the initial command in an empty directory so that the container populates it. |
I am tentatively closing this as an upstream issue; if it is still a problem I think we should try reproducing in Codespaces and if it is somehow a code-server issue we can reopen. |
CROSSPOST OF: holoviz/holoviews#5182
I'm trying to create a nice repository for me and Sophia M Yang for a blog post and tutorial. I would also like to show case that the HoloViz ecosystem works with VS Code. So I added the code-server to the Binder environment.
Unfortunately it seems not to work
Reproducible Steps
https://user-images.githubusercontent.com/42288570/149618402-0d65e26d-c85d-435c-8c28-8a6b34981754.mp4
(The video is speeded up with a factor 1.7)
Repo: https://github.com/MarcSkovMadsen/hvplot_interactive commit 3cd8bf19dc326a76efe20e2dd3fedb7f1ff6e6af
notebook
Notice how it took a long time to execute this cell
Notice the console how you get an error message as you print hello.
In the video this load pretty quickly (8secs) but I've also experienced it running for minutes before I've given up.
It stopped working.
Versions
jupyter_bokeh bokeh
Version: 0.12.6
Name: holoviews
Version: 1.14.7
Name: hvplot
Version: 0.7.3
Name: ipykernel
Version: 6.7.0
Name: jupyter-bokeh
Version: 3.0.4
Name: bokeh
Version: 2.4.2
python
Python 3.7.12
Python VS Code extension
Version: ms-python v2021.12.1559732655
Jupyter VS Code extension
Version: ms-toolsai v2021.11.1001552333
code-server
Version: 4.0.1 735c6da
Log for Output - Jupyter window
stacktrace.txt
Additional Context
The text was updated successfully, but these errors were encountered: