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
Then we trigger a bug somewhere in jupyter_sphinx when the parsing happens. Here seem to be the relevant lines from the traceback I found:
File "/c/Users/choldgraf/Dropbox/github/forks/python/ebp/myst-nb/myst_nb/parser.py", line 72, in parse
path_doc = nb_output_to_disc(ntbk, document)
File "/c/Users/choldgraf/Dropbox/github/forks/python/ebp/myst-nb/myst_nb/parser.py", line 291, in nb_output_to_disc
write_notebook_output(ntbk, str(output_dir), doc_filename)
File "/home/choldgraf/anaconda/envs/dev/lib/python3.8/site-packages/jupyter_sphinx/execute.py", line 259, in write_notebook_output
ext = notebook.metadata.language_info.file_extension
File "/home/choldgraf/anaconda/envs/dev/lib/python3.8/site-packages/ipython_genutils/ipstruct.py", line 134, in __getattr__
raise AttributeError(key)
AttributeError: language_info
I think that it might make sense to not support this use-case, since it is strange to have a myst markdown notebook that doesn't get executed. But, perhaps we want to raise a warning instead of having this error show up.
The text was updated successfully, but these errors were encountered:
If someone builds a Sphinx site with
jupyter_execute = "off"
Then we trigger a bug somewhere in jupyter_sphinx when the parsing happens. Here seem to be the relevant lines from the traceback I found:
I think that it might make sense to not support this use-case, since it is strange to have a myst markdown notebook that doesn't get executed. But, perhaps we want to raise a warning instead of having this error show up.
The text was updated successfully, but these errors were encountered: