-
Notifications
You must be signed in to change notification settings - Fork 16
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
Error closing application #54
Comments
Do you have any code for us so we can reproduce this? |
The issue arises because of unexpected application crashes and then the event loop raises the given error while closing |
Hard to say what happened here. Lines 841 to 854 in 5260fa1
Based on this log statement, I presume you're using Faust: [2023-09-27 14:23:26,848] [13671] [INFO] [^---ProducerBuffer]: Terminating cancelled task: <coroutine object ProducerBuffer._handle_pending at 0x7fa8f5063610> I wonder if this is moreso a Faust bug than a Mode bug. |
Oh, wait, it's not. Let me dig into it more. |
If this happens in tests, tests hang indefinitely. Here's the output running
|
@wbarnha Very simple reproduction: Versions:
And that prints
Until the EDIT Exact same happens with
which prints
|
Debug logging
|
Checklist
master
branch of Mode.Expected behavior
No error expected
Actual behavior
RuntimeWarning: coroutine 'sleep' was never awaited (mode/services.py:849)
Full traceback
Versions
The text was updated successfully, but these errors were encountered: