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

Connecting to kernel error #101

Open
hades1302 opened this issue Jan 21, 2020 · 3 comments
Open

Connecting to kernel error #101

hades1302 opened this issue Jan 21, 2020 · 3 comments

Comments

@hades1302
Copy link

When I open jupyter notebook for Bash, the n/b shows connecting to kernel in orange box but the bash kernel is never ready.

@jlanza
Copy link

jlanza commented Nov 2, 2022

Did you manage to solve it? I have a similar issue. When running on JupyterHub sometimes the kernel seems to be working properly while others it hangs and is never ready.

I have requested in the JupyteHub forum but still no answer or idea :(

@kdm9
Copy link
Collaborator

kdm9 commented Nov 3, 2022

I've seen this occasionally when a previous cell was either incomplete[0] or was swallowing stdin[1]. When this next occurs, please try restarting the kernel, and if the problem persists then post the logs from juptyer (which should contain any bash_kernel errors).

[0]: e.g. something like for x in 1 2 3; do echo $x; with no trailing done, or a string without a closing quote.
[1]: e.g. something like cat > file, in which cat will swallow stdin and therefore all input from bash_kernel.

@jlanza
Copy link

jlanza commented Nov 3, 2022

I've seen this occasionally when a previous cell was either incomplete[0] or was swallowing stdin[1]. When this next occurs, please try restarting the kernel, and if the problem persists then post the logs from juptyer (which should contain any bash_kernel errors).

[0]: e.g. something like for x in 1 2 3; do echo $x; with no trailing done, or a string without a closing quote. [1]: e.g. something like cat > file, in which cat will swallow stdin and therefore all input from bash_kernel.

It seems it is not of the cases. When I click on the terminal button, in stead of showing the terminal, the screen is blank. If I open a tab with a Bash notebook and type ls it doesn't show anything. Don't know if this is the same issue, but in the logs I don't manage to get any log from kernel or similar. Could you please point me out how to get the most verbose log output from JupyterHub so I can post it here?

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

3 participants