-
Notifications
You must be signed in to change notification settings - Fork 119
write_image Kaleido failed to generate static image #270
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
Comments
Could you try to remove the locally downloaded and installed version of Kaleido and try to build the crate and your example again. Kaleido is a tough cookie . I will try to reproduce and debug in the CI (don't own a Windows machine) |
Same issue after deleting the locally downloaded and installed version of Kaleido and rebuilding. |
more info:
|
Thanks for the backtrace, I will let you know if I figure out a solution. |
I run into the same issue. Seems to be a problem of truncated result data used in |
That is interesting. Can you share the plot you were building as an example. So I could try to reproduce and debug further next time I look into it. |
The Problem is it is quite random when it fails. I'm attaching an image where the export to PNG worked fine but kaleido crashed when converting the same image to PDF. However, the exact same processing works fine most of the time and only crashes occasionally with the above mentioned truncation. There are the two NaN s in the legend but it also crashes when those are not displayed. So that is not the issue as one might think. |
The attached archive contains three times the same image as png, pdf and raw html generated with plotly. In a first run kaleido crashed with the above mentioned on error on pdf conversion but wrote the html and png. On a second try all worked fine and generated the pdf. It's super enigmatic. |
@HerrMuellerluedenscheid , thanks for the investigation and attachements. I will try to find some time to look into this. |
After reading #kaleido I should note that I'm on M1. Thus, the problems I'm encountering may be related to that. I guess I will switch to plotters for the time as an interim solution and check back later when the rework of kaleido is done. |
Sure! Thanks anyway for taking the time to look into it. |
Sure thing. If there is something that I should test on my M1 along the way I'm happy to do that. Just drop me a message. |
On Windows:
with this in Cargo.toml:
and this code :
the file out.html is ok but testx.png is created but empty.
this is the error:
is there a way to make this working on windows ?
The text was updated successfully, but these errors were encountered: