{
  "id": "ros2/rosbag2-play-missing-storage-plugin",
  "signature": "ros2 bag play: Could not open bag 'my_bag' - storage plugin 'mcap' not found",
  "signature_zh": "ros2 bag play：无法打开包'my_bag' - 未找到存储插件'mcap'",
  "regex": "Could not open bag.*storage plugin.*not found",
  "domain": "ros2",
  "category": "resource_error",
  "subcategory": null,
  "root_cause": "The rosbag2 storage plugin for the bag format (e.g., mcap, sqlite3) is not installed, so the bag file cannot be read.",
  "root_cause_type": "generic",
  "root_cause_zh": "用于包格式（例如mcap、sqlite3）的rosbag2存储插件未安装，因此无法读取包文件。",
  "versions": [
    {
      "version": "Humble",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "Iron",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "Jazzy",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "Rolling",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "Reinstalling rosbag2 package without the storage plugin",
      "why_fails": "rosbag2 core doesn't include all storage plugins; they must be installed separately.",
      "fail_rate": 0.7,
      "condition": "",
      "sources": []
    },
    {
      "action": "Converting the bag file manually with a hex editor",
      "why_fails": "Bag files are structured binary formats; manual editing corrupts them.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    },
    {
      "action": "Setting ROS_DOMAIN_ID to a different value",
      "why_fails": "Domain ID affects discovery, not storage plugin loading.",
      "fail_rate": 0.2,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Install the missing storage plugin using apt.",
      "success_rate": 0.95,
      "how": "Install the missing storage plugin using apt.",
      "condition": "",
      "sources": []
    },
    {
      "action": "Check which storage plugins are available and use a supported format.",
      "success_rate": 0.9,
      "how": "Check which storage plugins are available and use a supported format.",
      "condition": "",
      "sources": []
    },
    {
      "action": "Re-record the bag with a known working storage plugin.",
      "success_rate": 0.85,
      "how": "Re-record the bag with a known working storage plugin.",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "Install the missing storage plugin using apt.",
    "Check which storage plugins are available and use a supported format.",
    "Re-record the bag with a known working storage plugin."
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://github.com/ros2/rosbag2/tree/rolling/rosbag2_storage_mcap",
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.9,
  "fix_success_rate": 0.95,
  "resolvable": "true",
  "first_seen": "2023-09-12",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}