真寻版本0.1.6.6
系统版本win11
错误日志
Running Matcher(type='message', module=plugins.sign_in) failed.
Traceback (most recent call last):
File "D:\zhenxun\home\dong\TRSS_Zhenxun\Zhenxun\bot.py", line 21, in
nonebot.run()
File "D:\zhenxun\home\dong\TRSS_Zhenxun\home\AppData\Local\pypoetry\Cache\virtualenvs\zhenxun-bot-ETT07Wgi-py3.10\lib\site-packages\nonebot__init__.py", line 273, in run
get_driver().run(*args, **kwargs)
File "D:\zhenxun\home\dong\TRSS_Zhenxun\home\AppData\Local\pypoetry\Cache\virtualenvs\zhenxun-bot-ETT07Wgi-py3.10\lib\site-packages\nonebot\drivers\fastapi.py", line 172, in run
uvicorn.run(
File "D:\zhenxun\home\dong\TRSS_Zhenxun\home\AppData\Local\pypoetry\Cache\virtualenvs\zhenxun-bot-ETT07Wgi-py3.10\lib\site-packages\uvicorn\main.py", line 569, in run
server.run()
File "D:\zhenxun\home\dong\TRSS_Zhenxun\home\AppData\Local\pypoetry\Cache\virtualenvs\zhenxun-bot-ETT07Wgi-py3.10\lib\site-packages\uvicorn\server.py", line 60, in run
return asyncio.run(self.serve(sockets=sockets))
File "asyncio\runners.py", line 44, in run
File "asyncio\base_events.py", line 636, in run_until_complete
File "asyncio\windows_events.py", line 321, in run_forever
File "asyncio\base_events.py", line 603, in run_forever
File "asyncio\base_events.py", line 1906, in _run_once
File "asyncio\events.py", line 80, in _run
File "D:\zhenxun\home\dong\TRSS_Zhenxun\home\AppData\Local\pypoetry\Cache\virtualenvs\zhenxun-bot-ETT07Wgi-py3.10\lib\site-packages\nonebot\message.py", line 142, in _check_matcher
await _run_matcher(Matcher, bot, event, state, stack, dependency_cache)
File "D:\zhenxun\home\dong\TRSS_Zhenxun\home\AppData\Local\pypoetry\Cache\virtualenvs\zhenxun-bot-ETT07Wgi-py3.10\lib\site-packages\nonebot\message.py", line 188, in _run_matcher
await matcher.run(bot, event, state, stack, dependency_cache)
File "D:\zhenxun\home\dong\TRSS_Zhenxun\home\AppData\Local\pypoetry\Cache\virtualenvs\zhenxun-bot-ETT07Wgi-py3.10\lib\site-packages\nonebot\internal\matcher\matcher.py", line 727, in run
await self.simple_run(bot, event, state, stack, dependency_cache)
File "D:\zhenxun\home\dong\TRSS_Zhenxun\home\AppData\Local\pypoetry\Cache\virtualenvs\zhenxun-bot-ETT07Wgi-py3.10\lib\site-packages\nonebot\internal\matcher\matcher.py", line 702, in simple_run
await handler(
File "D:\zhenxun\home\dong\TRSS_Zhenxun\home\AppData\Local\pypoetry\Cache\virtualenvs\zhenxun-bot-ETT07Wgi-py3.10\lib\site-packages\nonebot\dependencies__init.py", line 108, in call
return await cast(Callable[..., Awaitable[R]], self.call)(**values)
File "D:\zhenxun\home\dong\TRSS_Zhenxun\Zhenxun\plugins\sign_in\init_.py", line 118, in
await group_user_check(nickname, event.user_id, event.group_id),
File "D:\zhenxun\home\dong\TRSS_Zhenxun\Zhenxun\plugins\sign_in\group_user_checkin.py", line 100, in group_user_check
return await get_card(user, nickname, None, gold, "", is_card_view=True)
File "D:\zhenxun\home\dong\TRSS_Zhenxun\Zhenxun\plugins\sign_in\utils.py", line 93, in get_card
return await asyncio.get_event_loop().run_in_executor(
File "concurrent\futures\thread.py", line 58, in run
File "D:\zhenxun\home\dong\TRSS_Zhenxun\Zhenxun\plugins\sign_in\utils.py", line 240, in _generate_card
index = impression_list.index(user.impression)
ValueError: Decimal('2.470') is not in list
错误截图
真寻版本0.1.6.6 系统版本win11 错误日志 Running Matcher(type='message', module=plugins.sign_in) failed. Traceback (most recent call last): File "D:\zhenxun\home\dong\TRSS_Zhenxun\Zhenxun\bot.py", line 21, in
nonebot.run()
File "D:\zhenxun\home\dong\TRSS_Zhenxun\home\AppData\Local\pypoetry\Cache\virtualenvs\zhenxun-bot-ETT07Wgi-py3.10\lib\site-packages\nonebot__init__.py", line 273, in run
get_driver().run(*args, **kwargs)
File "D:\zhenxun\home\dong\TRSS_Zhenxun\home\AppData\Local\pypoetry\Cache\virtualenvs\zhenxun-bot-ETT07Wgi-py3.10\lib\site-packages\nonebot\drivers\fastapi.py", line 172, in run
uvicorn.run(
File "D:\zhenxun\home\dong\TRSS_Zhenxun\home\AppData\Local\pypoetry\Cache\virtualenvs\zhenxun-bot-ETT07Wgi-py3.10\lib\site-packages\uvicorn\main.py", line 569, in run
server.run()
File "D:\zhenxun\home\dong\TRSS_Zhenxun\home\AppData\Local\pypoetry\Cache\virtualenvs\zhenxun-bot-ETT07Wgi-py3.10\lib\site-packages\uvicorn\server.py", line 60, in run
return asyncio.run(self.serve(sockets=sockets))
File "asyncio\runners.py", line 44, in run
File "asyncio\base_events.py", line 636, in run_until_complete
File "asyncio\windows_events.py", line 321, in run_forever
File "asyncio\base_events.py", line 603, in run_forever
File "asyncio\base_events.py", line 1906, in _run_once
File "asyncio\events.py", line 80, in _run
File "D:\zhenxun\home\dong\TRSS_Zhenxun\home\AppData\Local\pypoetry\Cache\virtualenvs\zhenxun-bot-ETT07Wgi-py3.10\lib\site-packages\nonebot\message.py", line 142, in _check_matcher
await _run_matcher(Matcher, bot, event, state, stack, dependency_cache)