Skip to content

[Bug] 当插件和机器人均在开启状态下尝试删除插件会导致持久化数据删除失败并且没有任何醒目的UI提示 #7558

@jin6yang

Description

@jin6yang

What happened / 发生了什么

如标题所示

Reproduce / 如何复现?

当插件和机器人均在开启状态下
尝试删除插件
在日志看到持久化数据删除失败
在这之前没有任何醒目的UI提示

AstrBot version, deployment method (e.g., Windows Docker Desktop deployment), provider used, and messaging platform used. / AstrBot 版本、部署方式(如 Windows Docker Desktop 部署)、使用的提供商、使用的消息平台适配器

AstrBot Desktop 4.23.1

OS

Windows

Logs / 报错日志

[Core] [WARN] [v4.23.1] [star.star_manager:1276]: 删除插件持久化数据失败 (plugin_data, astrbot_plugin_qq_group_daily_analysis): [WinError 32] 另一个程序正在使用此文件,进程无法访问。: 'C:\\%USERPROFILE%\\.astrbot\\data\\plugin_data\\astrbot_plugin_qq_group_daily_analysis\\avatar\\cache.db'

Are you willing to submit a PR? / 你愿意提交 PR 吗?

  • Yes!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:coreThe bug / feature is about astrbot's core, backendbugSomething isn't workingfeature:pluginThe bug / feature is about AstrBot plugin system.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions