Get help from the marimo community

Updated 2 months ago

Kernel keeps crashing / change cell to code shortcut

Hi, I'm new here. When inside the tutorial notebooks (didn't try my own notebook yet), Marimo kernel keeps crashing.
"ConnectionResetError: [WinError 10054] an existing connection was forcibly closed by the remote host" a few times and then SystemExit. I'm running on windows 10, with python 3.9.13 in a poetry env. I cannot paste much as this is happening on my work computer. Thank you for your help!
A
A
M
21 comments
Does it crash immediately or after a while?
What version of marimo?
Immediately when I try to run all cells (autorun was on lazy)
I'm trying to reinstall currently
Thanks for the quick reply btw!
Yup, it’s bedtime in my timezone but if you share any more info i can look in the morning. You might also try restarting your computer, the error seems like a networking one
I'll try to see if I can do something and come back to you! Enjoy your night!
After a reinstall, it seems to work. Not sure what caused this. I did get a kernel crash at some point but fine on restart. Quick question: it seems the notebook can change code into markdown. Is there a way to achieve the opposite operation (like M/Y shortcut to change the cell type to Markdown/Code)? Thank you for your work on this nice project!
You can toggle markdown with F4. You can change this hotkey or find others in the Keyboard Shortcuts menu
Attachment
image.png
Please correct me if I'm wrong, but f4 on a markdown cell seems to change the view (as markdown or python) but not to transform it back to a python code cell
a=1 in a markdown cell will transform to mo.md("""a = 1""") and not a code cell with a = 1 inside
Is there a jupyter shortcut equivalent of Y (from markdown to code cell) by any chance ?
there is not, since our markdown is actually just python under the hood
what is the use-case? i dont think i've ever needed to do that
I admit this is not vital but more nice to have. For some reason, I sometimes convert python code to Markdown (the shortcut works in this direction) and I happen to want to reverse the operation later on. I guess that's probably the reason why they have both operations in jupyter 🫣.
Got it - probably too niche right now to give it a keyboard shortcut, but this is a good datapoint
Kernel keeps crashing / change cell to code shortcut
I opened a git issue for future reference
Add a reply
Sign up and join the conversation on Discord