Skip to content

[Bug] 项目删除后,在设置里完全删除后,无法新建项目 #747

Description

@msbajj

Affected Component

Backend (Python/FastAPI)

Description

当在工作台删除项目后,在设置里继续删除后,无法新建项目,保存项目报错,POST /api/project 返回 500

Steps to Reproduce

当在工作台删除项目后,在设置里继续删除后,无法新建项目,保存项目报错,POST /api/project 返回 500

Logs / Error Messages

WARN  2026-09-10T09:27:19 +0ms service=server error=No module named 'flockspro' flockspro.policy.fallback.import_failed
ERROR 2026-09-10T09:27:26 +669ms service=plugin path=/Users/mmm/flocks/.flocks/plugins/tools/device/sangfor_edr_asset_inventory.yaml error=Handler script not found: /Users/mmm/flocks/.flocks/plugins/tools/device/sangfor_edr.handler.py plugin.yaml_factory_failed
ERROR 2026-09-10T09:37:48 +1063ms service=plugin path=/Users/mmm/flocks/.flocks/plugins/tools/device/sangfor_edr_asset_inventory.yaml error=Handler script not found: /Users/mmm/flocks/.flocks/plugins/tools/device/sangfor_edr.handler.py plugin.yaml_factory_failed
WARN  2026-09-10T09:41:09 +55ms service=mcp.server server=ida error=1 validation error for McpResource
uri
  Input should be a valid string [type=string_type, input_value=AnyUrl('iida://files'), input_type=AnyUrl]
    For further information visit https://errors.pydantic.dev/2.12/v/string_type mcp.resources_unavailable
ERROR 2026-09-10T09:42:50 +8ms service=mcp.client server=ida error=All connection attempts failed mcp.client.owner_task_error
ERROR 2026-09-10T09:42:50 +1ms service=mcp.client server=ida tool=list_files error=Connection lost: ida: All connection attempts failed mcp.client.call_error
ERROR 2026-09-10T09:42:50 +0ms service=mcp.adapter server=ida tool=list_files error=Connection lost: ida: All connection attempts failed mcp.tool.exception
ERROR 2026-09-10T09:44:27 +0ms service=mcp.client server=ida tool=list_files error=Client not connected: ida: All connection attempts failed mcp.client.call_error
ERROR 2026-09-10T09:44:27 +1ms service=mcp.adapter server=ida tool=list_files error=Client not connected: ida: All connection attempts failed mcp.tool.exception
ERROR 2026-09-10T09:47:09 +2ms service=mcp.client server=ida tool=list_files error=Client not connected: ida: All connection attempts failed mcp.client.call_error
ERROR 2026-09-10T09:47:09 +1ms service=mcp.adapter server=ida tool=list_files error=Client not connected: ida: All connection attempts failed mcp.tool.exception
WARN  2026-09-10T09:47:17 +49ms service=mcp.server server=ida error=1 validation error for McpResource
uri
  Input should be a valid string [type=string_type, input_value=AnyUrl('iida://files'), input_type=AnyUrl]
    For further information visit https://errors.pydantic.dev/2.12/v/string_type mcp.resources_unavailable
WARN  2026-09-10T10:08:49 +5ms service=server path=/api/session/ses_f76ed80a3ffexa14yN6oVrMHHb status=404 detail=Session ses_f76ed80a3ffexa14yN6oVrMHHb not found http.error
WARN  2026-09-10T14:10:21 +21ms service=server path=/api/session/ses_f77090b8cffeCUDOqV01XHgPxw/message status=404 detail=Session ses_f77090b8cffeCUDOqV01XHgPxw not found http.error
WARN  2026-09-10T14:10:21 +10ms service=server path=/api/session/ses_f77090b8cffeCUDOqV01XHgPxw/prompt_queue status=404 detail=Session ses_f77090b8cffeCUDOqV01XHgPxw not found http.error
WARN  2026-09-10T14:10:21 +14ms service=server path=/api/question/session/ses_f77090b8cffeCUDOqV01XHgPxw/pending status=404 detail=Session not found http.error
ERROR 2026-09-10T14:10:23 +1485ms service=plugin path=/Users/mmm/flocks/.flocks/plugins/tools/device/sangfor_edr_asset_inventory.yaml error=Handler script not found: /Users/mmm/flocks/.flocks/plugins/tools/device/sangfor_edr.handler.py plugin.yaml_factory_failed
ERROR 2026-09-10T14:15:01 +1062ms service=plugin path=/Users/mmm/flocks/.flocks/plugins/tools/device/sangfor_edr_asset_inventory.yaml error=Handler script not found: /Users/mmm/flocks/.flocks/plugins/tools/device/sangfor_edr.handler.py plugin.yaml_factory_failed
ERROR 2026-09-10T14:15:13 +14ms service=mcp.client server=ida error=All connection attempts failed mcp.client.all_transports_failed
ERROR 2026-09-10T14:15:13 +1ms service=mcp.server server=ida error=Connection failed: ida: All connection attempts failed mcp.connect_failed
ERROR 2026-09-10T14:15:13 +0ms service=mcp.server server=ida error=Connection failed: ida: All connection attempts failed mcp.connect_error
ERROR 2026-09-10T14:15:13 +0ms service=server path=/api/mcp/ida/connect status=500 detail=Connection failed: ida: All connection attempts failed http.error
ERROR 2026-09-10T14:15:13 +0ms service=mcp.client server=ida error=Connection failed: ida: All connection attempts failed mcp.client.owner_task_error
ERROR 2026-09-10T14:33:25 +1718ms service=routes.project error=[Errno 2] No such file or directory: '/Users/mmm/Downloads/data-36c69e572362b626561508afa9c1da77_88ca43' project.create.error
ERROR 2026-09-10T14:33:25 +1ms service=server path=/api/project status=500 detail=[Errno 2] No such file or directory: '/Users/mmm/Downloads/data-36c69e572362b626561508afa9c1da77_88ca43' http.error
ERROR 2026-09-10T14:33:30 +4315ms service=routes.project error=[Errno 2] No such file or directory: '/Users/mmm/Downloads/data-36c69e572362b626561508afa9c1da77_88ca43' project.create.error
ERROR 2026-09-10T14:33:30 +1ms service=server path=/api/project status=500 detail=[Errno 2] No such file or directory: '/Users/mmm/Downloads/data-36c69e572362b626561508afa9c1da77_88ca43' http.error
WARN  2026-09-10T14:34:18 +9469ms service=server path=/api/project/folders status=400 detail=Directory does not exist http.error
ERROR 2026-09-10T14:34:28 +1819ms service=routes.project error=[Errno 2] No such file or directory: '/Users/mmm/Downloads/data-36c69e572362b626561508afa9c1da77_88ca43' project.create.error
ERROR 2026-09-10T14:34:28 +0ms service=server path=/api/project status=500 detail=[Errno 2] No such file or directory: '/Users/mmm/Downloads/data-36c69e572362b626561508afa9c1da77_88ca43' http.error
ERROR 2026-09-10T14:34:34 +5732ms service=routes.project error=[Errno 2] No such file or directory: '/Users/mmm/Downloads/data-36c69e572362b626561508afa9c1da77_88ca43' project.create.error
ERROR 2026-09-10T14:34:34 +0ms service=server path=/api/project status=500 detail=[Errno 2] No such file or directory: '/Users/mmm/Downloads/data-36c69e572362b626561508afa9c1da77_88ca43' http.error
ERROR 2026-09-10T14:38:14 +4776ms service=routes.project error=[Errno 2] No such file or directory: '/Users/mmm/Downloads/data-36c69e572362b626561508afa9c1da77_88ca43' project.create.error
ERROR 2026-09-10T14:38:14 +0ms service=server path=/api/project status=500 detail=[Errno 2] No such file or directory: '/Users/mmm/Downloads/data-36c69e572362b626561508afa9c1da77_88ca43' http.error
WARN  2026-09-10T14:40:11 +21ms service=mcp.server server=ida error=1 validation error for McpResource
uri
  Input should be a valid string [type=string_type, input_value=AnyUrl('iida://files'), input_type=AnyUrl]
    For further information visit https://errors.pydantic.dev/2.12/v/string_type mcp.resources_unavailable
ERROR 2026-09-10T14:40:12 +1032ms service=plugin path=/Users/mmm/flocks/.flocks/plugins/tools/device/sangfor_edr_asset_inventory.yaml error=Handler script not found: /Users/mmm/flocks/.flocks/plugins/tools/device/sangfor_edr.handler.py plugin.yaml_factory_failed
WARN  2026-09-10T14:46:51 +1632ms service=question-handler session=ses_f75f944c7ffe9Rk93563Zc5JkK elapsed=300.0 question.timeout

Flocks Version

v2026.9.9

Operating System

macOS

Installation Method

uv / pip install

Additional Context

No response

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions