Closed cunningjames closed 6 years ago
This is indeed a strange one. As far as I can tell ein is doing what it should be when sending the execute request to the IRKernel, but the execution count always comes back the same. Clearly ein is doing something wrong since everything works fine in the web client, but your guess as to what exactly is as good as mine.
I'm hoping the experts over at IRKernel can help; I have opened an issue, IRkernel/IRkernel#576. I hope someone can direct me in the right direction on this.
From the IRkernel issue, it looks like EIN is sending "show-history"
instead of "store_history"
. I guess IPython assumes the field is True if it's missing, and IRkernel assumes it's False.
It also looks like it's sending a field "stop-on-error"
, which I think should have underscores instead of hyphens.
http://jupyter-client.readthedocs.io/en/latest/messaging.html#execute
Thanks a lot! I understand that my thanks plus four dollars will buy you a coffee at Starbucks, but I really do appreciate it.
Hello:
Currently using EIN 20180612.432 (from melpa), Emacs 26.1, and Jupyter 4.4.0 on OS X 10.12.6, though I've had the same issue on Windows 10 with (probably) different versions of the above.
When using EIN with any Kernel besides IPython, everything seems to work except that cell numbers don't increment: each additional cell has number 1. Tested with latest IRkernel and IJulia.
Thanks for the software! The fact that other Kernels work at all is great.
Edit: Noticed you wanted a format for bug reports:
Check list
*.elc
files from source directory of EIN and its dependencies.Description of the problem you have
When using alternative kernels (anything other than IPython, tested with latest IRkernel and IJulia), cell numbers do not increment. Everything else appears to work.
Steps to reproduce the problem
Expected output
Each additional cell executed should have a cell number one greater than the last
Your EIN configuration (in .emacs.d/init.el or somewhere else)
(use-package ein :ensure t :pin melpa)
Your IPython configuration
ipython --version
): 6.4.0ipython notebook --port 9999
): ein:jupyter-server-start from Emacs; jupyter notebook from terminalAdditional information (if any)
Using OS X, but the issue occurs on Windows.
System info: