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 · 2 comments
Labels
bug something broken P3 not needed for current cycle

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.

@bedeberger
Copy link

Same error here: #59

@gvwilson gvwilson self-assigned this Jul 26, 2024
@gvwilson
Copy link
Collaborator

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

@gvwilson gvwilson removed their assignment Aug 3, 2024
@gvwilson gvwilson added bug something broken P3 not needed for current cycle labels Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken P3 not needed for current cycle
Projects
None yet
Development

No branches or pull requests

3 participants