nbsphinx
nbsphinx copied to clipboard
Error on cells using progress bar (tqdm)
Hello, I got the error
ERROR: Content block expected for the "raw" directive; none found.
on my cells using a progress bar (tqdm for instance). It appears when upgrading to Sphinx 7.2.6.
I'm also seeing this in my logs: https://readthedocs.org/api/v2/build/23454115.txt
This has been reported at https://github.com/jupyter/nbconvert/issues/2092.
This should probably be fixed in nbconvert
, but I'm not sure if it should also be worked-around in nbsphinx
.
Any suggestions?
Any volunteers?
In the meantime, pinning nbconvert < 7.14
should avoid the problem.
Thanks for pointing the nbconvert issue.
I'll try with nbconvert 7.13.
For now, I just stopped running my notebooks (nbsphinx_execute = "never"
) waiting for one of these issue to be fixed 🤞 .
Pinning nbconvert to 7.13 fixed it. Should I close this issue ?
I think this should stay open until there is a real fix. Pinning nbconvert
isn't really a long-term solution.
I suggested a fix to nbconvert
: https://github.com/jupyter/nbconvert/pull/2142
nbconvert
v7.16.4 has just been released and it should fix this problem.
@ThibaultFy @arjunsavel Can you please check if that works for you?
I assume this works now. If not, please let me know!