{
  "id": "python/sqlalchemy-missing-alembic-config",
  "signature": "alembic.util.exc.CommandError: No config file 'alembic.ini' found, or file has no '[alembic]' section",
  "signature_zh": "未找到配置文件 'alembic.ini'，或文件没有 '[alembic]' 部分",
  "regex": "alembic\\.util\\.exc\\.CommandError:\\ No\\ config\\ file\\ 'alembic\\.ini'\\ found,\\ or\\ file\\ has\\ no\\ '\\[alembic\\]'\\ section",
  "domain": "python",
  "category": "config_error",
  "subcategory": null,
  "root_cause": "Alembic is not initialized in the project, or the config file is missing/incomplete.",
  "root_cause_type": "generic",
  "root_cause_zh": "项目未初始化 Alembic，或配置文件缺失/不完整。",
  "versions": [
    {
      "version": "3.x",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "May create default config but not custom settings.",
      "fail_rate": 0.4,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Missing required sections cause parsing errors.",
      "fail_rate": 0.6,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.9,
      "how": "alembic init alembic\n# Then configure alembic.ini with database URL",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": null,
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.87,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-12-01",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}