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
My Jupyter notebook loads ipywidgets some of them instantiating IFrame objects loading static html files.
Despite whitelisting html files in Voila (v0.3.0), the Voila server fails with a 500 error:
ERROR:tornado.application:Uncaught exception GET /voila/render/hello.html (127.0.0.1)
HTTPServerRequest(protocol='http', host='localhost:8866', method='GET', uri='/voila/render/hello.html', version='HTTP/1.1', remote_ip='127.0.0.1')
Traceback (most recent call last):
File "/home/tilushq/opt/miniconda3/envs/jupyter/lib/python3.7/site-packages/tornado/web.py", line 1704, in _execute
result = await result
File "/home/tilushq/opt/miniconda3/envs/jupyter/lib/python3.7/site-packages/voila/handler.py", line 150, in get
kernel_name=gen.notebook.metadata.kernelspec.name,
AttributeError: 'NoneType' object has no attribute 'metadata'
ERROR:tornado.access:500 GET /voila/render/hello.html (127.0.0.1) 18.03ms
Following up the conversation in #1044 (comment):
Description
My Jupyter notebook loads
ipywidgets
some of them instantiatingIFrame
objects loading static html files.Despite whitelisting html files in Voila (v0.3.0), the Voila server fails with a 500 error:
Reproduce
All files are in working directory X:
voila.json
file with configuration:test.ipynb
with the minimal code:Invoke Voila in directory X:
voila .
Open
test.ipynb
in the browser and let it run.The rendering fails:
Expected behavior
Context
The text was updated successfully, but these errors were encountered: