{"record":{"id":"bbc98531252299e4","repo":"github/spec-kit","slug":"bundled-community-catalog-not-found-path","errorCode":null,"errorMessage":"Bundled community catalog not found: {path}","messagePattern":"Bundled community catalog not found: (.+?)","errorType":"exception","errorClass":"BundlerError","httpStatus":null,"severity":"error","filePath":"src/specify_cli/bundler/services/adapters.py","lineNumber":110,"sourceCode":"    # Check hostname, not netloc: netloc is truthy for host-less URLs like\n    # \"https://:8080\" or \"https://user@...\", so requiring netloc would let\n    # those through even though they carry no host. hostname is None in those\n    # cases. Mirrors the fix in ``specify_cli.catalogs`` (#3210).\n    if not hostname:\n        raise BundlerError(\n            f\"Catalog '{source_id}' URL must be a valid URL with a host: {url}\"\n        )\n\n\ndef _load_packaged_community_catalog() -> dict:\n    core_pack = _locate_core_pack()\n    path = (\n        core_pack / \"bundles\" / \"catalog.community.json\"\n        if core_pack is not None\n        else _repo_root() / \"bundles\" / \"catalog.community.json\"\n    )\n    if not path.is_file():\n        raise BundlerError(f\"Bundled community catalog not found: {path}\")\n    return loads_json(path.read_text(encoding=\"utf-8\"), origin=str(path))\n\n\ndef make_catalog_fetcher(*, allow_network: bool = True):\n    \"\"\"Return a fetcher callable suitable for :class:`CatalogStack`.\n\n    When *allow_network* is False, ``http(s)://`` sources raise instead of\n    touching the network (used by offline tests and ``--offline`` flows).\n    \"\"\"\n\n    def fetch(source: CatalogSource) -> dict:\n        url = source.url\n        try:\n            parsed = urlparse(url)\n            # Keep malformed authorities and ports inside the BundlerError\n            # contract even when a config file was edited by hand.\n            _ = parsed.port\n        except ValueError:","sourceCodeStart":92,"sourceCodeEnd":128,"githubUrl":"https://github.com/github/spec-kit/blob/bf88c9f9a82fa370c7a7257aa2b3cf10b457b65c/src/specify_cli/bundler/services/adapters.py#L92-L128","documentation":"Error \"Bundled community catalog not found: {path}\" thrown in github/spec-kit.","triggerScenarios":"Thrown at src/specify_cli/bundler/services/adapters.py:110 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Reinstall spec-kit so the bundled community catalog is restored, or remove the builtin:// catalog source from the config."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"bf88c9f9a82fa370c7a7257aa2b3cf10b457b65c","analyzedAt":"2026-08-14T19:43:37.150Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}