Skip to content

"Event Loop Already Running" #402

Closed Answered by GonzRon
GonzRon asked this question in Q&A
Discussion options

You must be logged in to vote
    self._ib_client.sleep(2)
    ~~~~~~~~~~~~~~~~~~~~~^^^
  File "/lib/python3.13/site-packages/ib_async/util.py", line 405, in sleep
    run(asyncio.sleep(secs))
    ~~~^^^^^^^^^^^^^^^^^^^^^
  File "/lib/python3.13/site-packages/ib_async/util.py", line 360, in run
    result = loop.run_until_complete(task)
  File "/usr/lib64/python3.13/asyncio/base_events.py", line 696, in run_until_complete
    self._check_running()
    ~~~~~~~~~~~~~~~~~~~^^
      File "/usr/lib64/python3.13/asyncio/base_events.py", line 632, in _check_running
    raise RuntimeError('This event loop is already running')
RuntimeError: This event loop is already running

I don't think this other library should be using a …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by GonzRon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant