voila-dashboards / voila

Voilà turns Jupyter notebooks into standalone web applications
https://voila.readthedocs.io
Other
5.31k stars 497 forks source link

404 GET /templates/lab/static and /static/treepage.js #1432

Open chupinmaxime opened 6 months ago

chupinmaxime commented 6 months ago

Description

When I run voila server, I get a blank page with the terminal output :

$ voila notebooks/
[Voila] Using /tmp to store connection files
[Voila] Storing connection files in /tmp/voila_x0ehar3m.
[Voila] Serving static files from /home/maxime/anaconda3/lib/python3.11/site-packages/voila/static.
[Voila] Voilà is running at:
http://localhost:8866/
[Voila] WARNING | No web browser found: could not locate runnable browser.
[Voila] WARNING | Clearing invalid/expired login cookie username-simulations-ceremade-dauphine-lan
404 GET /templates/lab/static/index.css?v=0cafa950773a3628d1e570a8345f714642735deb33894cbfa05ca44b6144a734731910fb7bf1f92dcb8187472657f67c6d6cfedf1d80d0bd53398f6b61a0760f (::1) 0.55ms
404 GET /templates/lab/static/theme-light.css?v=d89d301f3a7604950979af8745af5ca08279fd234f07b2fb795a449d326681d8b4b0d239af551128f2131970c5b5c4bd4fd1bdc3d033bf39241b0f6f90e6bd9c (127.0.0.1) 0.50ms
404 GET /static/treepage.js (::1) 0.62ms

Context

>>> print(voila.__version__)
0.5.5

If using JupyterLab

Installed Labextensions
JupyterLab v4.0.9                                                                                                                                                                                                                                                                                                             
/home/maxime/anaconda3/share/jupyter/labextensions                                                                                                                                                                                                                                                                            
        jupyter-vuetify v1.8.10 enabled  X                                                                                                                                                                                                                                                                                    
        jupyter-vue v1.10.1 enabled OK                                                                                                                                                                                                                                                                                        
        jupyterlab-datawidgets v7.1.2 enabled OK                                                                                                                                                                                                                                                                              
        jupyter-webrtc v0.6.0 enabled OK                                                                                                                                                                                                                                                                                      
        jupyter-matplotlib v0.11.3 enabled OK                                                                                                                                                                                                                                                                                 
        jupyter-threejs v2.4.1 enabled OK (python, pythreejs)                                                                                                                                                                                                                                                                 
        ipyvolume v0.6.3 enabled OK                                                                                                                                                                                                                                                                                           
        bqplot v0.5.43 enabled  X (python, bqplot)                                                                                                                                                                                                                                                                            
        jupyterlab-plotly v5.9.0 enabled  X                                                                                                                                                                                                                                                                                   
        @jupyter-widgets/jupyterlab-manager v5.0.9 enabled OK (python, jupyterlab_widgets)                                                                                                                                                                                                                                    
        @jupyter-notebook/lab-extension v7.0.6 enabled OK                                                                                                                                                                                                                                                                     
        @voila-dashboards/jupyterlab-preview v2.3.5 enabled OK (python, voila)                                                                                                                                                                                                                                                
        @pyviz/jupyterlab_pyviz v3.0.0 enabled OK                                                                                                                                                                                                                                                                             

   The following extensions are outdated:                                                                                                                                                                                                                                                                                     
        jupyter-vuetify                                                                                                                                                                                                                                                                                                       
        bqplot                                                                                                                                                                                                                                                                                                                
        jupyterlab-plotly                                                                                                                                                                                                                                                                                                     

   Consider checking if an update is available for these packages.                                                                                                                                                                                                                                                            

Other labextensions (built into JupyterLab)                                                                                                                                                                                                                                                                                   
   app dir: /home/maxime/anaconda3/share/jupyter/lab