Kyomotoi / ATRI

A project for ATRI, use go-cqhttp and Nonebot2.
https://atri.imki.moe
GNU General Public License v3.0
722 stars 87 forks source link

商店里有此插件却没有搜索到 #82

Closed beiyaohhhc closed 1 year ago

beiyaohhhc commented 1 year ago

描述错误 | Describe the bug 在nonebot上的插件却没搜索到

如何复现 | To Reproduce 告诉我们该错误是如何触发的:

  1. 搜索插件标题未搜索到
  2. 搜索nonebot_plugin_xxxx未搜索到
  3. 搜索安装命令显示未搜索到

错误预期行为 | Expected behavior 成功安装

截图 | Screenshots E984E921-481E-4D95-9E76-E3FA2259A190 80A1F682-6BE4-4B90-BB50-9EDAB72DDFEF

操作环境 | Desktop:

补充内容 | Additional context 你可以在此添加其它说明,或向我们提供你的解决方案.

beiyaohhhc commented 1 year ago

当我下载GitHub插件并安装至\ATRI\plugins文件夹时 进程显示已加载但无法指令依然无响应 image

Kyomotoi commented 1 year ago

请确认启动时是否提示:成功刷新 Nonebot 商店 非经过 ATRI Service 注册的插件均无法使用

beiyaohhhc commented 1 year ago

那如何解决加载失败问题

Kyomotoi commented 1 year ago

那如何解决加载失败问题

刷新失败:丢到国外跑 加载失败:你能看懂源码可以自己改

beiyaohhhc commented 1 year ago

那如何解决加载失败问题

刷新失败:丢到国外跑 加载失败:你能看懂源码可以自己改

加载成功依然搜索不到

Kyomotoi commented 1 year ago

那如何解决加载失败问题

刷新失败:丢到国外跑 加载失败:你能看懂源码可以自己改

加载成功依然搜索不到

请再次检查名称是否输入正确,下划线需英文下划线

beiyaohhhc commented 1 year ago

出现了报错 呜——出错了...请反馈维护者 来自: 管理 信息: UnkErr RuntimeError 追踪ID: ZbHmE6Fp 下面是日志

ATRI | 02-18 19:40:15 | INFO gocqhttp >> [3467350972] 收到好友 北遥吃不胖(2383615282) 的消息: y (-2053886491)
ATRI | 02-18 19:40:15 | SUCCESS nonebot >> OneBot V11 3467350972 | [message.private.friend]: Message -2053886491 from 2383615282 'y'
ATRI | 02-18 19:40:15 | INFO nonebot >> Event will be handled by Matcher(type='message', module=管理)
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Requirement already satisfied: nonebot_plugin_cave in c:\users\administrator\appdata\local\pypoetry\cache\virtualenvs\atri-owe55yce-py3.10\lib\site-packages (1.1.6)
Requirement already satisfied: requests in c:\users\administrator\appdata\local\pypoetry\cache\virtualenvs\atri-owe55yce-py3.10\lib\site-packages (from nonebot_plugin_cave) (2.28.2)
Requirement already satisfied: nonebot-adapter-onebot in c:\users\administrator\appdata\local\pypoetry\cache\virtualenvs\atri-owe55yce-py3.10\lib\site-packages (from nonebot_plugin_cave) (2.2.1)
Requirement already satisfied: nonebot2>=2.0.0-beta.2 in c:\users\administrator\appdata\local\pypoetry\cache\virtualenvs\atri-owe55yce-py3.10\lib\site-packages (from nonebot_plugin_cave) (2.0.0rc3)
Requirement already satisfied: msgpack<2.0.0,>=1.0.3 in c:\users\administrator\appdata\local\pypoetry\cache\virtualenvs\atri-owe55yce-py3.10\lib\site-packages (from nonebot-adapter-onebot->nonebot_plugin_cave) (1.0.4)
Requirement already satisfied: tomlkit<1.0.0,>=0.10.0 in c:\users\administrator\appdata\local\pypoetry\cache\virtualenvs\atri-owe55yce-py3.10\lib\site-packages (from nonebot2>=2.0.0-beta.2->nonebot_plugin_cave) (0.11.6)
Requirement already satisfied: yarl<2.0.0,>=1.7.2 in c:\users\administrator\appdata\local\pypoetry\cache\virtualenvs\atri-owe55yce-py3.10\lib\site-packages (from nonebot2>=2.0.0-beta.2->nonebot_plugin_cave) (1.8.2)
Requirement already satisfied: typing-extensions<5.0.0,>=3.10.0 in c:\users\administrator\appdata\local\pypoetry\cache\virtualenvs\atri-owe55yce-py3.10\lib\site-packages (from nonebot2>=2.0.0-beta.2->nonebot_plugin_cave) (4.4.0)
Requirement already satisfied: pygtrie<3.0.0,>=2.4.1 in c:\users\administrator\appdata\local\pypoetry\cache\virtualenvs\atri-owe55yce-py3.10\lib\site-packages (from nonebot2>=2.0.0-beta.2->nonebot_plugin_cave) (2.5.0)
Requirement already satisfied: loguru<0.7.0,>=0.6.0 in c:\users\administrator\appdata\local\pypoetry\cache\virtualenvs\atri-owe55yce-py3.10\lib\site-packages (from nonebot2>=2.0.0-beta.2->nonebot_plugin_cave) (0.6.0)
Requirement already satisfied: pydantic[dotenv]<2.0.0,>=1.10.0 in c:\users\administrator\appdata\local\pypoetry\cache\virtualenvs\atri-owe55yce-py3.10\lib\site-packages (from nonebot2>=2.0.0-beta.2->nonebot_plugin_cave) (1.10.4)
Requirement already satisfied: idna<4,>=2.5 in c:\users\administrator\appdata\local\pypoetry\cache\virtualenvs\atri-owe55yce-py3.10\lib\site-packages (from requests->nonebot_plugin_cave) (3.4)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\administrator\appdata\local\pypoetry\cache\virtualenvs\atri-owe55yce-py3.10\lib\site-packages (from requests->nonebot_plugin_cave) (2022.12.7)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\users\administrator\appdata\local\pypoetry\cache\virtualenvs\atri-owe55yce-py3.10\lib\site-packages (from requests->nonebot_plugin_cave) (1.26.14)
Requirement already satisfied: charset-normalizer<4,>=2 in c:\users\administrator\appdata\local\pypoetry\cache\virtualenvs\atri-owe55yce-py3.10\lib\site-packages (from requests->nonebot_plugin_cave) (2.1.1)
Requirement already satisfied: colorama>=0.3.4 in c:\users\administrator\appdata\local\pypoetry\cache\virtualenvs\atri-owe55yce-py3.10\lib\site-packages (from loguru<0.7.0,>=0.6.0->nonebot2>=2.0.0-beta.2->nonebot_plugin_cave) (0.4.6)
Requirement already satisfied: win32-setctime>=1.0.0 in c:\users\administrator\appdata\local\pypoetry\cache\virtualenvs\atri-owe55yce-py3.10\lib\site-packages (from loguru<0.7.0,>=0.6.0->nonebot2>=2.0.0-beta.2->nonebot_plugin_cave) (1.1.0)
Requirement already satisfied: python-dotenv>=0.10.4 in c:\users\administrator\appdata\local\pypoetry\cache\virtualenvs\atri-owe55yce-py3.10\lib\site-packages (from pydantic[dotenv]<2.0.0,>=1.10.0->nonebot2>=2.0.0-beta.2->nonebot_plugin_cave) (0.21.1)
Requirement already satisfied: multidict>=4.0 in c:\users\administrator\appdata\local\pypoetry\cache\virtualenvs\atri-owe55yce-py3.10\lib\site-packages (from yarl<2.0.0,>=1.7.2->nonebot2>=2.0.0-beta.2->nonebot_plugin_cave) (6.0.4)

