Skip to content
This repository was archived by the owner on Jul 20, 2024. It is now read-only.
This repository was archived by the owner on Jul 20, 2024. It is now read-only.

Stuck on "... building dashboard ..." and 404 GET /voila/templates/flex/static/jupyter-flex-embed.js #169

Description

@jmp75

I am trying to upgrade an environment to use the latest versions of jupyter-flex and dependencies. I cannot get the dashboard to display.

Repro

Conda environment created using mambaforge include:

voila                     0.5.4              pyhd8ed1ab_0    conda-forge
ipywidgets                8.1.1              pyhd8ed1ab_0    conda-forge
jinja2                    3.1.2              pyhd8ed1ab_1    conda-forge
jupyter-flex              0.9.1              pyhd8ed1ab_0    conda-forge
nbconvert                 7.9.2              pyhd8ed1ab_0    conda-forge

Starting my app with:

voila \
    --template=flex \
    --no-browser \
    --VoilaConfiguration.file_allowlist ".*" \
    --MappingKernelManager.cull_interval=60 \
    --MappingKernelManager.cull_idle_timeout=900 \
    Biomass.ipynb

Observation

kernel starts and visibly notebook cells are being run. The format is looking "raw" however

Then it remains stuck on:

... building dashboard ...

the command line reports:

Could not open static file '/usr/share/jupyter/nbconvert/templates/base/static/jupyter-flex-embed.js'
404 GET /voila/templates/flex/static/jupyter-flex-embed.js (127.0.0.1) 1.36ms

dong a disk search it appears indeed that jupyter-flex-embed.js is not under my new conda environment, but is present in my previous environment "my_prod_environment/" which was using jupyter-flex 0.7.x:

/home/xxxabc/mambaforge/envs/my_prod_environment/lib/python3.9/site-packages/jupyter_flex/templates/nbconvert/flex/static/jupyter-flex-embed.js

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions