MaterializeInc / demos

Demos of Materialize, the operational data warehouse.

Home Page:https://materialize.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Streamlit subscribe crashes after 985 updates.

joacoc opened this issue · comments

I'm running a Streamlit application using SUBSCRIBE, and it crashes after 985 updates.

2023-11-27 10:30:58.326 Uncaught app exception

Traceback (most recent call last):

  File "/home/adminuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 534, in _run_script

    exec(code, module.__dict__)

  File "/mount/src/stripe-streamlit/main.py", line 92, in <module>

    col1, col2, col3 = container.columns(3)

  File "/home/adminuser/venv/lib/python3.9/site-packages/streamlit/runtime/metrics_util.py", line 396, in wrapped_func

    result = non_optional_func(*args, **kwargs)

  File "/home/adminuser/venv/lib/python3.9/site-packages/streamlit/elements/layouts.py", line 204, in columns

    return [row._block(column_proto(w / total_weight)) for w in weights]

  File "/home/adminuser/venv/lib/python3.9/site-packages/streamlit/elements/layouts.py", line 204, in <listcomp>

    return [row._block(column_proto(w / total_weight)) for w in weights]

  File "/home/adminuser/venv/lib/python3.9/site-packages/streamlit/delta_generator.py", line 573, in _block

    dg = self._active_dg

  File "/home/adminuser/venv/lib/python3.9/site-packages/streamlit/delta_generator.py", line 310, in _active_dg

    if self == self._main_dg:

  File "/home/adminuser/venv/lib/python3.9/site-packages/streamlit/delta_generator.py", line 327, in _main_dg

    return self._parent._main_dg if self._parent else self

  File "/home/adminuser/venv/lib/python3.9/site-packages/streamlit/delta_generator.py", line 327, in _main_dg

    return self._parent._main_dg if self._parent else self

  File "/home/adminuser/venv/lib/python3.9/site-packages/streamlit/delta_generator.py", line 327, in _main_dg

    return self._parent._main_dg if self._parent else self

  [Previous line repeated 985 more times]

RecursionError: maximum recursion depth exceeded