Skip to content

Commit

Permalink
docker: disable labextension @pyviz/jupyterlab_pyviz
Browse files Browse the repository at this point in the history
For the following error:

Step 10/18 : RUN jupyter labextension install @jupyter-widgets/jupyterlab-manager     && jupyter serverextension enable voila --sys-prefix     && jupy
ter labextension install @jupyter-widgets/jupyterlab-manager jupyter-leaflet     && jupyter labextension install @bokeh/jupyter_bokeh     && jupyter l
abextension install @pyviz/jupyterlab_pyviz
 ---> Running in 14eae75d9a7d
Building jupyterlab assets (build:prod:minimize)
Enabling: voila
- Writing config: /opt/conda/envs/birdy/etc/jupyter
    - Validating...
      voila 0.1.21 OK                                                                                                                                 Building jupyterlab assets (build:prod:minimize)
Building jupyterlab assets (build:prod:minimize)
Building jupyterlab assets (build:prod:minimize)
An error occured.
ValueError: Invalid file object: <_io.TextIOWrapper name=5 encoding='UTF-8'>
See the log file for details:  /tmp/jupyterlab-debug-4keelrrw.log
The command '/bin/sh -c jupyter labextension install @jupyter-widgets/jupyterlab-manager     && jupyter serverextension enable voila --sys-prefix
&& jupyter labextension install @jupyter-widgets/jupyterlab-manager jupyter-leaflet     && jupyter labextension install @bokeh/jupyter_bokeh     && ju
pyter labextension install @pyviz/jupyterlab_pyviz' returned a non-zero code: 1
  • Loading branch information
tlvu committed May 7, 2020
1 parent e8f6a54 commit ce329a4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ RUN jupyter lab build
RUN jupyter labextension install @jupyter-widgets/jupyterlab-manager \
&& jupyter serverextension enable voila --sys-prefix \
&& jupyter labextension install @jupyter-widgets/jupyterlab-manager jupyter-leaflet \
&& jupyter labextension install @bokeh/jupyter_bokeh \
&& jupyter labextension install @pyviz/jupyterlab_pyviz
&& jupyter labextension install @bokeh/jupyter_bokeh

ADD https://raw.githubusercontent.com/jupyter/docker-stacks/master/base-notebook/start.sh /usr/local/bin/
ADD https://raw.githubusercontent.com/jupyter/docker-stacks/master/base-notebook/start-singleuser.sh /usr/local/bin/
Expand Down

0 comments on commit ce329a4

Please sign in to comment.