-
Notifications
You must be signed in to change notification settings - Fork 0
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
Linux: EOFError when asking input after async input #19
Comments
Closed
This was referenced Jun 9, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For example, when connecting to the server, if the connection fails, we use
ainput()
:loveletter/src/loveletter_cli/session.py
Lines 604 to 612 in 78ce7e1
If the user selects restart, an EOFError will ensue, because the start screen uses regular
input()
to ask for a username:loveletter/src/loveletter_cli/__main__.py
Line 125 in 78ce7e1
This is directly due to vxgmichel/aioconsole#99 .
Possible solutions seem to be one of the following:
input()
everywhereainput()
everywereainput()
only on certain operating systems (e.g. Linux)The text was updated successfully, but these errors were encountered: