Skip to content

[其他] 运行依赖同步失败后使用 input 等待,导致无人值守启动永久阻塞 #2627

Description

@kawayiYokami

问题类型

Bug

问题范围

其他

代码版本

当前 main 代码审查;现场启动器为 v2.4.6。

问题描述

sync_dependencies() 在依赖同步失败后调用 input() 等待回车,再 sys.exit(1)。从桌面快捷方式、其他进程、无标准输入环境启动时,这会形成无法恢复的等待。

期望行为

移除控制台输入等待。依赖同步应自动切换下载源或重试;最终失败时保留已有可运行环境,提供非阻塞的恢复界面和可复制诊断信息。

相关代码

src/one_dragon/devtools/python_launcher.py:sync_dependencies()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions