can't seem to use pure markdown notebooks as input ~~was: trouble with executing ijavascript-backed notebooks in jupyter-book~~ #272
Replies: 2 comments 3 replies
-
as a follow-up, it took me a while to figure that my inputs were actually plain markdown notebooks, not myst, and that's why jb refused to execute them; nothing to do with the kernel then |
Beta Was this translation helpful? Give feedback.
-
to clarify: it seems like my issue had nothing to do with ijavascript at all, or with the kernel not being Python what happened is: it looks like jb assumes that a file ending in turns out I had .md files that were notebooks allright, but not myst - there were what jupytext calls regular markdown, I mean starting with this:
when feeding jb with this file as part of turns out the input file was silently considered as not a notebook, and I essentially had to run myst-nb in debugging mode to realize that; my feeling is this could be made a more serious message (now I may have missed some option to get more helpful messages about that ?) as an aside, at some point I tried to add this in the config, which is something that worked for me in another project where I had only
however with this in place I am getting this:
so my take away message at this point is, I can't seem to use pure markdown notebooks as an input at all; or what am I missing ? |
Beta Was this translation helpful? Give feedback.
-
Hi
I am trying to use jupyter-book on a project where all notebooks run the ijavascript kernel
all notebooks are stored as myst
book production works well overall, except that notebooks won't gets executed
I tried various combinations of
execute_notebooks
, to no availfor the sake of checking the config, I added a plain Python3 notebook, and it got executed all right
is there anything specific to be configured to get non-Python kernels to execute as expected ?
if that was expected to work out of the box, I can go ahead and file an issue in the jupyter-book repo
and btw: thanks for jupyter-book; I had given the tool a try a year or so ago, had been struggling a lot at the time, but it looks like plenty of improvements have been made in the meanwhile, and the doc itself is much clearer for starters; so congrats :)
Beta Was this translation helpful? Give feedback.
All reactions