jupyter-flex icon indicating copy to clipboard operation
jupyter-flex copied to clipboard

404 errors for js files

Open gartrog opened this issue 2 years ago • 0 comments

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.

gartrog avatar Nov 15 '23 20:11 gartrog