Open iacchus opened 4 years ago
Is there a fix for this? I ran into this issue today and haven't been able to resolve it.
Same for me. I just installed pelican-jupyter using pip: it breaks other markdown files,
ERROR: Could not process pages/PS-intro.md | SubElement() argument 1 must be xml.etree.ElementTree.Element, not Element
If anybody else encounters this, it means that you have an old version of defusedxml, which is a dependency of nbconvert. This is fixed in defusedxml>=0.7
.
It's not a pelican-jupyter problem, so this can probably be closed.
I have a manual installation of pelican-jupyter, ie., I didn't install via pip but copied the
pelican_jupyter
directory to thePLUGINS_PATH
and enabled withPLUGINS = [..., 'pelican_jupyter.markup', ...]
It generates the
.ipynb
normally, but when I enable it, it breaks something with the markdown rendering of another.md
. What happens is exactly the same as in this bug report, which involvesnbconvert
as well. It looks like this one also.The file it fails to convert is md-test.md and it seems to be happening because of the
footnotes
markdown extension, which is the same issue from the first link above and the debug report below.It builds the site with all the files, and the converted
ipynb
, but doesn't convert that.md
file (which is huge just to test various markdown extra extensions).Turning DEBUG=1
debug.txt
relevant lines: