CMHopeSunshine / LittlePaimon

小派蒙!基于Nonebot2的原神机器人,包括但不限于UID面板查询、抽卡记录分析、游戏攻略图鉴、实时便签、原石札记、群聊学习、群管等功能。/ LittlePamon! Genshin Impact multifunctional bot based on Nonebot2.
https://docs.paimon.cherishmoon.top
GNU Affero General Public License v3.0
1.15k stars 127 forks source link

升级最新版后那个新的插件无法import #69

Closed forchannot closed 2 years ago

forchannot commented 2 years ago

报错太长了,我全部复制放在网络剪切板了https://netcut.cn/p/0ba9bf175b279714 ,密码little。 好像我知道啥原因了,因为另一个插件也用到了这个htmlrender,冲突了,不过怎么解决呢

CMHopeSunshine commented 2 years ago

不存在用了同一个插件而冲突的情况吧...我这也有很多其他用htmlrender的插件,没冲突问题

forchannot commented 2 years ago

不存在用了同一个插件而冲突的情况吧...我这也有很多其他用htmlrender的插件,没冲突问题

好像是因为那个插件是用的nb安装的,派蒙是直接添加在botpy里面启动优先级高,那个插件启动时发现htmlrender已经被启动了,具体大佬可以看看剪切板是因为啥

CMHopeSunshine commented 2 years ago

那你调一下顺序试试咯,我的是先加载nb plugin的再加载LittlePaimon,报错日志没有什么用

CMHopeSunshine commented 2 years ago

找到问题了,是没有进行require操作。目前先加载其他需要htmlrender的插件的话就能正常运行。明天修复