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

Script server fails during reading of large unicode output #223

Closed
bugy opened this issue Jun 23, 2019 · 0 comments
Closed

Script server fails during reading of large unicode output #223

bugy opened this issue Jun 23, 2019 · 0 comments

Comments

@bugy
Copy link
Owner

bugy commented Jun 23, 2019

When reading 17Kb file, with russian text, script server failed with the following error:

2019-06-23 23:12:14,549 [script_server.process_pty.ERROR] Failed to read script output
Traceback (most recent call last):
  File ".../DEV/github/script-server/src/execution/process_pty.py", line 113, in pipe_process_output
    output_text = data.decode(self.encoding)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd0 in position 933: unexpected end of data

This error is random, can happen in different positions of the file, or can even succeed, if a file is not very large.
This happens in terminal (pty) mode.

@bugy bugy added the bug label Jun 23, 2019
@bugy bugy added the resolved label Jun 23, 2019
@bugy bugy added this to the 1.15.0 milestone Jun 23, 2019
@bugy bugy closed this as completed Feb 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant