Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install voila package on datahub #784

Closed
chrispyles opened this issue Jun 27, 2019 · 9 comments
Closed

Install voila package on datahub #784

chrispyles opened this issue Jun 27, 2019 · 9 comments

Comments

@chrispyles
Copy link
Collaborator

Is it possible to get voila (https://github.com/QuantStack/voila) enabled on the Hub? There is an app we want to run for Data 88 in Fall 2019 using it.

@chrispyles chrispyles changed the title voila enabled on Datahub Adding voila to Datahub Jun 27, 2019
@ryanlovett
Copy link
Collaborator

I think so. It depends on jupyter_server which has the note:

jupyter_server is an early developer preview, and is not suitable for general usage yet. Features and implementation are subject to change. Please use the stable notebook server for production usecases.

Just in case you weren't aware... We can install it regardless.

@chrispyles
Copy link
Collaborator Author

chrispyles commented Jun 28, 2019

There is also appmode if you think that jupyter_server isn't a good idea

@yuvipanda
Copy link
Contributor

@ryanlovett it is an optional dependency, we can just use the serverextension instead. It depends on jupyter_server only if you want to run it in standalone mode, which we don't wanna anyway

@yuvipanda yuvipanda changed the title Adding voila to Datahub Install voila package on datahub Jul 8, 2019
@ericvd-ucb
Copy link
Contributor

Hey @ryanlovett can we bump this up? not urgent but still desired

@ryanlovett
Copy link
Collaborator

ryanlovett commented Aug 6, 2019

@ericvd-ucb voila pulls in jupyter_server as an install dependency and that is breaking nbpdfexport.bundler. I need to figure out why...

Step 36/51 : RUN jupyter bundlerextension enable nbpdfexport.bundler --sys-prefix --py
 ---> Running in 3de47db959a7
Traceback (most recent call last):
  File "/srv/app/venv/bin/jupyter-bundlerextension", line 7, in <module>
    from jupyter_server.bundler.bundlerextensions import main
ModuleNotFoundError: No module named 'jupyter_server.bundler'
Removing intermediate container 3de47db959a7
The command '/bin/sh -c jupyter bundlerextension enable nbpdfexport.bundler --sys-prefix --py' returned a non-zero code: 1Traceback (most recent call last):
  File "/root/repo/venv/bin/hubploy", line 11, in <module>
    load_entry_point('hubploy==0.1.0', 'console_scripts', 'hubploy')()
  File "/root/repo/venv/lib/python3.6/site-packages/hubploy/__main__.py", line 62, in main
    imagebuilder.build_deployment(client, args.deployment, args.commit_range, args.check_registry, args.push)
  File "/root/repo/venv/lib/python3.6/site-packages/hubploy/imagebuilder.py", line 109, in build_deployment
    build_if_needed(client, image_path, image_name, commit_range, check_registry, push)
  File "/root/repo/venv/lib/python3.6/site-packages/hubploy/imagebuilder.py", line 97, in build_if_needed
    build_image(client, path, image_spec, cache_from, push)
  File "/root/repo/venv/lib/python3.6/site-packages/hubploy/imagebuilder.py", line 47, in build_image
    r2d.build()
  File "/root/repo/venv/lib/python3.6/site-packages/repo2docker/app.py", line 673, in build
    raise docker.errors.BuildError(l['error'], build_log='')
docker.errors.BuildError: The command '/bin/sh -c jupyter bundlerextension enable nbpdfexport.bundler --sys-prefix --py' returned a non-zero code: 1
Exited with code 1

Edit: voila was installed via pip. No server or lab extensions had been installed yet.

@chrispyles
Copy link
Collaborator Author

Hey is there an update on getting the server extension installed? We have a notebook deploying in Data 88 at the end of September that would really benefit from this!

@ericvd-ucb
Copy link
Contributor

Hi - i talked to @yuvipanda about it yesterday - he said it may take some fiddling on the install and he will look into it when he can, potentially we would like to demo this in class in late September

@yuvipanda
Copy link
Contributor

This is present now.

yuvipanda added a commit to yuvipanda/datahub that referenced this issue Sep 3, 2021
We suspect it caused the main thread to block, preventing
all other server actions (like file saves) from working.

Ref berkeley-dsep-infra#2688
Undoes berkeley-dsep-infra#784
@yuvipanda yuvipanda mentioned this issue Sep 3, 2021
@yuvipanda
Copy link
Contributor

Voila was removed (see #2688 (comment)).

shaneknapp pushed a commit to berkeley-dsep-infra/biology-user-image that referenced this issue Sep 6, 2024
We suspect it caused the main thread to block, preventing
all other server actions (like file saves) from working.

Ref berkeley-dsep-infra/datahub#2688
Undoes berkeley-dsep-infra/datahub#784
shaneknapp pushed a commit to berkeley-dsep-infra/publichealth-user-image that referenced this issue Sep 11, 2024
We suspect it caused the main thread to block, preventing
all other server actions (like file saves) from working.

Ref berkeley-dsep-infra/datahub#2688
Undoes berkeley-dsep-infra/datahub#784
shaneknapp pushed a commit to berkeley-dsep-infra/eecs-user-image that referenced this issue Sep 11, 2024
We suspect it caused the main thread to block, preventing
all other server actions (like file saves) from working.

Ref berkeley-dsep-infra/datahub#2688
Undoes berkeley-dsep-infra/datahub#784
shaneknapp pushed a commit to berkeley-dsep-infra/julia-user-image that referenced this issue Sep 12, 2024
We suspect it caused the main thread to block, preventing
all other server actions (like file saves) from working.

Ref berkeley-dsep-infra/datahub#2688
Undoes berkeley-dsep-infra/datahub#784
shaneknapp pushed a commit to berkeley-dsep-infra/ischool-user-image that referenced this issue Sep 24, 2024
We suspect it caused the main thread to block, preventing
all other server actions (like file saves) from working.

Ref berkeley-dsep-infra/datahub#2688
Undoes berkeley-dsep-infra/datahub#784
shaneknapp pushed a commit to berkeley-dsep-infra/datahub-user-image that referenced this issue Sep 25, 2024
We suspect it caused the main thread to block, preventing
all other server actions (like file saves) from working.

Ref berkeley-dsep-infra/datahub#2688
Undoes berkeley-dsep-infra/datahub#784
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants