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

Jupyter qtconsole starts with cell number 2 #232

Open
kojix2 opened this issue Aug 31, 2019 · 1 comment
Open

Jupyter qtconsole starts with cell number 2 #232

kojix2 opened this issue Aug 31, 2019 · 1 comment

Comments

@kojix2
Copy link
Member

kojix2 commented Aug 31, 2019

Jupyter qtconsole starts with cell number 2. Why?

image

@kojix2
Copy link
Member Author

kojix2 commented Sep 1, 2019

Now I understand why.

Jupyter Qt Console sends an execute_request after receiving kernel_info_reply.
And IRuby receives it.

image

Then IRuby executes empty cell and sends an execute_reply.
The execution count is incremented.
image

Other Jupyter frontends, such as Notebook, Lab, Console, do not send execute_request.
So execution count is not incremented

There are two possibilities.

1.IRuby's reply to kernel_info_request or history_request is flawed. So QtConsole sends execute_request.
2.QtConsole always sends an execute_request at the beginning.

I found every Jupyter frontend sends kernel_info_request twice. This may indicate that there is something wrong with IRuby's kernel_info_reply.

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

1 participant