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

WIndows 11: PyRoll-run gets stuck in an endless loop due to problems with kaleido package #195

Open
GRPlan opened this issue Apr 9, 2024 · 4 comments · May be fixed by #206
Open

WIndows 11: PyRoll-run gets stuck in an endless loop due to problems with kaleido package #195

GRPlan opened this issue Apr 9, 2024 · 4 comments · May be fixed by #206
Assignees
Labels
bug Something isn't working

Comments

@GRPlan
Copy link

GRPlan commented Apr 9, 2024

Summary

After the update to Windows 11 PyRoll run got stuck in an endless loop.

Problem is caused by the kaleido package.

See
plotly/Kaleido#126
Plotly fig.to_image is stucking on windows 11. #126

Downgrading the kaleidoversion to kaleido==0.1.0post1 via pip worked for me.

@GRPlan GRPlan added the bug Something isn't working label Apr 9, 2024
@ChRen95
Copy link
Member

ChRen95 commented Apr 15, 2024

@axtimhaus didn't we already fix that problem before Meform?
I don't have a Windows laptop at hand so I'm unable to reproduce that problem?

@RichardPfr ready for you first issue?

@axtimhaus
Copy link
Member

No we did not fix this.

@RichardPfr
Copy link
Contributor

On my Windows 11 machine I do get the same issue when using the newest kaleido version and downgrading it to kaleido==0.1.0.post1 does also fix it for me.

As this is a Problem specifically with either Windows 11 or the newest kaleido version I don't think there is much we can do besides requiring the use of the older kaleido version on all Windows 11 machines.

The comments in the kaleido issue given by @GRPlan hint at the same issue and as there have been no updates to kaleido in almost three years this is unlikely to be fixed.

Is there maybe an option on our side to check if this kaleido version is installed to only then use plotly and otherwise fall back on using matplotlib?

@ChRen95
Copy link
Member

ChRen95 commented Apr 24, 2024

Your on the right track so create a branch from that issue and think of way to resolve this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
4 participants