报错信息:
Traceback (most recent call last):
File "bot.py", line 37, in
nonebot.run(app="__mp_main:app")
File "D:\python\lib\site-packages\nonebot\init__.py", line 258, in run
get_driver().run(*args, *kwargs)
File "D:\python\lib\site-packages\nonebot\drivers\fastapi.py", line 168, in run
uvicorn.run(
File "D:\python\lib\site-packages\uvicorn\main.py", line 463, in run
server.run()
File "D:\python\lib\site-packages\uvicorn\server.py", line 60, in run
return asyncio.run(self.serve(sockets=sockets))
File "D:\python\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "D:\python\lib\asyncio\base_events.py", line 603, in run_until_complete
self.run_forever()
File "D:\python\lib\asyncio\windows_events.py", line 316, in run_forever
super().run_forever()
File "D:\python\lib\asyncio\base_events.py", line 570, in run_forever
self._run_once()
File "D:\python\lib\asyncio\base_events.py", line 1859, in _run_once
handle._run()
File "D:\python\lib\asyncio\events.py", line 81, in _run
self._context.run(self._callback, self._args)
File "D:\python\lib\site-packages\nonebot\message.py", line 153, in _check_matcher
await _run_matcher(Matcher, bot, event, state, stack, dependency_cache)
File "D:\python\lib\site-packages\nonebot\message.py", line 202, in _run_matcher
await matcher.run(bot, event, state, stack, dependency_cache)
File "D:\python\lib\site-packages\nonebot\internal\matcher.py", line 668, in run
await self.simple_run(bot, event, state, stack, dependency_cache)
File "D:\python\lib\site-packages\nonebot\internal\matcher.py", line 635, in simple_run
await handler(
File "D:\python\lib\site-packages\nonebot\dependencies__init.py", line 92, in call
return await self.call(**values)
File "D:\python学习\pyqq\qqbots\src\plugins\nonebot_plugin_picsearcher__init__.py", line 79, in get_setu
async for msg in limiter(get_des(url, mod), bot.config.search_limit or 2):
File "D:\python学习\pyqq\qqbots\src\plugins\nonebot_plugin_picsearcher\utils.py", line 9, in limiter
yield await gen.asend(None)
File "D:\python学习\pyqq\qqbots\src\plugins\nonebot_plugin_picsearcher__init__.py", line 38, in get_des
async for msg in get_des_trace(url):
File "D:\python学习\pyqq\qqbots\src\plugins\nonebot_plugin_picsearcher\trace.py", line 88, in get_des
image_data: List[Tuple] = await get_pic_from_url(url)
File "D:\python学习\pyqq\qqbots\src\plugins\nonebot_plugin_picsearcher\trace.py", line 73, in get_pic_from_url
data = aiohttp.FormData(boundary="----WebKitFormBoundary9cyjY8YBBN8SGdG4")
TypeError: init__() got an unexpected keyword argument 'boundary'
报错信息: Traceback (most recent call last): File "bot.py", line 37, in
nonebot.run(app="__mp_main:app")
File "D:\python\lib\site-packages\nonebot\init__.py", line 258, in run
get_driver().run(*args, *kwargs)
File "D:\python\lib\site-packages\nonebot\drivers\fastapi.py", line 168, in run
uvicorn.run(
File "D:\python\lib\site-packages\uvicorn\main.py", line 463, in run
server.run()
File "D:\python\lib\site-packages\uvicorn\server.py", line 60, in run
return asyncio.run(self.serve(sockets=sockets))
File "D:\python\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "D:\python\lib\asyncio\base_events.py", line 603, in run_until_complete
self.run_forever()
File "D:\python\lib\asyncio\windows_events.py", line 316, in run_forever
super().run_forever()
File "D:\python\lib\asyncio\base_events.py", line 570, in run_forever
self._run_once()
File "D:\python\lib\asyncio\base_events.py", line 1859, in _run_once
handle._run()
File "D:\python\lib\asyncio\events.py", line 81, in _run
self._context.run(self._callback, self._args)
File "D:\python\lib\site-packages\nonebot\message.py", line 153, in _check_matcher
await _run_matcher(Matcher, bot, event, state, stack, dependency_cache)