jupyter / dashboards_server

[RETIRED] Server that runs and renders Jupyter notebooks as interactive dashboards
Other
181 stars 48 forks source link

assistance running and sharing interactive dashboard #332

Open Alcampopiano opened 7 years ago

Alcampopiano commented 7 years ago

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

damelLP commented 7 years ago

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

Alcampopiano commented 7 years ago

7.0.0b2

damelLP commented 7 years ago

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.