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

feat: add timeout parameter for full_figure_for_development or prevent stackoverflow otherwise #197

Open
gvwilson opened this issue Jul 17, 2024 · 0 comments
Labels
feature something new P2 needed for current cycle

Comments

@gvwilson
Copy link
Collaborator

Problem description: Every now and then, the kaleido process gets stuck in an endless loop while rendering and crashes after ~45 seconds with a stackoverflow message. Since this is running in an external process and the python process is blocked, it is very hard / unreliable to try and implement a timeout on the python side. This problem happens with all different kinds of charts and changing a single property usually fixes the issue. However, when interactively working with a chart, it is very annoying, if the interface is blocked for 45+ seconds.

Possible solutions:
A) Implement a timeout mechanism in full_figure_for_development
B) Build a reliable protection mechanism against infinite loops in the kaleido process

Thanks for looking into it.

@gvwilson gvwilson self-assigned this Jul 17, 2024
@gvwilson gvwilson transferred this issue from plotly/plotly.py Jul 17, 2024
@gvwilson gvwilson removed their assignment Aug 3, 2024
@gvwilson gvwilson added feature something new P2 needed for current cycle labels Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature something new P2 needed for current cycle
Projects
None yet
Development

No branches or pull requests

1 participant