Forums » Discussion »
Issues with the python-markdown Jupyter Notebook extension
Added by Christopher Sigman over 8 years ago
We've been encountering issues with the python-markdown extension for Jupyter notebook. The easiest way to reproduce the issue appears to be to create a notebook that uses python markdown, and then restart the kernel or reload the page. When the kernel is restarted / reloaded, executing cells with python markdown in them throws an error due to thiscell.metadata.variables being undefined. As a solution, I added the following lines of code after line 96 of main.js in python-markdown:
if (typeof thiscell.metadata.variables === "undefined") { thiscell.metadata.variables = {}; }
I plan on posting on the project on GitHub to see what they have to say about it.
Replies (1)
RE: Issues with the python-markdown Jupyter Notebook extension - Added by Christopher Sigman over 8 years ago
To give an update, I just submitted an issue on the GutHub project here . The ticket explains a little bit of why I didn't do this sooner: I started to have difficulties reproducing it. I was able to again though, and noted as such in the ticket. The ticket also references a change that I made to get around the issue.
(1-1/1)