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

404 errors for js files #172

Open
gartrog opened this issue Nov 15, 2023 · 0 comments
Open

404 errors for js files #172

gartrog opened this issue Nov 15, 2023 · 0 comments

Comments

@gartrog
Copy link

gartrog commented Nov 15, 2023

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.

@jmp75 jmp75 mentioned this issue Apr 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant