Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Streamlit subscribe crashes after 985 updates. #98

Open
joacoc opened this issue Nov 27, 2023 · 0 comments
Open

Streamlit subscribe crashes after 985 updates. #98

joacoc opened this issue Nov 27, 2023 · 0 comments

Comments

@joacoc
Copy link
Contributor

joacoc commented Nov 27, 2023

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant