zhenxun-org / zhenxun_bot_plugins_index

真寻bot的插件索引库
GNU Affero General Public License v3.0
397 stars 195 forks source link

ELF_RSS插件 加载报错 #185

Closed Phantom-Aria closed 3 months ago

Phantom-Aria commented 1 year ago

报错信息如下: 04-13 22:00:18 [ERROR] nonebot | Running matcher <Matcher from extensive_plugin.ELF_RSS, type=meta_event, priority=1, temp=False> failed. Traceback (most recent call last): File "/home/zhenxun_bot/bot.py", line 26, in nonebot.run() File "/usr/local/lib/python3.9/site-packages/nonebot/init.py", line 261, in run get_driver().run(*args, **kwargs) File "/usr/local/lib/python3.9/site-packages/nonebot/drivers/fastapi.py", line 170, in run uvicorn.run( File "/usr/local/lib/python3.9/site-packages/uvicorn/main.py", line 463, in run server.run() File "/usr/local/lib/python3.9/site-packages/uvicorn/server.py", line 60, in run return asyncio.run(self.serve(sockets=sockets)) File "/usr/local/lib/python3.9/asyncio/runners.py", line 44, in run return loop.run_until_complete(main) File "/usr/local/lib/python3.9/site-packages/nonebot/message.py", line 146, in _check_matcher await _run_matcher(Matcher, bot, event, state, stack, dependency_cache)

File "/usr/local/lib/python3.9/site-packages/nonebot/message.py", line 196, in _run_matcher await matcher.run(bot, event, state, stack, dependency_cache) File "/usr/local/lib/python3.9/site-packages/nonebot/internal/matcher.py", line 668, in run await self.simple_run(bot, event, state, stack, dependency_cache) File "/usr/local/lib/python3.9/site-packages/nonebot/internal/matcher.py", line 635, in simple_run await handler( File "/usr/local/lib/python3.9/site-packages/nonebot/dependencies/init.py", line 92, in call return await self.call(*values) File "/home/zhenxun_bot/extensive_plugin/ELF_RSS/init.py", line 94, in start await asyncio.gather([tr.add_job(rss) for rss in rss_list if not rss.stop]) NameError: name 'rss_list' is not defined

看了一下rss_list确实没有被定义,原项目中有读取list的步骤 image