1. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

[Python] How to debug asyncio warning in base_events.py:1931?

Discussão em 'Python' iniciado por Stack, Outubro 1, 2024 às 05:52.

  1. Stack

    Stack Membro Participativo

    I've written a chat app that uses Quart, socketio, and uvicorn, along with some external frameworks like firestore. My dev environment is Replit. In some parts of my app, I get vague warning messages that I interpret as meaning that something is blocking an async function:

    WARNING
    Executing <Task pending name='Task-32' coro=<AsyncServer._handle_event_internal() running at /home/runner/MyApp/.pythonlibs/lib/python3.11/site-packages/socketio/async_server.py:610> wait_for=<Task pending name='Task-33' coro=<UnaryStreamCall._send_unary_request() running at /home/runner/MyApp/.pythonlibs/lib/python3.11/site-packages/grpc/aio/_call.py:634> cb=[Task.task_wakeup()] created at /home/runner/MyApp/.pythonlibs/lib/python3.11/site-packages/grpc/aio/_call.py:629> cb=[set.discard()] created at /nix/store/f98g7xbckgqbkagdvpzc2r6lv3h1p9ki-python3-3.11.9/lib/python3.11/asyncio/tasks.py:680> took 0.109 seconds


    It occurs at base_events.py on line 1931. How do you debug this kind of problem?

    Continue reading...

Compartilhe esta Página