When trying to load an image with markdown, the notebook stops loading.
It only happens with markdown image syntax (HTML or Image IPython widget are fine), and only when using voila in Jupyter Lab/Server, not when using voila standalone (python -m voila).
It raise the exception TypeError: 'coroutine' object is not subscriptable (see Command line output)
Reproduce
Start Jupyter (python -m jupyter notebook)
Open a notebook containing an image
Click the "Render with Voila" button
I managed to replicate this behavior in Binder, in a normal Python installation, and in a conda environment, with Voila installed from source (i followed the contributing guide)
Expected behavior
The image & the rest of the notebook should render, like when using an HTML image.
Context
voila version: 0.5.7
Operating System and version: Ubuntu 22.04.4 LTS, Debian 12, Binder
Description
When trying to load an image with markdown, the notebook stops loading. It only happens with markdown image syntax (HTML or Image IPython widget are fine), and only when using voila in Jupyter Lab/Server, not when using voila standalone (
python -m voila
). It raise the exceptionTypeError: 'coroutine' object is not subscriptable
(see Command line output)Reproduce
python -m jupyter notebook
)I managed to replicate this behavior in Binder, in a normal Python installation, and in a conda environment, with Voila installed from source (i followed the contributing guide)
Expected behavior
The image & the rest of the notebook should render, like when using an HTML image.
Context
Troubleshoot Output
Command Line Output
Output of jupyter server since running `voila` works