You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes when pressing enter during a scan (especially when a lot of stuff is being printed to the console), aioconsole throws an error. After this point, stdout no longer works.
Traceback (most recent call last):
File "/root/bbot/bbot/cli.py", line 329, in akeyboard_listen
keyboard_input = await ainput()
^^^^^^^^^^^^^^
File "/root/.cache/pypoetry/virtualenvs/bbot-aKeTQkGo-py3.11/lib/python3.11/site-packages/aioconsole/stream.py", line 284, in ainput
raise EOFError
EOFError
The text was updated successfully, but these errors were encountered:
The crash in aioconsole happens because aioconsole.ainput() puts both stdin and stdout into non-blocking mode. When our logger tries to write to it, it fails and everything crashes spectacularly.
There is already an upstream issue for this, which reproduces the error using the following code:
Sometimes when pressing enter during a scan (especially when a lot of stuff is being printed to the console), aioconsole throws an error. After this point, stdout no longer works.
The text was updated successfully, but these errors were encountered: