You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
buckaroo_ddd_tour.py has a cell that calls ddd.pl_df_with_weird_types_as_pandas(), which internally does import polars as pl (ddd_library.py:179). Polars has no pyodide/WASM wheel, so this cell crashes at runtime in the browser.
The failure cascades through marimo's reactive dependency graph:
pl_df_with_weird_types cell errors → pl_df_with_weird_types_config is never defined
The dropdown aggregator cell lists pl_df_with_weird_types_config as a required parameter → can't run → dropdown_dict is never defined
The main display cell depends on dropdown_dict → can't render
One broken cell poisons the entire notebook — even the cells that don't touch polars.
Introduced in
PR #641 added pl_df_with_weird_types / pl_df_with_weird_types_as_pandas to ddd_library.py and wired them into buckaroo_ddd_tour.py.
Summary
The marimo WASM notebook at
/example_notebooks/buckaroo_ddd_tour/is completely broken. The page loads but renders nothing.Root cause
buckaroo_ddd_tour.pyhas a cell that callsddd.pl_df_with_weird_types_as_pandas(), which internally doesimport polars as pl(ddd_library.py:179). Polars has no pyodide/WASM wheel, so this cell crashes at runtime in the browser.The failure cascades through marimo's reactive dependency graph:
pl_df_with_weird_typescell errors →pl_df_with_weird_types_configis never definedpl_df_with_weird_types_configas a required parameter → can't run →dropdown_dictis never defineddropdown_dict→ can't renderOne broken cell poisons the entire notebook — even the cells that don't touch polars.
Introduced in
PR #641 added
pl_df_with_weird_types/pl_df_with_weird_types_as_pandastoddd_library.pyand wired them intobuckaroo_ddd_tour.py.Why tests didn't catch it
buckaroo_simple.py, notbuckaroo_ddd_tour.py(full WASM suite deferred per Re-enable full WASM marimo Playwright test suite #513)ddd_library.pyworks fine nativelyPossible fixes
pl_df_with_weird_typescell from the WASM notebook (simplest)try/except ImportErrorso the cell gracefully degrades instead of crashingpl_df_with_weird_types_config(break the cascade)