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

Hydrogen kernel shuts down after each command (doesn't stay running as idle) #1292

Closed
eak24 opened this issue Apr 12, 2018 · 3 comments · Fixed by #1294
Closed

Hydrogen kernel shuts down after each command (doesn't stay running as idle) #1292

eak24 opened this issue Apr 12, 2018 · 3 comments · Fixed by #1294
Labels
bug 🐛 For unexpected issues

Comments

@eak24
Copy link

eak24 commented Apr 12, 2018

Description:

Hydrogen kernel shuts down after each command (doesn't stay running as idle). This only happened when I switched to 2.4.0 from 2.3.0.

Steps to Reproduce:

  1. Imagine the following file (it's markdown):
```python
t=5+10
print(t)
  1. Now within Atom, use shift-enter to start the kernel and run the first command. In 2.3.0, this runs and leaves a little "Python 3 | idle" flag in the lower left corner to indicate my kernel is idle but still alive. However, in 2.4.0 (and I tested this on Windows and mac), that tag doesn't stay there and the kernel immediately shuts down. Then when running hydrogen on the next line, the kernel starts up again but has cleared its memory, so t is not defined. I've switched multiple times between 2.3.0 and 2.4.0 to confirm there were no confounding variables.

Versions:

2.4.0

Which OS and which version of Hydrogen and Atom are you running?

Atom : 1.25.1
Electron: 1.7.11
Chrome : 58.0.3029.110
Node : 7.9.0

Logs:

The only minor issue I see that comes up in the console (with debug messages enabled) is that I don't have a default kernel defined:

'Hydrogen.kernelspec' could not set the default. Attempted default: undefined; Schema: {}

and in 2.3.0, I did select the kernel I wanted, but it didn't restart each time I used shift-enter.

@BenRussert BenRussert added the bug 🐛 For unexpected issues label Apr 13, 2018
@BenRussert
Copy link
Member

Fix incoming for this, thanks for the report!

BenRussert added a commit to BenRussert/hydrogen that referenced this issue Apr 13, 2018
lgeiger pushed a commit that referenced this issue Apr 14, 2018
@dsanalytics
Copy link

@ethan92429 v2.4.1 has been released - when you get a chance, check for the issues you reported and let us know.

@eak24
Copy link
Author

eak24 commented Apr 17, 2018

@dsanalytics 2.4.1 is working well! Thanks for the update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 For unexpected issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants