H-K-Y / Genshin_Impact_bot

原神bot,这是一个基于nonebot和HoshinoBot的原神娱乐及信息查询插件,包含原神抽卡,丘丘语翻译,找资源点等功能
GNU General Public License v3.0
393 stars 85 forks source link

运行nonebot2的bot.py时候,出现这个错误,非常的奇怪,谷歌半天也看不懂 #45

Closed seraphpant closed 3 years ago

seraphpant commented 3 years ago

File "C:\Users\54622\AppData\Local\Programs\Python\Python39\lib\site-packages\nonebot\adapters\cqhttp\bot.py", line 330, in handle_message event = model.parse_obj(data) File "pydantic\main.py", line 578, in pydantic.main.BaseModel.parse_obj raise ValidationError([ErrorWrapper(exc, loc=ROOT_KEY)], cls) from e File "pydantic\main.py", line 406, in pydantic.main.BaseModel.init raise validation_error pydantic.error_wrappers.ValidationError: 1 validation error for HeartbeatMetaEvent status none is not an allowed value (type=type_error.none.not_allowed)

H-K-Y commented 3 years ago

是本插件报的错误吗?如果不是请不要发到本项目的lssue

seraphpant commented 3 years ago

新生明白了,忘记提问的准则了,非常抱歉