Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't interrupt kernel with ob-ein #780

Closed
julian-urban opened this issue Feb 1, 2021 · 1 comment
Closed

can't interrupt kernel with ob-ein #780

julian-urban opened this issue Feb 1, 2021 · 1 comment

Comments

@julian-urban
Copy link

I may just be ignorant about the relevant functionality or how to do it properly, but I'm currently unable to send interrupt commands to the ipython kernel from an org mode buffer. Right now I have to wait for the cell to finish executing or kill the process manually. ein:notebook-kernel-interrupt-command returns Wrong type argument: ein:$notebook, nil.

Unfortunately I haven't been able to find a lot of information on how to call ein functions from org mode. Can someone tell me if this is possible, and if so, how?

@dickmao
Copy link
Collaborator

dickmao commented Feb 2, 2021

One should not call ein functions from org mode. As of 52fc726 C-h m should now show:

C-c C-v C-k     ob-ein-kernel-interrupt

which should not be confused with C-c C-v k.

Traditionally, I believe org-babel is purely synchronous so C-g would suffice. I don't know how the prevailing asynchronous package ob-async handles it.

@dickmao dickmao closed this as completed Feb 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants