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
Exception in thread Thread-3 (_warmup_procedure):
Traceback (most recent call last):
File "/Users/pengyiyang/miniconda3/envs/bce-qianfan-sdk-new/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/Users/pengyiyang/miniconda3/envs/bce-qianfan-sdk-new/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "/Users/pengyiyang/Desktop/github/bce-qianfan-sdk/python/qianfan/resources/rate_limiter.py", line 387, in _warmup_procedure
loop.run_until_complete(self._async_limiter.acquire(query_per_period))
File "/Users/pengyiyang/miniconda3/envs/bce-qianfan-sdk-new/lib/python3.10/asyncio/base_events.py", line 625, in run_until_complete
self._check_running()
File "/Users/pengyiyang/miniconda3/envs/bce-qianfan-sdk-new/lib/python3.10/asyncio/base_events.py", line 586, in _check_running
raise RuntimeError(
RuntimeError: Cannot run the event loop while another loop is running
/Users/pengyiyang/miniconda3/envs/bce-qianfan-sdk-new/lib/python3.10/threading.py:1018: RuntimeWarning: coroutine 'AsyncLimiter.acquire' was never awaited
self._invoke_excepthook(self)
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
Exception in thread Thread-4 (_warmup_procedure):
Traceback (most recent call last):
File "/Users/pengyiyang/miniconda3/envs/bce-qianfan-sdk-new/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/Users/pengyiyang/miniconda3/envs/bce-qianfan-sdk-new/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "/Users/pengyiyang/Desktop/github/bce-qianfan-sdk/python/qianfan/resources/rate_limiter.py", line 387, in _warmup_procedure
loop.run_until_complete(self._async_limiter.acquire(query_per_period))
File "/Users/pengyiyang/miniconda3/envs/bce-qianfan-sdk-new/lib/python3.10/asyncio/base_events.py", line 625, in run_until_complete
self._check_running()
File "/Users/pengyiyang/miniconda3/envs/bce-qianfan-sdk-new/lib/python3.10/asyncio/base_events.py", line 586, in _check_running
raise RuntimeError(
RuntimeError: Cannot run the event loop while another loop is running
System Info
Reproduction
The text was updated successfully, but these errors were encountered: