{"record":{"id":"1cb7a11c993248ff","repo":"calesthio/OpenMontage","slug":"local-reference-image-not-found-path-1cb7a1","errorCode":null,"errorMessage":"Local reference image not found: {path}","messagePattern":"Local reference image not found: (.+?)","errorType":"validation","errorClass":"FileNotFoundError","httpStatus":null,"severity":"error","filePath":"tools/video/veo_video.py","lineNumber":428,"sourceCode":"                last_image = _get_image(\n                    inputs.get(\"last_frame_url\"), inputs.get(\"last_frame_path\")\n                )\n                if not image_obj or not last_image:\n                    return ToolResult(\n                        success=False,\n                        error=\"first_last_frame_to_video requires first_frame_url/path and last_frame_url/path\",\n                    )\n                config.last_frame = _to_sdk_image(last_image)\n                sdk_image = _to_sdk_image(image_obj)\n\n            elif operation == \"reference_to_video\":\n                ref_images = []\n                image_urls = list(inputs.get(\"reference_image_urls\") or [])\n                image_paths = list(inputs.get(\"reference_image_paths\") or [])\n\n                for path in image_paths:\n                    if not os.path.exists(path):\n                        raise FileNotFoundError(\n                            f\"Local reference image not found: {path}\"\n                        )\n                    ref_images.append(\n                        types.VideoGenerationReferenceImage(\n                            image=_to_sdk_image(Image.open(path)),\n                            reference_type=types.VideoGenerationReferenceType.ASSET,\n                        )\n                    )\n                for url in image_urls:\n                    resp = requests.get(url, timeout=30)\n                    resp.raise_for_status()\n                    ref_images.append(\n                        types.VideoGenerationReferenceImage(\n                            image=_to_sdk_image(Image.open(BytesIO(resp.content))),\n                            reference_type=types.VideoGenerationReferenceType.ASSET,\n                        )\n                    )\n                if not ref_images:","sourceCodeStart":410,"sourceCodeEnd":446,"githubUrl":"https://github.com/calesthio/OpenMontage/blob/95e1c3d0ab93482159818560f6a8c8e866b9139f/tools/video/veo_video.py#L410-L446","documentation":"Error \"Local reference image not found: {path}\" thrown in calesthio/OpenMontage.","triggerScenarios":"veo_video reference-based generation is called with a local reference image path that does not exist on disk.","commonSituations":"See trigger scenarios.","solutions":["Correct the reference image path to an existing local file.","Alternatively upload the image and pass a public URL through the reference image URL field."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"95e1c3d0ab93482159818560f6a8c8e866b9139f","analyzedAt":"2026-08-15T06:31:20.014Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}