lss233 / chatgpt-mirai-qq-bot

🚀 一键部署!真正的 AI 聊天机器人!支持ChatGPT、文心一言、讯飞星火、Bing、Bard、ChatGLM、POE,多账号,人设调教,虚拟女仆、图片渲染、语音发送 | 支持 QQ、Telegram、Discord、微信 等平台
GNU Affero General Public License v3.0
13.25k stars 1.56k forks source link

启动失败:conflict target for graia.broadcast.interrupt:InterruptControl, graia.broadcast:Broadcast #1159

Open canguser opened 1 year ago

canguser commented 1 year ago

提交 issue 前,请先确认:

表现
20 12:18:35 hecs-397666 cbot-start.sh[1661672]: File "/usr/local/lib/python3.9/site-packages/creart/init.py", line 43, in add_creator 8月 20 12:18:35 hecs-397666 cbot-start.sh[1661672]: raise ValueError(f"conflict target for {', '.join(intersection)}") 8月 20 12:18:35 hecs-397666 cbot-start.sh[1661672]: ValueError: conflict target for graia.broadcast.interrupt:InterruptControl, graia.broadcast:Broadcast 8月 20 12:18:35 hecs-397666 systemd[1]: cbot.service: Main process exited, code=exited, status=1/FAILURE 8月 20 12:18:35 hecs-397666 systemd[1]: cbot.service: Failed with result 'exit-code'. 8月 20 12:18:35 hecs-397666 systemd[1]: cbot.service: Scheduled restart job, restart counter is at 5. 8月 20 12:18:35 hecs-397666 systemd[1]: Stopped Mirai Framework. 8月 20 12:18:35 hecs-397666 systemd[1]: cbot.service: Start request repeated too quickly. 8月 20 12:18:35 hecs-397666 systemd[1]: cbot.service: Failed with result 'exit-code'. 8月 20 12:18:35 hecs-397666 systemd[1]: Failed to start Mirai Framework.

运行环境:

复现步骤
描述你是如何触发这个 BUG 的

  1. 将git库更新到最新版本
  2. 更新依赖:pip3 install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/
  3. 运行
canguser commented 1 year ago

排查应该是:graia-ariadne==0.11.7 这个依赖更新导致的

Haibersut commented 1 year ago

https://github.com/lss233/chatgpt-mirai-qq-bot/issues/1134