报错信息如下:
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
报错信息如下: 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)
看了一下rss_list确实没有被定义,原项目中有读取list的步骤