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
[2021-11-03 13:07:45,263 nonebot] ERROR: An exception occurred while running command ('更新卡池',):
[2021-11-03 13:07:45,263 nonebot] ERROR: list index out of range
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/nonebot/command/__init__.py", line 869, in _real_run_command
await asyncio.wait_for(future, timeout)
File "/usr/local/lib/python3.10/asyncio/tasks.py", line 408, in wait_for
return await fut
File "/usr/local/lib/python3.10/site-packages/nonebot/command/__init__.py", line 174, in run
await self.func(session)
File "/root/HoshinoBot/hoshino/modules/priconne/gacha/update.py", line 231, in update_pool_chat
status = await update_pool()
File "/root/HoshinoBot/hoshino/modules/priconne/gacha/update.py", line 218, in update_pool
update_local_pool(online_pool)
File "/root/HoshinoBot/hoshino/modules/priconne/gacha/update.py", line 176, in update_local_pool
local_pool[server][star] = ids2names(local_pool[server][star])
File "/root/HoshinoBot/hoshino/modules/priconne/gacha/update.py", line 82, in ids2names
res.append(_pcr_data.CHARA_NAME[id][0])
IndexError: list index out of range
发送
更新卡池
和强制更新卡池
命令,Bot 报错日志:
目前自己找到的临时解决方法为把
update.py
中的update_local_pool()
中的pool_name
中的MIX
行注释掉不过这个肯定不是根本的解决方法
The text was updated successfully, but these errors were encountered: