Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

下载picsearcher后无法处理图片 #50

Open
z9p1 opened this issue Dec 3, 2022 · 1 comment
Open

下载picsearcher后无法处理图片 #50

z9p1 opened this issue Dec 3, 2022 · 1 comment

Comments

@z9p1
Copy link

z9p1 commented Dec 3, 2022

问题:搜索图片后控制台可以抓到”搜“但无图片返回

排查:当启动该插件时周期性提示:
Task exception was never retrieved
future: <Task finished name='Task-84' coro=<Bot.handle_event() done, defined at C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\nonebot\adapters\onebot\v11\bot.py:186> exception=TypeError("'<' not supported between instances of 'str' and 'int'")>
Traceback (most recent call last):
File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\nonebot\adapters\onebot\v11\bot.py", line 193, in handle_event
await handle_event(self, event)
File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\nonebot\message.py", line 288, in handle_event
for priority in sorted(matchers.keys()):
TypeError: '<' not supported between instances of 'str' and 'int'

环境操作如下:已pip install Brotli ,pip install nonebot-plugin-picsearcher 设置配置项,未在 nonebot2 项目中设置 load_plugin()(设置后会提示已存在不需要)

@synodriver
Copy link
Owner

你的python版本,nonebot版本和这个插件的版本?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants