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
Hey,
i am using the simple example on a Raspberry Pi, running Python 3.7.3. When i terminate my application, i get the following errors:
!!! AsyncApplication.run: got KeyboardInterrupt during stop
main: end
Task was destroyed but it is pending!
task: <Task pending coro=<testService.run() done, defined at /home/pi/share/app.py/services/testService.py:28> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0xb5d7ff10>()]>>
Task was destroyed but it is pending!
task: <Task pending coro=<Event.wait() done, defined at /usr/lib/python3.7/asyncio/locks.py:280> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0xb5d7fcd0>()]> cb=[<TaskWakeupMethWrapper object at 0xb5d7f8b0>()]>
sys:1: RuntimeWarning: coroutine 'testService.stop' was never awaited
It seems like the DelayedKeyboardInterrupt does not work on my system. Or somehow the KeyboardInterrupt is sent twice, because my application starts stopping all services.
This is where the "second" KeyboardInterrupt is raised.
Would be really glad if you could help me!
The text was updated successfully, but these errors were encountered:
Hey,
i am using the simple example on a Raspberry Pi, running Python 3.7.3. When i terminate my application, i get the following errors:
It seems like the DelayedKeyboardInterrupt does not work on my system. Or somehow the KeyboardInterrupt is sent twice, because my application starts stopping all services.
This is where the "second" KeyboardInterrupt is raised.
Would be really glad if you could help me!
The text was updated successfully, but these errors were encountered: