Skip to content

模型配置异常造成软件崩溃 #31

Description

@NingNing0111

问题复现

模型名称清空,配置自动保存,此时软件崩溃。

Image

模型配置自动关闭
Image

Image

因为模型为空,导致软件启动时,配置解析异常。

临时解决方案(windows)

  • {用户目录}\AppData\Roaming\me.pgthinker.fj\app_config.yaml 中手动将模型名称设置上,再打开软件。
Image

后续方案

配置自动保存没有进行校验,容易造成各种问题,建议手动保存配置,保存配置前校验配置表单,符合规范。

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