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
03-14 04:45:50 [SUCCESS] nonebot | Succeeded to load plugin "Paimon_CloudGenshin" from "LittlePaimon.plugins.Paimon_CloudGenshin"
03-14 04:45:51 [SUCCESS] nonebot | Succeeded to load plugin "Paimon_Gacha_Log" from "LittlePaimon.plugins.Paimon_Gacha_Log"
03-14 04:45:52 [ERROR] nonebot | Failed to import "Learning_Chat"
Traceback (most recent call last):
File "C:\Users\Server\Desktop\bot\little paimeng\LittlePaimony\bot.py", line 28, in
nonebot.load_plugin("LittlePaimon")
File "C:\Users\Server\Desktop\bot\little paimeng\LittlePaimony.venv\Lib\site-packages\nonebot\plugin\load.py", line 37, in load_plugin
return manager.load_plugin(module_path)
File "C:\Users\Server\Desktop\bot\little paimeng\LittlePaimony.venv\Lib\site-packages\nonebot\plugin\manager.py", line 141, in load_plugin
module = importlib.import_module(name)
File "C:\Users\Server\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 "C:\Users\Server\Desktop\bot\little paimeng\LittlePaimony.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 "C:\Users\Server\Desktop\bot\little paimeng\LittlePaimony\LittlePaimon_init.py", line 46, in
load_plugins(str(Path(file).parent / 'plugins'))
File "C:\Users\Server\Desktop\bot\little paimeng\LittlePaimony.venv\Lib\site-packages\nonebot\plugin\load.py", line 48, in load_plugins
return manager.load_all_plugins()
File "C:\Users\Server\Desktop\bot\little paimeng\LittlePaimony.venv\Lib\site-packages\nonebot\plugin\manager.py", line 175, in load_all_plugins
return set(
File "C:\Users\Server\Desktop\bot\little paimeng\LittlePaimony.venv\Lib\site-packages\nonebot\plugin\manager.py", line 176, in
filter(None, (self.load_plugin(name) for name in self.available_plugins))
File "C:\Users\Server\Desktop\bot\little paimeng\LittlePaimony.venv\Lib\site-packages\nonebot\plugin\manager.py", line 145, in load_plugin
module = importlib.import_module(
File "C:\Users\Server\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 "C:\Users\Server\Desktop\bot\little paimeng\LittlePaimony.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 "C:\Users\Server\Desktop\bot\little paimeng\LittlePaimony\LittlePaimon\plugins\Learning_Chat_init.py", line 16, in
from . import web_api, web_page
File "C:\Users\Server\Desktop\bot\little paimeng\LittlePaimony\LittlePaimon\plugins\Learning_Chat\web_page.py", line 406, in
listItem=AmisList.Item(body=[AmisList.Item.ListBodyField(name="msg")]),
AttributeError: type object 'Item' has no attribute 'ListBodyField'
03-14 04:45:52 [SUCCESS] nonebot | Succeeded to load plugin "Genshin_Calendar" from "LittlePaimon.plugins.Genshin_Calendar"
03-14 04:45:52 [SUCCESS] nonebot | Succeeded to load plugin "plugin_manager" from "LittlePaimon.plugins.plugin_manager"
03-14 04:45:52 [SUCCESS] nonebot | Succeeded to load plugin "news60s" from "LittlePaimon.plugins.news60s"
03-14 04:45:52 [ERROR] nonebot | Failed to import "star_rail_info"
Traceback (most recent call last):
File "C:\Users\Server\Desktop\bot\little paimeng\LittlePaimony\bot.py", line 28, in
nonebot.load_plugin("LittlePaimon")
File "C:\Users\Server\Desktop\bot\little paimeng\LittlePaimony.venv\Lib\site-packages\nonebot\plugin\load.py", line 37, in load_plugin
return manager.load_plugin(module_path)
File "C:\Users\Server\Desktop\bot\little paimeng\LittlePaimony.venv\Lib\site-packages\nonebot\plugin\manager.py", line 141, in load_plugin
module = importlib.import_module(name)
File "C:\Users\Server\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 "C:\Users\Server\Desktop\bot\little paimeng\LittlePaimony.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 "C:\Users\Server\Desktop\bot\little paimeng\LittlePaimony\LittlePaimon_init.py", line 46, in
load_plugins(str(Path(file).parent / 'plugins'))
File "C:\Users\Server\Desktop\bot\little paimeng\LittlePaimony.venv\Lib\site-packages\nonebot\plugin\load.py", line 48, in load_plugins
return manager.load_all_plugins()
File "C:\Users\Server\Desktop\bot\little paimeng\LittlePaimony.venv\Lib\site-packages\nonebot\plugin\manager.py", line 175, in load_all_plugins
return set(
File "C:\Users\Server\Desktop\bot\little paimeng\LittlePaimony.venv\Lib\site-packages\nonebot\plugin\manager.py", line 176, in
filter(None, (self.load_plugin(name) for name in self.available_plugins))
File "C:\Users\Server\Desktop\bot\little paimeng\LittlePaimony.venv\Lib\site-packages\nonebot\plugin\manager.py", line 145, in load_plugin
module = importlib.import_module(
File "C:\Users\Server\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 "C:\Users\Server\Desktop\bot\little paimeng\LittlePaimony.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 "C:\Users\Server\Desktop\bot\little paimeng\LittlePaimony\LittlePaimon\plugins\star_rail_info_init.py", line 5, in
from nonebot.adapters.onebot.utils import rich_unescape
ImportError: cannot import name 'rich_unescape' from 'nonebot.adapters.onebot.utils' (C:\Users\Server\Desktop\bot\little paimeng\LittlePaimony.venv\Lib\site-packages\nonebot\adapters\onebot\utils.py)
03-14 04:45:52 [SUCCESS] nonebot | Succeeded to load plugin "Paimon_Wiki" from "LittlePaimon.plugins.Paimon_Wiki"
03-14 04:45:52 [SUCCESS] nonebot | Succeeded to load plugin "Paimon_DailyNote" from "LittlePaimon.plugins.Paimon_Dail
The text was updated successfully, but these errors were encountered:
ImportError: cannot import name 'rich_unescape' from 'nonebot.adapters.onebot.utils' (C:\Users\Server\Desktop\bot\little paimeng\LittlePaimony.venv\Lib\site-packages\nonebot\adapters\onebot\utils.py)
确认
nb paimon install
更新依赖库环境信息
问题描述
插件“星铁面板”未加载,不可用
问题截图
复现步骤[可选]
03-14 04:45:50 [SUCCESS] nonebot | Succeeded to load plugin "Paimon_CloudGenshin" from "LittlePaimon.plugins.Paimon_CloudGenshin"
03-14 04:45:51 [SUCCESS] nonebot | Succeeded to load plugin "Paimon_Gacha_Log" from "LittlePaimon.plugins.Paimon_Gacha_Log"
03-14 04:45:52 [ERROR] nonebot | Failed to import "Learning_Chat"
Traceback (most recent call last):
File "C:\Users\Server\Desktop\bot\little paimeng\LittlePaimony\bot.py", line 28, in
nonebot.load_plugin("LittlePaimon")
File "C:\Users\Server\Desktop\bot\little paimeng\LittlePaimony.venv\Lib\site-packages\nonebot\plugin\load.py", line 37, in load_plugin
return manager.load_plugin(module_path)
File "C:\Users\Server\Desktop\bot\little paimeng\LittlePaimony.venv\Lib\site-packages\nonebot\plugin\manager.py", line 141, in load_plugin
module = importlib.import_module(name)
File "C:\Users\Server\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 "C:\Users\Server\Desktop\bot\little paimeng\LittlePaimony.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 "C:\Users\Server\Desktop\bot\little paimeng\LittlePaimony\LittlePaimon_init.py", line 46, in
load_plugins(str(Path(file).parent / 'plugins'))
File "C:\Users\Server\Desktop\bot\little paimeng\LittlePaimony.venv\Lib\site-packages\nonebot\plugin\load.py", line 48, in load_plugins
return manager.load_all_plugins()
File "C:\Users\Server\Desktop\bot\little paimeng\LittlePaimony.venv\Lib\site-packages\nonebot\plugin\manager.py", line 175, in load_all_plugins
return set(
File "C:\Users\Server\Desktop\bot\little paimeng\LittlePaimony.venv\Lib\site-packages\nonebot\plugin\manager.py", line 176, in
filter(None, (self.load_plugin(name) for name in self.available_plugins))
The text was updated successfully, but these errors were encountered: