You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
python=3.8.10
plotly=5.23.0
keleido=0.2.1
i can preview the image on website(127.0.0.1:*)
but fig.write_image() will occur errors below:
fig.write_image(
File "C:\Users\Admin\AppData\Local\Programs\Python\Python38\lib\site-packages\plotly\basedatatypes.py", line 3835, in write_image
return pio.write_image(self, *args, **kwargs)
File "C:\Users\Admin\AppData\Local\Programs\Python\Python38\lib\site-packages\plotly\io_kaleido.py", line 266, in write_image
img_data = to_image(
File "C:\Users\Admin\AppData\Local\Programs\Python\Python38\lib\site-packages\plotly\io_kaleido.py", line 143, in to_image
img_bytes = scope.transform(
File "C:\Users\Admin\AppData\Local\Programs\Python\Python38\lib\site-packages\kaleido\scopes\plotly.py", line 153, in transform
response = self._perform_transform(
File "C:\Users\Admin\AppData\Local\Programs\Python\Python38\lib\site-packages\kaleido\scopes\base.py", line 293, in _perform_transform
self._ensure_kaleido()
File "C:\Users\Admin\AppData\Local\Programs\Python\Python38\lib\site-packages\kaleido\scopes\base.py", line 192, in _ensure_kaleido
startup_response_string = self._proc.stdout.readline().decode('utf-8')
AttributeError: 'str' object has no attribute 'decode'
The text was updated successfully, but these errors were encountered:
So this version of Kaleido is about to be deprecated, but that said, it is such a strange error, readline() AFAIK has always, and should always return a binary object, not a string. @YUWEN I will ping you in a day or two when the new version is released if you'd like to try that. Thanks!
So this version of Kaleido is about to be deprecated, but that said, it is such a strange error, readline() AFAIK has always, and should always return a binary object, not a string. @YUWEN I will ping you in a day or two when the new version is released if you'd like to try that. Thanks!
python=3.8.10
plotly=5.23.0
keleido=0.2.1
i can preview the image on website(127.0.0.1:*)
but fig.write_image() will occur errors below:
fig.write_image(
File "C:\Users\Admin\AppData\Local\Programs\Python\Python38\lib\site-packages\plotly\basedatatypes.py", line 3835, in write_image
return pio.write_image(self, *args, **kwargs)
File "C:\Users\Admin\AppData\Local\Programs\Python\Python38\lib\site-packages\plotly\io_kaleido.py", line 266, in write_image
img_data = to_image(
File "C:\Users\Admin\AppData\Local\Programs\Python\Python38\lib\site-packages\plotly\io_kaleido.py", line 143, in to_image
img_bytes = scope.transform(
File "C:\Users\Admin\AppData\Local\Programs\Python\Python38\lib\site-packages\kaleido\scopes\plotly.py", line 153, in transform
response = self._perform_transform(
File "C:\Users\Admin\AppData\Local\Programs\Python\Python38\lib\site-packages\kaleido\scopes\base.py", line 293, in _perform_transform
self._ensure_kaleido()
File "C:\Users\Admin\AppData\Local\Programs\Python\Python38\lib\site-packages\kaleido\scopes\base.py", line 192, in _ensure_kaleido
startup_response_string = self._proc.stdout.readline().decode('utf-8')
AttributeError: 'str' object has no attribute 'decode'
The text was updated successfully, but these errors were encountered: