dashboards_server icon indicating copy to clipboard operation
dashboards_server copied to clipboard

assistance running and sharing interactive dashboard

Open Alcampopiano opened this issue 7 years ago • 3 comments

Hi there,

I am trying my best to follow the instructions here, here, and here in order to deploy a dashboard as a web app.

I work for a school board and the end-users of my reports are those who do not know how to program, but would love to use widgets to explore the data interactively. (So, I'm basically Alice).

I've installed the packages specified in the documentation, and done the following to get the kernal gateway, notebook server, and dashboard server running.

# run the kernel gateway in the background using default settings
jupyter-kernelgateway &
# listening on port 8888

# run the notebook server
juputer notebook &
# listening on port 8889

# run the dashboard server
jupyter-dashboards-server --NOTEBOOKS_DIR=`pwd` --KERNEL_GATEWAY_URL=http://127.0.0.1:8888 &
# listening on port 3000

However, when I go to 127.0.0.1:8888 and select my notebook, nothing shows up except for the following:

jup

The notebook has a few "select" widgets and they interact with one another calling python callbacks to do certian things. Here is a part of what the notebook looks like:

before

Could you please help me to understand what I am doing wrong, and even if the notebook were to show up, what I would have to do to share it with another user (and have it maintain interactivity).

Thanks very much,

Al

Alcampopiano avatar Jul 27 '17 17:07 Alcampopiano

What version of ipywidgets did you use to construct the notebook?

damelLP avatar Jul 27 '17 20:07 damelLP

7.0.0b2

Alcampopiano avatar Jul 31 '17 19:07 Alcampopiano

I reckon that's your issue (this was the issue when I had a similar problem).

If you have a look at the README this project currently only supports ipywidgets 5.2.x. If you use methods that aren't a part of 5.2.x or you have your kernel gateway running with ipywidgets 5.2.x I don't think it will work.

damelLP avatar Jul 31 '17 21:07 damelLP