Closed dangirsh closed 6 years ago
Ah, this only happens for me when the first code block in my file was Emacs Lisp (for org-mode config). Problem disappears when I removed those blocks (so the first block is now ipython).
Maybe you can put those in a heading at the end with a :noexport: tag on them.
When trying to open an ipynb converted with this tool, I encountered this error from Jupyter:
I traced it down to the top-level metadata being emitted as this list:
Googling around for the error, I saw that the metadata should be a dict. I manually replaced it with:
which fixed the error. I can now open my ipynb.
Emacs version 25.3.1 Jupyter version 4.4.0
I used
ox-ipynb-export-to-buffer
, then saved the resulting buffer as an ipynb.