calesthio/OpenMontage · error · FileNotFoundError
Input file not found: {path}
Error message
Input file not found: {path} What it means
Error "Input file not found: {path}" thrown in calesthio/OpenMontage.
Source
Thrown at tools/video/veo_video.py:246
"""Estimate the expected runtime in seconds."""
backend = inputs.get("backend", "auto")
if backend == "auto":
backend = "google" if self._get_google_credentials_status() else "fal"
if backend == "google":
return 90.0
variant = inputs.get("model_variant", "veo3.1")
if "fast" in variant:
return 45.0
return 120.0
@staticmethod
def _file_to_data_uri(path_str: str) -> str:
"""Convert a local file into a base64-encoded Data URI."""
path = Path(path_str)
if not path.exists():
raise FileNotFoundError(f"Input file not found: {path}")
mime_type, _ = mimetypes.guess_type(path.name)
if not mime_type:
mime_type = "application/octet-stream"
encoded = base64.b64encode(path.read_bytes()).decode("ascii")
return f"data:{mime_type};base64,{encoded}"
def _normalize_file_input(
self, url_value: str | None, path_value: str | None
) -> str | None:
"""Normalize file input by converting local file paths to Data URIs or returning URLs."""
if url_value:
return url_value
if path_value:
return self._file_to_data_uri(path_value)
return None
def execute(self, inputs: dict[str, Any]) -> ToolResult:
"""Execute the video generation tool using the selected backend."""View on GitHub (pinned to 95e1c3d0ab)
Solutions
- Correct the input file path; no file exists at the given location.
- Use an absolute path and confirm the file exists with `ls <path>` before rerunning.
When it happens
Trigger: veo_video is called with an input file path that does not exist on disk.
Common situations: See trigger scenarios.
AI-assisted analysis of calesthio/OpenMontage@95e1c3d0ab (2026-08-15).
Data as JSON: /api/errors/41167d066b45eca7.
Report an issue: GitHub.