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.

403 GET /voila/static/jupyter-flex-embed.css: jupyter-flex-embed.css is not in root static directory #184

@jmp75

Description

@jmp75

Relates to other relatively recent issues. I am trying to run examples using the dev mode, marginally hoping to figure out a fix.

Using the codebase at commit 7013993fcf910591196faeb725d5482b37adad8a april 2024

Following the guidelines as written in CONTRIBUTING.md, using task and hatch

From the newly created (jupyter-flex) virtual environnment, in the examples subfolder, task voila-examples launches:
voila --template flex --VoilaConfiguration.file_whitelist '.*'

Any of the notebooks available get stuck on ... building dashboard ...

403 GET /voila/static/jupyter-flex-embed.css (127.0.0.1): jupyter-flex-embed.css is not in root static directory
403 GET /voila/static/jupyter-flex-embed.css (127.0.0.1) 0.68ms
403 GET /voila/static/jupyter-flex-embed.css (127.0.0.1): jupyter-flex-embed.css is not in root static directory
403 GET /voila/static/jupyter-flex-embed.css (127.0.0.1) 0.85ms
404 GET /api/kernels?1715585460785 (127.0.0.1) 0.27ms
[Voila] WARNING | Notebook iris-clustering.ipynb is not trusted
[Voila] Kernel started: 44458986-ffe1-4081-94d2-614937680a35
Could not open static file '/usr/share/jupyter/nbconvert/templates/base/static/jupyter-flex-embed.css'
404 GET /voila/templates/flex/static/jupyter-flex-embed.css (127.0.0.1) 0.98ms
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.00ms

The python environment created includes the following packages:

ipython==8.24.0
ipywidgets==8.1.2
Jinja2==3.1.4
jupyter_core==5.7.2
jupyter_server==2.14.0
nbclient==0.7.4
nbconvert==7.16.4
voila==0.5.6

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