bash_kernel
bash_kernel copied to clipboard
Connecting to kernel error
When I open jupyter notebook for Bash, the n/b shows connecting to kernel in orange box but the bash kernel is never ready.
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 :(
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.
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 trailingdone
, or a string without a closing quote. [1]: e.g. something likecat > 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?