인원수 제한에 도달한 채널에 들어가려 하면 고장남
Closed this issue · 0 comments
minacle commented
구체적으로는 조인 재시도에서 무한 루프를 돌게 된다. 아래는 스택 트레이스
<class 'asyncio.exceptions.TimeoutError'>:
Traceback (most recent call last):
File "/Users/mayu/.pyenv/versions/pypy3.9-7.3.12/lib/pypy3.9/asyncio/tasks.py", line 258, in __step
result = coro.throw(exc)
File "/Users/mayu/.pyenv/versions/discord-koe/lib/pypy3.9/site-packages/discord/abc.py", line 1907, in connect
await voice.connect(timeout=timeout, reconnect=reconnect, self_deaf=self_deaf, self_mute=self_mute)
File "/Users/mayu/.pyenv/versions/discord-koe/lib/pypy3.9/site-packages/discord/voice_client.py", line 387, in connect
await utils.sane_wait_for(futures, timeout=timeout)
File "/Users/mayu/.pyenv/versions/discord-koe/lib/pypy3.9/site-packages/discord/utils.py", line 713, in sane_wait_for
done, pending = await asyncio.wait(ensured, timeout=timeout, return_when=asyncio.ALL_COMPLETED)
File "/Users/mayu/.pyenv/versions/pypy3.9-7.3.12/lib/pypy3.9/asyncio/tasks.py", line 413, in wait
return await _wait(fs, timeout, return_when, loop)
File "/Users/mayu/.pyenv/versions/pypy3.9-7.3.12/lib/pypy3.9/asyncio/tasks.py", line 525, in _wait
await waiter
File "/Users/mayu/.pyenv/versions/pypy3.9-7.3.12/lib/pypy3.9/asyncio/futures.py", line 284, in __await__
yield self # This tells Task to wait for completion.
File "/Users/mayu/.pyenv/versions/pypy3.9-7.3.12/lib/pypy3.9/asyncio/tasks.py", line 328, in __wakeup
future.result()
File "/Users/mayu/.pyenv/versions/pypy3.9-7.3.12/lib/pypy3.9/asyncio/futures.py", line 196, in result
raise exc
asyncio.exceptions.CancelledError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/mayu/.pyenv/versions/pypy3.9-7.3.12/lib/pypy3.9/asyncio/tasks.py", line 490, in wait_for
return fut.result()
File "/Users/mayu/.pyenv/versions/pypy3.9-7.3.12/lib/pypy3.9/asyncio/futures.py", line 196, in result
raise exc
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/mayu/git/minacle/discord-koe/bot.py", line 428, in speak_job
voice_client = await asyncio.wait_for(message.channel.connect(), timeout=10)
File "/Users/mayu/.pyenv/versions/pypy3.9-7.3.12/lib/pypy3.9/asyncio/tasks.py", line 492, in wait_for
raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError