millejoh / emacs-ipython-notebook

Jupyter notebook client in Emacs
http://millejoh.github.io/emacs-ipython-notebook/
GNU General Public License v3.0
1.47k stars 122 forks source link

Error while executing org babel blocks #809

Closed falematte closed 3 years ago

falematte commented 3 years ago

Yesterday I updated ein since a long time. Now the first ein babel block is correctly evaluated while all the others (created previously) give the following error:

source-code block ‘5bd6f14d-7a5d-4318-be5a-149501d72a18’ not found in this buffer
cl--assertion-failed: Assertion failed: (not (stringp (org-babel-goto-named-src-block name)))

The block that raises the error looks like this:

#+NAME: 5bd6f14d-7a5d-4318-be5a-149501d72a18
#+BEGIN_SRC ein-python :session localhost :results output drawer
some code
#+END_SRC
dickmao commented 3 years ago

If this fails, there's not much I can do.

M-: (org-babel-goto-named-src-block "5bd6f14d-7a5d-4318-be5a-149501d72a18")

falematte commented 3 years ago

This is the case. Any idea on why this is happening? It looks like an org-mode problem. Where should I report?

falematte commented 3 years ago

It looks like org-reload solved the problem. This was an org inconsistency.