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

Kaleido 0.2.1 can not start in Debian GNU/Linux 12 (bookworm) with Ploty 5.20.0 #175

Open
BenLo00 opened this issue Mar 22, 2024 · 0 comments

Comments

@BenLo00
Copy link

BenLo00 commented Mar 22, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant