Open BenLo00 opened 8 months ago
Same error here: https://github.com/plotly/Kaleido/issues/59
Thanks for your interest in Kaleido. We are currently working on an overhaul that might address your issue - we hope to have news in a few weeks and will post an update then. Thanks - @gvwilson
I am using a plotly plot in rasperian (Debian GNU/Linux 12 (bookworm)) and I want to convert it with Kaleido to a PNG, wich worked on older Hardware/Software fine but dos not in this environment. if I invoke Kaleido it drops the error
File "/home/pi/tempueberwachung.py", line 234, in
raise error
File "/home/pi/tempueberwachung.py", line 182, in
fig_bytes = fig.to_image(format='png', width=1920, height=1080)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/plotly/basedatatypes.py", line 3778, in to_image
return pio.to_image(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/plotly/io/_kaleido.py", line 143, in to_image
img_bytes = scope.transform(
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/kaleido/scopes/plotly.py", line 153, in transform
response = self._perform_transform(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/kaleido/scopes/base.py", line 293, in _perform_transform
self._ensure_kaleido()
File "/usr/local/lib/python3.11/dist-packages/kaleido/scopes/base.py", line 198, in _ensure_kaleido
raise ValueError(message)
ValueError: Failed to start Kaleido subprocess. Error stream:
/usr/local/lib/python3.11/dist-packages/kaleido/executable/kaleido: line 10: 10785 Segmentation fault ./bin/kaleido $@
Does someone have a clue? do you need more infos about my environment? any advise welcome! Greetings, Ben.