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
Today when I start my application on local mac book, async error thrown that I've never seen before.
Please refer the attached trace log.
Code
File "/work/.venv/lib/python3.11/site-packages/ccxt/async_support/binance.py", line 9332, in fetch_positions
return await self.fetch_positions_risk(symbols, params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/work/.venv/lib/python3.11/site-packages/ccxt/async_support/binance.py", line 9403, in fetch_positions_risk
await self.load_markets()
File "/work/.venv/lib/python3.11/site-packages/ccxt/async_support/base/exchange.py", line 276, in load_markets
raise e
File "/work/.venv/lib/python3.11/site-packages/ccxt/async_support/base/exchange.py", line 272, in load_markets
result = await self.markets_loading
^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Task <Task pending name='Task-15' coro=<check_account() running at /work/app/scheduler/account_monitor.py:96> cb=[Task.task_wakeup()]> got Future <Task pending name='Task-44' coro=<Exchange.load_markets_helper() running at /work/.venv/lib/python3.11/site-packages/ccxt/async_support/base/exchange.py:253>> attached to a different loop
The text was updated successfully, but these errors were encountered:
I'm also running this application on a cloud VM. It works well now.
So I all changed libraries versions to the same with cloud's But still same error.
I think it's only happening on macOS.
Could it be a problem of latest MacOS?
Could you provide code snippet that we can reproduce this locally?
My code is not that special, just simply using ccxt async support code.
But after upgrading my macOS version to 14.5 (sonoma),
there is a crash with ccxt async support and fastapi-utils library which I use for scheduling job on async code with @repeat_every decorator.
Operating System
MacOS
Programming Languages
Python
CCXT Version
^4.3.37 to latest
Description
Today when I start my application on local mac book, async error thrown that I've never seen before.
Please refer the attached trace log.
Code
The text was updated successfully, but these errors were encountered: