-
Notifications
You must be signed in to change notification settings - Fork 40
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
write_image hangs in WSL #87
Comments
Any verdict of what it might be? This one might be longer to fix right? With it being on WSL? |
Hi @chrispijo, thanks for the info and sorry for the delayed response. Are you using WSL 1 or WSL 2? See https://docs.microsoft.com/en-us/windows/wsl/compare-versions. I haven't used either myself, but it looks like Chromium (which kaleido is based on) is known to not work on WSL 1 (microsoft/WSL#3282). But it looks like people have gotten it working on WSL 2 (https://scottspence.com/2021/01/05/use-chrome-in-ubuntu-wsl/). |
Thanks for the response. This sounds like a logical cause and solution. I am indeed working on WSL1. I am unfortunately not in the possibility to test it on WSL2 for now. When we transfer to WSL2 I will get back to this and provide feedback. As a work around (but a solid workaround to this issue) I now run the task on Windows. |
Ok, Thanks for the update @chrispijo |
I was experiencing the same issue and upgrading to WSL2 was the solution. |
I can now also confirm that upgrading to WSL2 solves the issue. |
Hey @jonmmease thanks for linking my post! @chrispijo you could take a look at this post for when I was using WSL1 to get GUIs working, there's a load of linked content in there too. |
Experiencing the same issue on WSL1. Is there really no alternative for image export from px? I'm reluctant to change up my system very much right now just to export an image file from a plotting program. |
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 |
On my WSL setup I get an issue when I run the code below. It hangs indefinitely on
response = self._proc.stdout.readline()
. This also happens for the simpler example given in another issue. I opened on request of jonmmease a new issue.Note that I installed plotly from jonmmease's branch 'kaleido_v5_updates'. Besides that, kaleido 0.2.1 is installed. My OS setup is WSL: Ubuntu 20.04 on top of Windows 10. The code below is ran with files on
~
, the same issue occurs when running with files on/mnt/c/
.The text was updated successfully, but these errors were encountered: