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.

404 errors for js files #172

@gartrog

Description

@gartrog

Hello,

Apologies as this is probably a very rookie mistake.

I am running voila with the command:

voila --no-browser --template flex --VoilaConfiguration.file_allowlist ".*" --debug dashboard-demo.ipynb

And all the 'js' files that are in voila/templates/base/static are not found: I get tens of lines such as

404 GET /voila/files/3921.voila.js (::1) 0.72ms

and my dashboard is not rendered (well, I get the layout, but not the widget contents...)

That's strange, because I can see the correct path in the list of static paths in the debug output:

[Voila] static paths:
       <quite some lines>
        /home/morange-l/Documents/code/LAr/robot/alfe2-postprocessing/share/jupyter/voila/templates/base/static
        /home/morange-l/Documents/code/LAr/robot/alfe2-postprocessing/share/jupyter/nbconvert/templates/base/static

Any idea what is going on ?

I am using voila and jupyter-flex latest versions from pypi.

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