You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
报错截图 (python的报错请截最下面)
“Started reloader with process [100748].
04-15 13:47:14 [SUCCESS] nonebot | NoneBot is initializing...
04-15 13:47:14 [INFO] nonebot | Current Env: prod
04-15 13:47:15 [SUCCESS] nonebot | Succeeded to load plugin "echo" from "nonebot.plugins.echo"
04-15 13:47:15 [SUCCESS] nonebot | Succeeded to load plugin "single_session" from "nonebot.plugins.single_session"
04-15 13:47:15 [ERROR] nonebot | Failed to import "nonebot_plugin_admin"
Traceback (most recent call last):
File "", line 14, in
File "E:\Bot\nb\nbot.venv\Lib\site-packages\nonebot\plugin\load.py", line 125, in load_from_toml
return load_all_plugins(plugins, plugin_dirs)
File "E:\Bot\nb\nbot.venv\Lib\site-packages\nonebot\plugin\load.py", line 62, in load_all_plugins
return manager.load_all_plugins()
File "E:\Bot\nb\nbot.venv\Lib\site-packages\nonebot\plugin\manager.py", line 175, in load_all_plugins
return set(
File "E:\Bot\nb\nbot.venv\Lib\site-packages\nonebot\plugin\manager.py", line 176, in
filter(None, (self.load_plugin(name) for name in self.available_plugins))
File "E:\Bot\nb\nbot.venv\Lib\site-packages\nonebot\plugin\manager.py", line 141, in load_plugin
module = importlib.import_module(name)
File "C:\Users\502\AppData\Local\Programs\Python\Python311\Lib\importlib_init_.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1206, in _gcd_import
File "", line 1178, in _find_and_load
File "", line 1149, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "E:\Bot\nb\nbot.venv\Lib\site-packages\nonebot\plugin\manager.py", line 240, in exec_module
super().exec_module(module)
File "", line 940, in exec_module
File "", line 241, in call_with_frames_removed
File "E:\Bot\nb\nbot.venv\Lib\site-packages\nonebot_plugin_admin_init.py", line 11, in
from . import (
File "E:\Bot\nb\nbot.venv\Lib\site-packages\nonebot_plugin_admin\broadcast.py", line 35, in
json_upload(broadcast_avoid_path, broadcast_config)
File "E:\Bot\nb\nbot.venv\Lib\site-packages\nonebot_plugin_admin\utils.py", line 381, in json_upload
with open(path, mode='w', encoding='utf-8') as c:
FileNotFoundError: [Errno 2] No such file or directory: 'config\广播排除群聊.json'
04-15 13:47:15 [SUCCESS] nonebot | Running NoneBot...
04-15 13:47:15 [INFO] logging | Started server process [100964]
04-15 13:47:15 [INFO] logging | Waiting for application startup.
04-15 13:47:15 [INFO] logging | Application startup complete.
04-15 13:47:15 [INFO] logging | Uvicorn running on http://127.0.0.1:1236 (Press CTRL+C to quit)
04-15 13:47:18 [INFO] logging | ('127.0.0.1', 58864) - "WebSocket /onebot/v11/ws/" [accepted]”
环境
win11 py 3.11.1 nb 2.0.0rc4
其他内容
...
The text was updated successfully, but these errors were encountered:
描述 bug
插件无法运行
如何复现
报错截图 (python的报错请截最下面)
“Started reloader with process [100748].
04-15 13:47:14 [SUCCESS] nonebot | NoneBot is initializing...
04-15 13:47:14 [INFO] nonebot | Current Env: prod
04-15 13:47:15 [SUCCESS] nonebot | Succeeded to load plugin "echo" from "nonebot.plugins.echo"
04-15 13:47:15 [SUCCESS] nonebot | Succeeded to load plugin "single_session" from "nonebot.plugins.single_session"
04-15 13:47:15 [ERROR] nonebot | Failed to import "nonebot_plugin_admin"
Traceback (most recent call last):
File "", line 14, in
File "E:\Bot\nb\nbot.venv\Lib\site-packages\nonebot\plugin\load.py", line 125, in load_from_toml
return load_all_plugins(plugins, plugin_dirs)
File "E:\Bot\nb\nbot.venv\Lib\site-packages\nonebot\plugin\load.py", line 62, in load_all_plugins
return manager.load_all_plugins()
File "E:\Bot\nb\nbot.venv\Lib\site-packages\nonebot\plugin\manager.py", line 175, in load_all_plugins
return set(
File "E:\Bot\nb\nbot.venv\Lib\site-packages\nonebot\plugin\manager.py", line 176, in
filter(None, (self.load_plugin(name) for name in self.available_plugins))
环境
win11 py 3.11.1 nb 2.0.0rc4
其他内容
...
The text was updated successfully, but these errors were encountered: