babysor/MockingBird · error · RuntimeError
kokoro-tts produced no output for cue {cue.index}
Error message
kokoro-tts produced no output for cue {cue.index} What it means
Error "kokoro-tts produced no output for cue {cue.index}" thrown in babysor/MockingBird.
Source
Thrown at skills/speak/scripts/render_timeline.py:350
lang = cfg.get("lang")
if lang:
cmd += ["--lang", str(lang)]
speed = cfg.get("speed")
if speed is not None:
cmd += ["--speed", str(speed)]
cmd += ["--format", output_format]
proc = subprocess.run(cmd, capture_output=True, text=True)
if proc.returncode != 0:
raise RuntimeError(
f"kokoro-tts failed for cue {cue.index}: {proc.stderr}"
)
finally:
Path(tmp_path).unlink(missing_ok=True)
if out_path.exists():
return probe_duration_ms(out_path) / 1000.0
raise RuntimeError(f"kokoro-tts produced no output for cue {cue.index}")
# ── main ─────────────────────────────────────────────────────────────
def main() -> int:
ap = argparse.ArgumentParser(
description="Render timeline-accurate speech from SRT."
)
ap.add_argument("--srt", required=True, help="Input SRT file")
ap.add_argument("--voice-map", required=True, help="Voice-map JSON")
ap.add_argument(
"--backend", choices=["kokoro", "noiz"], default="kokoro",
help="TTS backend (default: kokoro)",
)
ap.add_argument("--api-key", help="API key (required for noiz backend)")
ap.add_argument("--output", required=True, help="Output audio file")
ap.add_argument("--base-url", default="https://noiz.ai/v1")View on GitHub (pinned to 28dc5e14f1)
When it happens
Trigger: Thrown at skills/speak/scripts/render_timeline.py:350 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of babysor/MockingBird@28dc5e14f1 (2026-08-27).
Data as JSON: /api/errors/930865d9eb6e2706.
Report an issue: GitHub.