babysor/MockingBird · error · ValueError
No sentences found after splitting.
Error message
No sentences found after splitting.
What it means
Error "No sentences found after splitting." thrown in babysor/MockingBird.
Source
Thrown at skills/speak/scripts/text_to_srt.py:96
default=300,
help="Gap between segments in milliseconds (default: 300)",
)
parser.add_argument(
"--start-offset-ms",
type=int,
default=0,
help="Timeline start offset in milliseconds (default: 0)",
)
args = parser.parse_args()
try:
text = Path(args.input).read_text(encoding="utf-8").strip()
if not text:
raise ValueError("Input text is empty.")
sentences = split_sentences(text)
if not sentences:
raise ValueError("No sentences found after splitting.")
entries = estimate_timings(
sentences,
chars_per_second=args.chars_per_second,
gap_ms=args.gap_ms,
start_offset_ms=args.start_offset_ms,
)
write_srt(entries, Path(args.output))
print(f"Done. {len(entries)} segments written to {args.output}")
total_ms = entries[-1][2] if entries else 0
print(f"Total duration: {ms_to_srt_time(total_ms)}")
return 0
except Exception as exc:
print(f"Error: {exc}", file=sys.stderr)
return 1
if __name__ == "__main__":View on GitHub (pinned to 28dc5e14f1)
When it happens
Trigger: Thrown at skills/speak/scripts/text_to_srt.py:96 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/eedb1a02e38a5a6b.
Report an issue: GitHub.