Open MLpranav opened 3 years ago
Hello guys any update about this bug? , actually I am facing same issue its because we try not to define output path and error UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
come out
and it happen on ubuntu OS which using xvfb for headless server
No update or fix yet I belive.
I suggest setting a dummy file or /dev/null
as the output path as a temporary solution to the problem.
I also encountered this today and quickly looking at it, it looks like the issue is caused by a fallback in the error handling logic.
When the quiet option is used, bool(stderr)
seems to evaluate to False, so it sets stderr to be equivalent to stdout, which is where the output file goes to. Then it tries to decode the file stream and fails.
I'm guessing previously it used to work since there was a try ... except
to catch UnicodeDecodeError
, but it was removed in commit eaa8cc304e78e84c7a07fdde0c38b10f776818d6.
Also suffering from this issue
This works fine.
This is the output.
But if I add the "quiet" option to suppress output, it does not work.
This is the error:
This is data.to_html(), if it helps.
If I remove False argument and save the image as a png file instead, it works.