pycharm-evaluate-async-code icon indicating copy to clipboard operation
pycharm-evaluate-async-code copied to clipboard

DeprecationWarning: There is no current event loop

Open gygabyte017 opened this issue 3 years ago • 0 comments

I'm getting this warning with Python 3.10 (didn't happen with Python 3.9):

C:\Users\xxx\AppData\Roaming\JetBrains\PyCharm2022.1\plugins\evaluate-async-code\_pydevd_async_debug.py C:\Users\xxx\software\JetBrains\PyCharm\plugins\python\helpers\pydev\pydevd.py --module --multiprocess --qt-support=auto --client 127.0.0.1 --port 51025 --file uvicorn main:app --port 19002 --log-level debug
C:\Users\xxx\AppData\Roaming\JetBrains\PyCharm2022.1\plugins\evaluate-async-code\_pydevd_async_debug.py:243: DeprecationWarning: There is no current event loop
  loop = asyncio.get_event_loop()
C:\Users\xxx\AppData\Roaming\JetBrains\PyCharm2022.1\plugins\evaluate-async-code\_pydevd_async_debug.py:12: DeprecationWarning: There is no current event loop
  loop = loop or asyncio.get_event_loop()
Connected to pydev debugger (build 221.5787.24)
C:\Users\xxx\AppData\Roaming\JetBrains\PyCharm2022.1\plugins\evaluate-async-code\_pydevd_async_debug.py:36: DeprecationWarning: There is no current event loop
  task = asyncio.ensure_future(main)

gygabyte017 avatar Jun 13 '22 20:06 gygabyte017