Comments (8)
Same here. We want to develop dash apps in jupyterlab hub (tljh).
from jupyter-dash.
We are seeing a similar issue. Jupyterhub never responds to this request:
jupyter-dash/jupyter_dash/comms.py
Line 16 in 351cb7c
from jupyter-dash.
Any progress on this issue?
from jupyter-dash.
me waiting also ;)
from jupyter-dash.
Same here.
Are there any updates on this issue?
from jupyter-dash.
+1
from jupyter-dash.
I have a docker MWE to replicate this:
FROM python@sha256:743d52e1c66f456f40d1e673fe580d0ebda7b97a926c81678dedfed2d4a3fd31
RUN apt update
# Install jupyterhub
RUN apt install -y nodejs npm && pip install jupyterhub && \
npm install -g configurable-http-proxy && pip install jupyterlab
RUN pip install jupyter-dash && jupyter lab build && \
pip install jupyter-server-proxy && \
pip install jupyter-dash && \
jupyter lab build
RUN mkdir -p /jupyter_keys && \
cd /jupyter_keys && \
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -sha256 -days 365 -nodes -subj "/C=IE/ST=County Dublin/L=Dublin/O=MyOrg/OU=JupyterPeeps/CN=Jupyter Hub"
RUN useradd testuser && echo "testuser:testpassword" | chpasswd && mkdir -p /home/testuser && chown testuser /home/testuser
CMD jupyterhub --ip 0.0.0.0 --port 443 --ssl-key /jupyter_keys/key.pem --ssl-cert /jupyter_keys/cert.pem & sleep 1720d
Build this dockerfile, then launch it, connect as testuser and try running this in a new notebook:
from jupyter_dash import JupyterDash
JupyterDash.infer_jupyter_proxy_config()
from jupyter-dash.
It appears that about a year ago, ipykernel changed several functions into coroutines. That includes this function being called in jupyter-dash.
Thus, that function call needs to be changed to maybe something like this:
loop = asyncio.get_running_loop()
loop.run_until_complete(kernel.do_one_iteration())
That would hopefully fix it.
For now, I'm just downgrading ipykernel
to 5.5.4 (the version immediately before that change) and the jupyter dash example seems to work...
from jupyter-dash.
Related Issues (20)
- What are the specific dependencies of Jupyter Dash? HOT 2
- [Bug]
- [Feature Request] Ability to Run Jupyter Dash in a Kernel's Python Environment
- [Bug] Can't restart the jupyter-dash app through rerunning the jupyter cell HOT 1
- Hot reloading and rerunning app.run_server() don't work HOT 3
- typo in getting_started.ipynb HOT 1
- I get the following error: app.run_server(mode="jupyterlab") HOT 2
- Next release? HOT 12
- Cannot instantiate JupyterDash instance with fresh install HOT 3
- OSError: Address 'http://127.0.0.1:8050' already in use. when using in Jupyter notebook HOT 1
- TLJH version Jupyter starts 0.0.0.0:8050, setting the proxy does not take effect
- `jupyter_mode = inline` fails where `external` and `tab` work HOT 1
- Installing via conda causes "Plugin 'jupyterlab_dash' is already registered." HOT 2
- No module named 'jupyter-dash' HOT 6
- Error 403 HOT 2
- export app data from firebase to google big query
- mode='jupyterlab' not work, but 'inline' works. HOT 1
- `run_server(height=...)` height parameter not work
- Re-define `@app.callback` in jupyter raise error: `Duplicate callback outputs` HOT 1
- I would like to know if there is a way to refresh the jupyter dash server without restarting the kernel HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jupyter-dash.