Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant