8000 Fixed socket:// on Windows because of missing out_waiting property by dcoder42 · Pull Request #639 · pyserial/pyserial · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fixed socket:// on Windows because of missing out_waiting property #639

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 8000 privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dcoder42
Copy link

This PR fixes the following exception on Windows:

Traceback (most recent call last):
  File "C:\Development\Python\lib\asyncio\events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
  File "C:\Development\HomeAssistant\config\deps\Python39\site-packages\serial_asyncio\__init__.py", line 307, in _poll_write
    if self.serial.out_waiting < self._max_out_waiting:
AttributeError: 'Serial' object has no attribute 'out_waiting'

Also described here: pyserial/pyserial-asyncio#74

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.

2 participants
0