question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to use infer_jupyter_proxy_config with jupyterhub

See original GitHub issue

Hi!

I’m having trouble getting jupyter-dash to work with jupyterhub.

The base environment that jupyterhub is running in has jupyter_server_proxy enabled (shows up when the jupyter serverextensions are listed). The kernel has jupyter-dash installed. I’m primarily interested in getting it to work with classic notebooks, but I tried it in lab and it didn’t work either (same error).

Running: JupyterDash.infer_jupyter_proxy_config() results in the following error:

OSError: Unable to communicate with the jupyter_dash notebook or JupyterLab 
extension required to infer Jupyter configuration.

I tried adding the

from jupyter_dash.comms import _send_jupyter_config_comm_request
_send_jupyter_config_comm_request()

from #17, but no luck there.

Any advice for how to debug further?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9

github_iconTop GitHub Comments

8reactions
Folongtoncommented, Jul 12, 2021

It worked after I installed jupyter-dash into the base environment as well! No need for _send_jupyter_config_comm_request()

Hi , I have met the same problem . what means "installed jupyter-dash into the base environment "

Google " What is base environment"

2reactions
qih08commented, Jan 14, 2021

It worked after I installed jupyter-dash into the base environment as well! No need for _send_jupyter_config_comm_request()

Read more comments on GitHub >

github_iconTop Results From Across the Web

Docker Image Not Running On Host 8050 - ADocLib
Develop Dash apps in the Jupyter Notebook and JupyterLab plotly/jupyterdash. Can't run JupyterDash or Plotly from JupyterLab 3.0.10 with docker container.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found