Skip to content

Conversation

@wngtk
Copy link

@wngtk wngtk commented Jan 5, 2026

When running examples/nanoterm.py, I encountered the following error:

$ python3 examples/nanoterm.py ls
Traceback (most recent call last):
  File ".../pyte/examples/nanoterm.py", line 42, in <module>
    data = os.read(master_fd, 1024)
           ^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 5] Input/output error

Similar to PR #171. We should also handle OSError exception.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant