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
root@mail:/opt/data/Paimon# nb paimon
██╗ ██╗████████╗████████╗██╗ ███████╗ ██████╗ █████╗ ██╗███╗ ███╗ ██████╗ ███╗ ██╗
██║ ██║╚══██╔══╝╚══██╔══╝██║ ██╔════╝ ██╔══██╗██╔══██╗██║████╗ ████║██╔═══██╗████╗ ██║
██║ ██║ ██║ ██║ ██║ █████╗ ██████╔╝███████║██║██╔████╔██║██║ ██║██╔██╗ ██║
██║ ██║ ██║ ██║ ██║ ██╔══╝ ██╔═══╝ ██╔══██║██║██║╚██╔╝██║██║ ██║██║╚██╗██║
███████╗██║ ██║ ██║ ███████╗███████╗ ██║ ██║ ██║██║██║ ╚═╝ ██║╚██████╔╝██║ ╚████║
╚══════╝╚═╝ ╚═╝ ╚═╝ ╚══════╝╚══════╝ ╚═╝ ╚═╝ ╚═╝╚═╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝
欢迎来到小派蒙的Nonebot CLI 插件!
[?] 你想要进行什么操作? 运行命令或启动小派蒙Bot.
使用虚拟环境: /opt/data/Paimon/.venv/bin/python
01-24 11:44:45 [SUCCESS] nonebot | NoneBot is initializing...
01-24 11:44:45 [INFO] nonebot | Current Env: prod
01-24 11:44:46 [SUCCESS] nonebot | Succeeded to load plugin "nonebot_plugin_gocqhttp"
01-24 11:44:46 [ERROR] nonebot | Failed to import "LittlePaimon"
Traceback (most recent call last):
File "bot.py", line 28, in
nonebot.load_plugin("LittlePaimon")
File "/opt/data/Paimon/.venv/lib/python3.8/site-packages/nonebot/plugin/load.py", line 39, in load_plugin
return manager.load_plugin(module_path)
File "/opt/data/Paimon/.venv/lib/python3.8/site-packages/nonebot/plugin/manager.py", line 142, in load_plugin
module = importlib.import_module(name)
File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "/opt/data/Paimon/.venv/lib/python3.8/site-packages/nonebot/plugin/manager.py", line 242, in exec_module
super().exec_module(module)
File "", line 848, in exec_module
File "", line 219, in _call_with_frames_removed
File "/opt/data/Paimon/LittlePaimon/init.py", line 5, in
from LittlePaimon import database, web
File "/opt/data/Paimon/LittlePaimon/database/init.py", line 6, in
from LittlePaimon.utils import scheduler, logger as my_logger
File "/opt/data/Paimon/LittlePaimon/utils/init.py", line 5, in
from .scheduler import scheduler
File "/opt/data/Paimon/LittlePaimon/utils/scheduler.py", line 24, in
scheduler = AsyncIOScheduler()
File "/opt/data/Paimon/.venv/lib/python3.8/site-packages/apscheduler/schedulers/base.py", line 97, in init
self.configure(gconfig, **options)
File "/opt/data/Paimon/.venv/lib/python3.8/site-packages/apscheduler/schedulers/base.py", line 141, in configure
self._configure(config)
File "/opt/data/Paimon/.venv/lib/python3.8/site-packages/apscheduler/schedulers/asyncio.py", line 46, in _configure
super(AsyncIOScheduler, self)._configure(config)
File "/opt/data/Paimon/.venv/lib/python3.8/site-packages/apscheduler/schedulers/base.py", line 711, in _configure
self.timezone = astimezone(config.pop('timezone', None)) or get_localzone()
File "/opt/data/Paimon/.venv/lib/python3.8/site-packages/tzlocal/unix.py", line 219, in get_localzone
_cache_tz = _get_localzone()
File "/opt/data/Paimon/.venv/lib/python3.8/site-packages/tzlocal/unix.py", line 180, in _get_localzone
tzname = _get_localzone_name(_root)
File "/opt/data/Paimon/.venv/lib/python3.8/site-packages/tzlocal/unix.py", line 159, in _get_localzone_name
raise zoneinfo.ZoneInfoNotFoundError(message)
backports.zoneinfo._common.ZoneInfoNotFoundError: 'Multiple conflicting time zone configurations found:\n/etc/timezone: Etc/UTC\n/etc/localtime is a symlink to: Asia/Shanghai\nFix the configuration, or set the time zone in a TZ environment variable.\n'
01-24 11:44:46 [WARNING] main | Always use nb run to start the bot instead of manually running!
01-24 11:44:46 [SUCCESS] nonebot | Running NoneBot...
01-24 11:44:46 [INFO] uvicorn | Started server process [479565]
01-24 11:44:46 [INFO] uvicorn | Waiting for application startup.
01-24 11:44:46 [INFO] nonebot_plugin_gocqhttp | Startup complete, Web UI has served to http://0.0.0.0:13579/go-cqhttp/
01-24 11:44:46 [INFO] uvicorn | Application startup complete.
01-24 11:44:46 [INFO] uvicorn | Uvicorn running on http://0.0.0.0:13579 (Press CTRL+C to quit)
The text was updated successfully, but these errors were encountered:
'Multiple conflicting time zone configurations found:\n/etc/timezone: Etc/UTC\n/etc/localtime is a symlink to: Asia/Shanghai\nFix the configuration, or set the time zone in a TZ environment variable.
确认
nb paimon install
更新依赖库环境信息
问题描述
小派蒙启动报错,LittlePaimon/login 无法访问,go-cqhttp页面正常
问题截图
The text was updated successfully, but these errors were encountered: