affaan-m/ECC · error · SystemExit

apply failed

Error message

apply failed: {exc}

What it means

Top-level wrapper in apply.py main(): a FileNotFoundError or falapi.FalError escaped the pipeline and is converted to a clean CLI exit. The underlying cause text is embedded; this is the user-facing catch-all, not the original fault.

Solutions

  1. Read the embedded cause in the message (missing file or fal API error) and fix that
  2. For missing files, verify paths; for FalError, check FAL_KEY and provider status
  3. Re-run with a new --out after fixing
Defensive patterns

Strategy: try-catch

When it happens

Trigger: Thrown at skills/taste-application/scripts/apply.py:628 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of affaan-m/ECC@8321021c54 (2026-09-16). Data as JSON: /api/errors/c3975f7377d1f6e8. Report an issue: GitHub.

Appendix: source

Thrown at skills/taste-application/scripts/apply.py:628

        apply(
            genre=a.genre,
            style_steer=a.style_steer,
            brief=a.brief,
            duration=a.duration,
            root=a.root,
            base_video=a.base_video,
            overlays=a.overlays,
            out=a.out,
            concurrency=a.concurrency,
            take_len=a.take_len,
            assemble=not a.no_assemble,
            base_ratio=a.base_ratio,
            strength=a.strength,
            fps=a.fps,
            tier=a.tier,
        )
    except (FileNotFoundError, falapi.FalError) as exc:
        raise SystemExit(f"apply failed: {exc}") from exc


if __name__ == "__main__":
    main()

View on GitHub (pinned to 8321021c54)