{"record":{"id":"ff4888919ab3cb44","repo":"langchain-ai/langgraph","slug":"encryption-file-not-found-resolved-from-path","errorCode":null,"errorMessage":"Encryption file not found: {resolved} (from {path_str})","messagePattern":"Encryption file not found: (.+?) \\(from (.+?)\\)","errorType":"exception","errorClass":"FileNotFoundError","httpStatus":null,"severity":"error","filePath":"libs/cli/langgraph_cli/config.py","lineNumber":982,"sourceCode":"        f\"Current dependencies: {config['dependencies']}\"\n    )\n\n\ndef _update_encryption_path(\n    config_path: pathlib.Path, config: Config, local_deps: LocalDeps\n) -> None:\n    \"\"\"Update encryption.path to use Docker container paths.\"\"\"\n    encryption_conf = config.get(\"encryption\")\n    if not encryption_conf or not (path_str := encryption_conf.get(\"path\")):\n        return\n\n    module_str, sep, attr_str = path_str.partition(\":\")\n    if not sep or not module_str.startswith(\".\"):\n        return  # Already validated or absolute path\n\n    resolved = config_path.parent / module_str\n    if not resolved.exists():\n        raise FileNotFoundError(\n            f\"Encryption file not found: {resolved} (from {path_str})\"\n        )\n    if not resolved.is_file():\n        raise IsADirectoryError(f\"Encryption path must be a file: {resolved}\")\n\n    # Check faux packages first (higher priority)\n    for faux_path, (_, destpath) in local_deps.faux_pkgs.items():\n        if resolved.is_relative_to(faux_path):\n            new_path = f\"{destpath}/{resolved.relative_to(faux_path)}:{attr_str}\"\n            encryption_conf[\"path\"] = new_path\n            return\n\n    # Check real packages\n    for real_path in local_deps.real_pkgs:\n        if resolved.is_relative_to(real_path):\n            new_path = (\n                f\"/deps/{real_path.name}/{resolved.relative_to(real_path)}:{attr_str}\"\n            )","sourceCodeStart":964,"sourceCodeEnd":1000,"githubUrl":"https://github.com/langchain-ai/langgraph/blob/38031739e551638e373fb553453256c23feeb41f/libs/cli/langgraph_cli/config.py#L964-L1000","documentation":"Error \"Encryption file not found: {resolved} (from {path_str})\" thrown in langchain-ai/langgraph.","triggerScenarios":"Thrown at libs/cli/langgraph_cli/config.py:982 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"38031739e551638e373fb553453256c23feeb41f","analyzedAt":"2026-08-26T18:02:49.312Z","schemaVersion":2},"datasetVersion":"2026-08-26T21:11:00.512Z"}