Open ramazanyagmur opened 1 year ago
Hi, I currently got a similar issue. On one machine your minimal setup works fine and on another machine it throws the error code 525. Currently I'm a bit clueless because the differences between the setups are really minimal. The only bigger difference is that they are in different networks and might have different firewall configurations etc (don't know if that might influence kaleido). Additionally on the machine there it's currently not working it was working roughly one week ago -> don't remember if I made some changes. Both PCs are using Windows as OS.
working | not working | |
---|---|---|
Python | 3.9.5 | 3.9.13 |
kaleido | 0.2.1 | 0.2.1 |
numpy | 1.23.3 | 1.23.3 |
pandas | 1.5.0 | 1.5.0 |
pip | 22.2.2 | 22.2.2 |
plotly | 5.10.0 | 5.10.0 |
python-dateutil | 2.8.2 | 2.8.2 |
pytz | 2022.4 | 2022.4 |
setuptools | 56.0.0 | 58.1.0 |
six | 1.16.0 | 1.16.0 |
tenacity | 8.1.0 | 8.1.0 |
wheel | - | - |
Main difference in your environments seems to be Python version. I am also adding version of modules you have mentioned.
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40">
| not working (mine) -- | -- | Python | 3.8.12 | kaleido | 0.2.1 numpy | 1.22.4 pandas | 1.3.4 pip | 22.2.2 plotly | 5.10.0 python-dateutil | 2.8.2 pytz | 2021.3 setuptools | 58.0.4 six | 1.16.0 tenacity | 8.0.1 wheel | 0.37.0
Hi,
While working perfectly on charts, kaleido did not work for map export. I tried mapboxstyle "light" , it also failed. Showing the image on browser fig.show() works fine. But fails on saving the image to a static image file. (Orca is not an alternative for me , because orca needs Xvfb and libgtk-3 , but the server OS is not in my control.)_
The problem seems to occur when to_image(... transformation is being done.
sample code
The error