ChenXu233 / nonebot_plugin_dialectlist

看看群友能有多话唠
MIT License
42 stars 5 forks source link

运行时会报type错误 #31

Closed billyosoror closed 2 months ago

billyosoror commented 3 months ago

启动的时候会报type错误 nonebot版本号:2.3.1 pydantic版本号:2.8 错误截图

ChenXu233 commented 3 months ago

实不相瞒,报错的代码我抄的是词云的

https://github.com/he0119/nonebot-plugin-wordcloud/blob/2545ab7c553974fefeb65c4a8dbd0b8c6fdbccfb/nonebot_plugin_wordcloud/__init__.py#L108-L118

具体报错好像是因为alconna?

我这边没法复现,所以也不清楚到底是什么原因。

billyosoror commented 3 months ago

我是在Lagrange+nonebot部署的,我尝试alconna降级测试看看

billyosoror commented 3 months ago

实不相瞒,报错的代码我抄的是词云的

https://github.com/he0119/nonebot-plugin-wordcloud/blob/2545ab7c553974fefeb65c4a8dbd0b8c6fdbccfb/nonebot_plugin_wordcloud/__init__.py#L108-L118

具体报错好像是因为alconna?

我这边没法复现,所以也不清楚到底是什么原因。

问题解决了,我在代码里修改了Alconna方法,现在正常运行了) fix

ChenXu233 commented 2 months ago

新版本已解决