dashboards_bundlers icon indicating copy to clipboard operation
dashboards_bundlers copied to clipboard

pip installation issue: 'deploy as' and 'save as' don't appear

Open amichaut opened this issue 8 years ago • 8 comments

Hello,

I have installed and set up dashboads_bundlers with pip without any error (notebook 4.2, python 2.7 on a debian machine). jupyter_dashboards and jupyter_cms are also installed and running. However, the new options 'deploy as' and 'save as Jupyter Dashboards Server bundle' do not appear in the notebook. screenshot from 2017-01-09 11 09 44 I have the following warning: [W 11:10:03.555 NotebookApp] 404 GET /nbextensions/widgets/notebook/js/extension.js?v=20170109110748 (::1) 1.43ms referer=http://localhost:8888/notebooks/Untitled.ipynb do you think it is related? Thanks

amichaut avatar Jan 09 '17 16:01 amichaut

I had the same problem. After enabling jupyter cms the items appeared:

jupyter cms quick-setup --sys-prefix

However, now I get 404 Not found (look at my filed issue). I tried many things. Nothing helps. If you will move further please let me know.

etikhomolov avatar Jan 16 '17 21:01 etikhomolov

jupyter cms quick-setup --sys-prefix

Thanks a lot, that helped. Now I have the gui elements.

@etikhomolov I don't have the 404 error, but I'm running on Arch Linux though. When I do Download as > Jupyter Dashboard Server bundle (.zip) it just downloads an .ipynb and I think, its the original notebook in the first place.

deisi avatar Jan 19 '17 13:01 deisi

If you have GUI elements after "Download as" and running in dashboard server you are one step ahead of me. I have only narrow blue line at the top and blank screen below. I am running CentOs 7.

etikhomolov avatar Jan 19 '17 19:01 etikhomolov

Do you use ipywidgets?

etikhomolov avatar Jan 19 '17 19:01 etikhomolov

jupyter cms quick-setup --sys-prefix did the trick too.

However, when I deploy as local dashboard I also have a 404 warning: [W 14:39:02.789 NotebookApp] 404 GET /files/local_dashboards/Untitled/static/urth_widgets/js/init/init.js (::1): No such file or directory: local_dashboards/Untitled/static/urth_widgets/js/init/init.js Markdown cells are visible on the deployed dashboards but code cells aren't. A blue bar keeps on loading on the top of the window.

amichaut avatar Jan 19 '17 19:01 amichaut

Try to remove .jupyter in your home directory

etikhomolov avatar Jan 19 '17 19:01 etikhomolov

not any better...

by the way, I am on Debian 8.7. Python 2.7. All packages installed through pip

amichaut avatar Jan 20 '17 01:01 amichaut

When I do Download as > Jupyter Dashboard Server bundle (.zip) it just downloads an .ipynb and I think, its the original notebook in the first place.

When there's nothing to bundle with your notebook (e.g., you're not using declarative widgets, you don't have any external HTML/CSS/JS assets used in the notebook), the download bundle returns an ipynb because there's nothing else to zip along with it. That part is expected (and we should document it in the README if it's not already.)

If you're using the dashboard server and the dashboard doesn't display past that point, it's likely a problem with how the dashboard server is configured or a bug in the dashboard server itself. If you can post an example notebook of what you're trying to do, we might be able to help you better.

parente avatar Jan 20 '17 12:01 parente