[notice] A new release of pip available: 22.3.1 -> 23.0
[notice] To update, run: python.exe -m pip install --upgrade pip
ATRI | 02-18 19:40:23 | INFO nonebot >> Matcher(type='message', module=管理) running complete
ATRI | 02-18 19:40:23 | ERROR nonebot >> Running Matcher(type='message', module=管理) failed.
Traceback (most recent call last):

  File "C:\Users\Administrator\Desktop\atri (2) (3)\main.py", line 9, in <module>
    ATRI.run()
    │    └ <function run at 0x00000153FC95B640>
    └ <module 'ATRI' from 'C:\\Users\\Administrator\\Desktop\\atri (2) (3)\\ATRI\\__init__.py'>

  File "C:\Users\Administrator\Desktop\atri (2) (3)\ATRI\__init__.py", line 36, in run
    nonebot.run(log_level=log_level)
    │       │             └ 'warning'
    │       └ <function run at 0x00000153FC1C1E10>
    └ <module 'nonebot' from 'C:\\Users\\Administrator\\AppData\\Local\\pypoetry\\Cache\\virtualenvs\\atri-oWE55YCE-py3.10\\lib\\si...

  File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\atri-oWE55YCE-py3.10\lib\site-packages\nonebot\__init__.py", line 273, in run
    get_driver().run(*args, **kwargs)
    │                 │       └ {'log_level': 'warning'}
    │                 └ ()
    └ <function get_driver at 0x00000153FC1C1C60>

  File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\atri-oWE55YCE-py3.10\lib\site-packages\nonebot\drivers\fastapi.py", line 187, in run
    uvicorn.run(
    │       └ <function run at 0x00000153FCAE0CA0>
    └ <module 'uvicorn' from 'C:\\Users\\Administrator\\AppData\\Local\\pypoetry\\Cache\\virtualenvs\\atri-oWE55YCE-py3.10\\lib\\si...

  File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\atri-oWE55YCE-py3.10\lib\site-packages\uvicorn\main.py", line 569, in run
    server.run()
    │      └ <function Server.run at 0x00000153FCAE0E50>
    └ <uvicorn.server.Server object at 0x00000153894F6B00>

  File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\atri-oWE55YCE-py3.10\lib\site-packages\uvicorn\server.py", line 60, in run
    return asyncio.run(self.serve(sockets=sockets))
           │       │   │    │             └ None
           │       │   │    └ <function Server.serve at 0x00000153FCAE0EE0>
           │       │   └ <uvicorn.server.Server object at 0x00000153894F6B00>
           │       └ <function run at 0x00000153F9F47370>
           └ <module 'asyncio' from 'C:\\Program Files\\Python310\\lib\\asyncio\\__init__.py'>

  File "C:\Program Files\Python310\lib\asyncio\runners.py", line 44, in run
    return loop.run_until_complete(main)
           │    │                  └ <coroutine object Server.serve at 0x0000015389320F20>
           │    └ <function BaseEventLoop.run_until_complete at 0x00000153FA04D2D0>
           └ <ProactorEventLoop running=True closed=False debug=False>

  File "C:\Program Files\Python310\lib\asyncio\base_events.py", line 636, in run_until_complete
    self.run_forever()
    │    └ <function ProactorEventLoop.run_forever at 0x00000153FBC81C60>
    └ <ProactorEventLoop running=True closed=False debug=False>

  File "C:\Program Files\Python310\lib\asyncio\windows_events.py", line 321, in run_forever
    super().run_forever()

  File "C:\Program Files\Python310\lib\asyncio\base_events.py", line 603, in run_forever
    self._run_once()
    │    └ <function BaseEventLoop._run_once at 0x00000153FA04ED40>
    └ <ProactorEventLoop running=True closed=False debug=False>

  File "C:\Program Files\Python310\lib\asyncio\base_events.py", line 1906, in _run_once
    handle._run()
    │      └ <function Handle._run at 0x00000153F9FE2710>
    └ <Handle Task.task_wakeup(<_GatheringFu...plugin_cave']>)>

  File "C:\Program Files\Python310\lib\asyncio\events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
    │    │            │    │           │    └ <member '_args' of 'Handle' objects>
    │    │            │    │           └ <Handle Task.task_wakeup(<_GatheringFu...plugin_cave']>)>
    │    │            │    └ <member '_callback' of 'Handle' objects>
    │    │            └ <Handle Task.task_wakeup(<_GatheringFu...plugin_cave']>)>
    │    └ <member '_context' of 'Handle' objects>
    └ <Handle Task.task_wakeup(<_GatheringFu...plugin_cave']>)>

  File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\atri-oWE55YCE-py3.10\lib\site-packages\nonebot\message.py", line 141, in _check_matcher
    await _run_matcher(Matcher, bot, event, state, stack, dependency_cache)
          │            │        │    │      │      │      └ {<function Matcher.got.<locals>._key_getter at 0x00000153FDE811B0>: <Task finished name='Task-8826' coro=<Matcher.got.<locals...
          │            │        │    │      │      └ <contextlib.AsyncExitStack object at 0x000001538A7746A0>
          │            │        │    │      └ {'_prefix': {'command': None, 'raw_command': None, 'command_arg': None, 'command_start': None}}
          │            │        │    └ PrivateMessageEvent(time=1676720415, self_id=3467350972, post_type='message', sub_type='friend', user_id=2383615282, message_...
          │            │        └ Bot(type='OneBot V11', self_id='3467350972')
          │            └ Matcher(type='message', module=管理)
          └ <function _run_matcher at 0x00000153FC3B8E50>

> File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\atri-oWE55YCE-py3.10\lib\site-packages\nonebot\message.py", line 187, in _run_matcher
    await matcher.run(bot, event, state, stack, dependency_cache)
          │       │   │    │      │      │      └ {<function Matcher.got.<locals>._key_getter at 0x00000153FDE811B0>: <Task finished name='Task-8826' coro=<Matcher.got.<locals...
          │       │   │    │      │      └ <contextlib.AsyncExitStack object at 0x000001538A7746A0>
          │       │   │    │      └ {'_prefix': {'command': None, 'raw_command': None, 'command_arg': None, 'command_start': None}}
          │       │   │    └ PrivateMessageEvent(time=1676720415, self_id=3467350972, post_type='message', sub_type='friend', user_id=2383615282, message_...
          │       │   └ Bot(type='OneBot V11', self_id='3467350972')
          │       └ <function Matcher.run at 0x00000153FC2453F0>
          └ Matcher(type='message', module=管理)

  File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\atri-oWE55YCE-py3.10\lib\site-packages\nonebot\internal\matcher\matcher.py", line 732, in run
    await self.simple_run(bot, event, state, stack, dependency_cache)
          │    │          │    │      │      │      └ {<function Matcher.got.<locals>._key_getter at 0x00000153FDE811B0>: <Task finished name='Task-8826' coro=<Matcher.got.<locals...
          │    │          │    │      │      └ <contextlib.AsyncExitStack object at 0x000001538A7746A0>
          │    │          │    │      └ {'_prefix': {'command': None, 'raw_command': None, 'command_arg': None, 'command_start': None}}
          │    │          │    └ PrivateMessageEvent(time=1676720415, self_id=3467350972, post_type='message', sub_type='friend', user_id=2383615282, message_...
          │    │          └ Bot(type='OneBot V11', self_id='3467350972')
          │    └ <function Matcher.simple_run at 0x00000153FC245360>
          └ Matcher(type='message', module=管理)

  File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\atri-oWE55YCE-py3.10\lib\site-packages\nonebot\internal\matcher\matcher.py", line 707, in simple_run
    await handler(
          └ Dependent(call=_, parameterless=(Depends(Dependent(call=_key_getter)),))

  File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\atri-oWE55YCE-py3.10\lib\site-packages\nonebot\dependencies\__init__.py", line 108, in __call__
    return await cast(Callable[..., Awaitable[R]], self.call)(**values)
                 │    │             │         │    │    │       └ {'att': 'y', 'plugin_name': 'nonebot_plugin_cave'}
                 │    │             │         │    │    └ <function _ at 0x00000153FDE80820>
                 │    │             │         │    └ Dependent(call=_, parameterless=(Depends(Dependent(call=_key_getter)),))
                 │    │             │         └ ~R
                 │    │             └ typing.Awaitable
                 │    └ typing.Callable
                 └ <function cast at 0x00000153F9BCB130>

  File "C:\Users\Administrator\Desktop\atri (2) (3)\ATRI\plugins\manage\__init__.py", line 480, in _
    result = nbm.add_plugin()
             │   └ <function NonebotPluginManager.add_plugin at 0x00000153FDD125F0>
             └ <ATRI.plugins.manage.plugin.NonebotPluginManager object at 0x000001538A776350>

  File "C:\Users\Administrator\Desktop\atri (2) (3)\ATRI\plugins\manage\plugin.py", line 84, in add_plugin
    nonebot.load_plugin(self._plugin_name)
    │       │           │    └ 'nonebot_plugin_cave'
    │       │           └ <ATRI.plugins.manage.plugin.NonebotPluginManager object at 0x000001538A776350>
    │       └ <function load_plugin at 0x00000153FC1C2320>
    └ <module 'nonebot' from 'C:\\Users\\Administrator\\AppData\\Local\\pypoetry\\Cache\\virtualenvs\\atri-oWE55YCE-py3.10\\lib\\si...

  File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\atri-oWE55YCE-py3.10\lib\site-packages\nonebot\plugin\load.py", line 32, in load_plugin
    manager = PluginManager([module_path])
              │              └ 'nonebot_plugin_cave'
              └ <class 'nonebot.plugin.manager.PluginManager'>

  File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\atri-oWE55YCE-py3.10\lib\site-packages\nonebot\plugin\manager.py", line 52, in __init__
    self.prepare_plugins()
    │    └ <function PluginManager.prepare_plugins at 0x00000153FC2CBBE0>
    └ PluginManager(plugins={'nonebot_plugin_cave'}, search_path=set())

  File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\atri-oWE55YCE-py3.10\lib\site-packages\nonebot\plugin\manager.py", line 94, in prepare_plugins
    raise RuntimeError(

RuntimeError: Plugin already exists: nonebot_plugin_cave! Check your plugin name
ATRI | 02-18 19:40:23 | ERROR ATRI >> Error Track ID: ZbHmE6Fp
ATRI | 02-18 19:40:23 | INFO gocqhttp >> [3467350972] 发送好友 2383615282(2383615282)  的消息: [{"type":  ... (-995807344)
Kyomotoi commented 1 year ago

出现了报错 呜——出错了...请反馈维护者 来自: 管理 信息: UnkErr RuntimeError 追踪ID: ZbHmE6Fp 下面是日志

ATRI | 02-18 19:40:15 | INFO gocqhttp >> [3467350972] 收到好友 北遥吃不胖(2383615282) 的消息: y (-2053886491)
ATRI | 02-18 19:40:15 | SUCCESS nonebot >> OneBot V11 3467350972 | [message.private.friend]: Message -2053886491 from 2383615282 'y'
ATRI | 02-18 19:40:15 | INFO nonebot >> Event will be handled by Matcher(type='message', module=管理)
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Requirement already satisfied: nonebot_plugin_cave in c:\users\administrator\appdata\local\pypoetry\cache\virtualenvs\atri-owe55yce-py3.10\lib\site-packages (1.1.6)
Requirement already satisfied: requests in c:\users\administrator\appdata\local\pypoetry\cache\virtualenvs\atri-owe55yce-py3.10\lib\site-packages (from nonebot_plugin_cave) (2.28.2)
Requirement already satisfied: nonebot-adapter-onebot in c:\users\administrator\appdata\local\pypoetry\cache\virtualenvs\atri-owe55yce-py3.10\lib\site-packages (from nonebot_plugin_cave) (2.2.1)
Requirement already satisfied: nonebot2>=2.0.0-beta.2 in c:\users\administrator\appdata\local\pypoetry\cache\virtualenvs\atri-owe55yce-py3.10\lib\site-packages (from nonebot_plugin_cave) (2.0.0rc3)
Requirement already satisfied: msgpack<2.0.0,>=1.0.3 in c:\users\administrator\appdata\local\pypoetry\cache\virtualenvs\atri-owe55yce-py3.10\lib\site-packages (from nonebot-adapter-onebot->nonebot_plugin_cave) (1.0.4)
Requirement already satisfied: tomlkit<1.0.0,>=0.10.0 in c:\users\administrator\appdata\local\pypoetry\cache\virtualenvs\atri-owe55yce-py3.10\lib\site-packages (from nonebot2>=2.0.0-beta.2->nonebot_plugin_cave) (0.11.6)
Requirement already satisfied: yarl<2.0.0,>=1.7.2 in c:\users\administrator\appdata\local\pypoetry\cache\virtualenvs\atri-owe55yce-py3.10\lib\site-packages (from nonebot2>=2.0.0-beta.2->nonebot_plugin_cave) (1.8.2)
Requirement already satisfied: typing-extensions<5.0.0,>=3.10.0 in c:\users\administrator\appdata\local\pypoetry\cache\virtualenvs\atri-owe55yce-py3.10\lib\site-packages (from nonebot2>=2.0.0-beta.2->nonebot_plugin_cave) (4.4.0)
Requirement already satisfied: pygtrie<3.0.0,>=2.4.1 in c:\users\administrator\appdata\local\pypoetry\cache\virtualenvs\atri-owe55yce-py3.10\lib\site-packages (from nonebot2>=2.0.0-beta.2->nonebot_plugin_cave) (2.5.0)
Requirement already satisfied: loguru<0.7.0,>=0.6.0 in c:\users\administrator\appdata\local\pypoetry\cache\virtualenvs\atri-owe55yce-py3.10\lib\site-packages (from nonebot2>=2.0.0-beta.2->nonebot_plugin_cave) (0.6.0)
Requirement already satisfied: pydantic[dotenv]<2.0.0,>=1.10.0 in c:\users\administrator\appdata\local\pypoetry\cache\virtualenvs\atri-owe55yce-py3.10\lib\site-packages (from nonebot2>=2.0.0-beta.2->nonebot_plugin_cave) (1.10.4)
Requirement already satisfied: idna<4,>=2.5 in c:\users\administrator\appdata\local\pypoetry\cache\virtualenvs\atri-owe55yce-py3.10\lib\site-packages (from requests->nonebot_plugin_cave) (3.4)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\administrator\appdata\local\pypoetry\cache\virtualenvs\atri-owe55yce-py3.10\lib\site-packages (from requests->nonebot_plugin_cave) (2022.12.7)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\users\administrator\appdata\local\pypoetry\cache\virtualenvs\atri-owe55yce-py3.10\lib\site-packages (from requests->nonebot_plugin_cave) (1.26.14)
Requirement already satisfied: charset-normalizer<4,>=2 in c:\users\administrator\appdata\local\pypoetry\cache\virtualenvs\atri-owe55yce-py3.10\lib\site-packages (from requests->nonebot_plugin_cave) (2.1.1)
Requirement already satisfied: colorama>=0.3.4 in c:\users\administrator\appdata\local\pypoetry\cache\virtualenvs\atri-owe55yce-py3.10\lib\site-packages (from loguru<0.7.0,>=0.6.0->nonebot2>=2.0.0-beta.2->nonebot_plugin_cave) (0.4.6)
Requirement already satisfied: win32-setctime>=1.0.0 in c:\users\administrator\appdata\local\pypoetry\cache\virtualenvs\atri-owe55yce-py3.10\lib\site-packages (from loguru<0.7.0,>=0.6.0->nonebot2>=2.0.0-beta.2->nonebot_plugin_cave) (1.1.0)
Requirement already satisfied: python-dotenv>=0.10.4 in c:\users\administrator\appdata\local\pypoetry\cache\virtualenvs\atri-owe55yce-py3.10\lib\site-packages (from pydantic[dotenv]<2.0.0,>=1.10.0->nonebot2>=2.0.0-beta.2->nonebot_plugin_cave) (0.21.1)
Requirement already satisfied: multidict>=4.0 in c:\users\administrator\appdata\local\pypoetry\cache\virtualenvs\atri-owe55yce-py3.10\lib\site-packages (from yarl<2.0.0,>=1.7.2->nonebot2>=2.0.0-beta.2->nonebot_plugin_cave) (6.0.4)

[notice] A new release of pip available: 22.3.1 -> 23.0
[notice] To update, run: python.exe -m pip install --upgrade pip
ATRI | 02-18 19:40:23 | INFO nonebot >> Matcher(type='message', module=管理) running complete
ATRI | 02-18 19:40:23 | ERROR nonebot >> Running Matcher(type='message', module=管理) failed.
Traceback (most recent call last):

  File "C:\Users\Administrator\Desktop\atri (2) (3)\main.py", line 9, in <module>
    ATRI.run()
    │    └ <function run at 0x00000153FC95B640>
    └ <module 'ATRI' from 'C:\\Users\\Administrator\\Desktop\\atri (2) (3)\\ATRI\\__init__.py'>

  File "C:\Users\Administrator\Desktop\atri (2) (3)\ATRI\__init__.py", line 36, in run
    nonebot.run(log_level=log_level)
    │       │             └ 'warning'
    │       └ <function run at 0x00000153FC1C1E10>
    └ <module 'nonebot' from 'C:\\Users\\Administrator\\AppData\\Local\\pypoetry\\Cache\\virtualenvs\\atri-oWE55YCE-py3.10\\lib\\si...

  File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\atri-oWE55YCE-py3.10\lib\site-packages\nonebot\__init__.py", line 273, in run
    get_driver().run(*args, **kwargs)
    │                 │       └ {'log_level': 'warning'}
    │                 └ ()
    └ <function get_driver at 0x00000153FC1C1C60>

  File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\atri-oWE55YCE-py3.10\lib\site-packages\nonebot\drivers\fastapi.py", line 187, in run
    uvicorn.run(
    │       └ <function run at 0x00000153FCAE0CA0>
    └ <module 'uvicorn' from 'C:\\Users\\Administrator\\AppData\\Local\\pypoetry\\Cache\\virtualenvs\\atri-oWE55YCE-py3.10\\lib\\si...

  File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\atri-oWE55YCE-py3.10\lib\site-packages\uvicorn\main.py", line 569, in run
    server.run()
    │      └ <function Server.run at 0x00000153FCAE0E50>
    └ <uvicorn.server.Server object at 0x00000153894F6B00>

  File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\atri-oWE55YCE-py3.10\lib\site-packages\uvicorn\server.py", line 60, in run
    return asyncio.run(self.serve(sockets=sockets))
           │       │   │    │             └ None
           │       │   │    └ <function Server.serve at 0x00000153FCAE0EE0>
           │       │   └ <uvicorn.server.Server object at 0x00000153894F6B00>
           │       └ <function run at 0x00000153F9F47370>
           └ <module 'asyncio' from 'C:\\Program Files\\Python310\\lib\\asyncio\\__init__.py'>

  File "C:\Program Files\Python310\lib\asyncio\runners.py", line 44, in run
    return loop.run_until_complete(main)
           │    │                  └ <coroutine object Server.serve at 0x0000015389320F20>
           │    └ <function BaseEventLoop.run_until_complete at 0x00000153FA04D2D0>
           └ <ProactorEventLoop running=True closed=False debug=False>

  File "C:\Program Files\Python310\lib\asyncio\base_events.py", line 636, in run_until_complete
    self.run_forever()
    │    └ <function ProactorEventLoop.run_forever at 0x00000153FBC81C60>
    └ <ProactorEventLoop running=True closed=False debug=False>

  File "C:\Program Files\Python310\lib\asyncio\windows_events.py", line 321, in run_forever
    super().run_forever()

  File "C:\Program Files\Python310\lib\asyncio\base_events.py", line 603, in run_forever
    self._run_once()
    │    └ <function BaseEventLoop._run_once at 0x00000153FA04ED40>
    └ <ProactorEventLoop running=True closed=False debug=False>

  File "C:\Program Files\Python310\lib\asyncio\base_events.py", line 1906, in _run_once
    handle._run()
    │      └ <function Handle._run at 0x00000153F9FE2710>
    └ <Handle Task.task_wakeup(<_GatheringFu...plugin_cave']>)>

  File "C:\Program Files\Python310\lib\asyncio\events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
    │    │            │    │           │    └ <member '_args' of 'Handle' objects>
    │    │            │    │           └ <Handle Task.task_wakeup(<_GatheringFu...plugin_cave']>)>
    │    │            │    └ <member '_callback' of 'Handle' objects>
    │    │            └ <Handle Task.task_wakeup(<_GatheringFu...plugin_cave']>)>
    │    └ <member '_context' of 'Handle' objects>
    └ <Handle Task.task_wakeup(<_GatheringFu...plugin_cave']>)>

  File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\atri-oWE55YCE-py3.10\lib\site-packages\nonebot\message.py", line 141, in _check_matcher
    await _run_matcher(Matcher, bot, event, state, stack, dependency_cache)
          │            │        │    │      │      │      └ {<function Matcher.got.<locals>._key_getter at 0x00000153FDE811B0>: <Task finished name='Task-8826' coro=<Matcher.got.<locals...
          │            │        │    │      │      └ <contextlib.AsyncExitStack object at 0x000001538A7746A0>
          │            │        │    │      └ {'_prefix': {'command': None, 'raw_command': None, 'command_arg': None, 'command_start': None}}
          │            │        │    └ PrivateMessageEvent(time=1676720415, self_id=3467350972, post_type='message', sub_type='friend', user_id=2383615282, message_...
          │            │        └ Bot(type='OneBot V11', self_id='3467350972')
          │            └ Matcher(type='message', module=管理)
          └ <function _run_matcher at 0x00000153FC3B8E50>

> File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\atri-oWE55YCE-py3.10\lib\site-packages\nonebot\message.py", line 187, in _run_matcher
    await matcher.run(bot, event, state, stack, dependency_cache)
          │       │   │    │      │      │      └ {<function Matcher.got.<locals>._key_getter at 0x00000153FDE811B0>: <Task finished name='Task-8826' coro=<Matcher.got.<locals...
          │       │   │    │      │      └ <contextlib.AsyncExitStack object at 0x000001538A7746A0>
          │       │   │    │      └ {'_prefix': {'command': None, 'raw_command': None, 'command_arg': None, 'command_start': None}}
          │       │   │    └ PrivateMessageEvent(time=1676720415, self_id=3467350972, post_type='message', sub_type='friend', user_id=2383615282, message_...
          │       │   └ Bot(type='OneBot V11', self_id='3467350972')
          │       └ <function Matcher.run at 0x00000153FC2453F0>
          └ Matcher(type='message', module=管理)

  File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\atri-oWE55YCE-py3.10\lib\site-packages\nonebot\internal\matcher\matcher.py", line 732, in run
    await self.simple_run(bot, event, state, stack, dependency_cache)
          │    │          │    │      │      │      └ {<function Matcher.got.<locals>._key_getter at 0x00000153FDE811B0>: <Task finished name='Task-8826' coro=<Matcher.got.<locals...
          │    │          │    │      │      └ <contextlib.AsyncExitStack object at 0x000001538A7746A0>
          │    │          │    │      └ {'_prefix': {'command': None, 'raw_command': None, 'command_arg': None, 'command_start': None}}
          │    │          │    └ PrivateMessageEvent(time=1676720415, self_id=3467350972, post_type='message', sub_type='friend', user_id=2383615282, message_...
          │    │          └ Bot(type='OneBot V11', self_id='3467350972')
          │    └ <function Matcher.simple_run at 0x00000153FC245360>
          └ Matcher(type='message', module=管理)

  File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\atri-oWE55YCE-py3.10\lib\site-packages\nonebot\internal\matcher\matcher.py", line 707, in simple_run
    await handler(
          └ Dependent(call=_, parameterless=(Depends(Dependent(call=_key_getter)),))

  File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\atri-oWE55YCE-py3.10\lib\site-packages\nonebot\dependencies\__init__.py", line 108, in __call__
    return await cast(Callable[..., Awaitable[R]], self.call)(**values)
                 │    │             │         │    │    │       └ {'att': 'y', 'plugin_name': 'nonebot_plugin_cave'}
                 │    │             │         │    │    └ <function _ at 0x00000153FDE80820>
                 │    │             │         │    └ Dependent(call=_, parameterless=(Depends(Dependent(call=_key_getter)),))
                 │    │             │         └ ~R
                 │    │             └ typing.Awaitable
                 │    └ typing.Callable
                 └ <function cast at 0x00000153F9BCB130>

  File "C:\Users\Administrator\Desktop\atri (2) (3)\ATRI\plugins\manage\__init__.py", line 480, in _
    result = nbm.add_plugin()
             │   └ <function NonebotPluginManager.add_plugin at 0x00000153FDD125F0>
             └ <ATRI.plugins.manage.plugin.NonebotPluginManager object at 0x000001538A776350>

  File "C:\Users\Administrator\Desktop\atri (2) (3)\ATRI\plugins\manage\plugin.py", line 84, in add_plugin
    nonebot.load_plugin(self._plugin_name)
    │       │           │    └ 'nonebot_plugin_cave'
    │       │           └ <ATRI.plugins.manage.plugin.NonebotPluginManager object at 0x000001538A776350>
    │       └ <function load_plugin at 0x00000153FC1C2320>
    └ <module 'nonebot' from 'C:\\Users\\Administrator\\AppData\\Local\\pypoetry\\Cache\\virtualenvs\\atri-oWE55YCE-py3.10\\lib\\si...

  File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\atri-oWE55YCE-py3.10\lib\site-packages\nonebot\plugin\load.py", line 32, in load_plugin
    manager = PluginManager([module_path])
              │              └ 'nonebot_plugin_cave'
              └ <class 'nonebot.plugin.manager.PluginManager'>

  File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\atri-oWE55YCE-py3.10\lib\site-packages\nonebot\plugin\manager.py", line 52, in __init__
    self.prepare_plugins()
    │    └ <function PluginManager.prepare_plugins at 0x00000153FC2CBBE0>
    └ PluginManager(plugins={'nonebot_plugin_cave'}, search_path=set())

  File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\atri-oWE55YCE-py3.10\lib\site-packages\nonebot\plugin\manager.py", line 94, in prepare_plugins
    raise RuntimeError(

RuntimeError: Plugin already exists: nonebot_plugin_cave! Check your plugin name
ATRI | 02-18 19:40:23 | ERROR ATRI >> Error Track ID: ZbHmE6Fp
ATRI | 02-18 19:40:23 | INFO gocqhttp >> [3467350972] 发送好友 2383615282(2383615282)  的消息: [{"type":  ... (-995807344)

其提示为:该插件已存在 以及,请勿随意改动 plugins 文件夹、pyproject.toml 这两个文件