You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 20, 2024. It is now read-only.
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:
Note that other custom dashboard templates such as voila-material seem to work fine on the example notebooks.
using a separate mamba activate my_environment (albeit with voila 0.4.4)
voila --template material --VoilaConfiguration.file_whitelist '.*' nba-scoring.ipynb
A note, which may be a red herring, unrelated to the above issue, but while the dashboard seems to work, the comman dline reports
404 GET /voila/files/voila/jupyterlab-plotly.js (127.0.0.1) 0.40ms
This is despite installing mamba install plotly jupyterlab-plotly-extension
The python package jupyter-flex seems to have the same type of material under ./python/share/jupyter/nbconvert/templates/flex/static/ as voila-material. Note that jupyter-flex-embed.css and jupyter-flex-embed.js seem to be generated by the build process (not commited). Why the css and js template resources are not found the same way is beyond me.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
andhatch
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 ...
The python environment created includes the following packages:
The text was updated successfully, but these errors were encountered: