Get help from the marimo community

Updated last month

Losing cells

At a glance

The community member is experiencing an issue where they are losing cells when going from editing to run/app mode. They had ipynb conversion switched on and were getting errors in the terminal related to a KeyError: 'GYoj'. The community members in the comments confirm that this is related to the auto-export feature.

I've been losing cells when going from editing to run/app mode today, very weird, I wish I could have some code to reproduce it. For instance I had ipynb conversion switched on and I was getting some errors in the terminal:

Plain Text
  File "/Users/lucharo/Projects/ml_pipelines/.venv/lib/python3.12/site-packages/marimo/_server/export/exporter.py", line 190, in export_as_ipynb
    cell = graph.cells[cid]
           ~~~~~~~~~~~^^^^^
KeyError: 'GYoj'


Let me know if you'd like the full log
M
l
2 comments
ipynb conversion switched
is this auto-export?
yes, auto-export
Add a reply
Sign up and join the conversation on Discord