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

Windows - coroutine issue #104

Closed
mdeweerd opened this issue Apr 16, 2024 · 2 comments
Closed

Windows - coroutine issue #104

mdeweerd opened this issue Apr 16, 2024 · 2 comments

Comments

@mdeweerd
Copy link

I got the following error in python3.12 on windows:

  File "D:\mdeweerd\workspace\serial\captureSerial.py", line 101, in read_port        
    async with open_serial_connection(url=port, baudrate=115200) as (reader, _):      
TypeError: 'coroutine' object does not support the asynchronous context manager protocol
```

I'll try #91 .
@mdeweerd
Copy link
Author

Tested without success #91 force installing from a requirements.txt with:

pyserial-asyncio @ git+https://github.com/hugh-manning/pyserial-asyncio.git@e27c5c5

@mdeweerd
Copy link
Author

Apparently this stemmed from my code - reverting back to python3.10 gave me more usefull error messages . There was no proper 'await'.

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

No branches or pull requests

1 participant