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
Hi, I tried to use save_image under windows but got hit with an error message about unable to decode unicode bytes.
It traced back to plotly.R/R/kaleido.R where reticulate::py_run_string is called, causing it to try to open something with C:\users in its path. string to interpret \u as unicode escaping and it fails.
A few lines before that there is a tmp_json <- tempfile(fileext = ".json" ) and I think that this creates the wrong path part. Possibly the easiest solution here would be to replace the backslash with a forward slash as python can understand those on all platforms.
Activity
Northamc commentedon Apr 13, 2026
Yes, I appear to be having the same problem.
cpsievert commentedon Apr 16, 2026
Thanks for reporting. If you install from GitHub then that should address the issue. Please let me know if it still doesn't work.