babysor / babysor/MockingBird

long_file_cut_by_srt.py", line 46, in cut_file_by_srt if end_time - start_time <= min_length or len(line[2].replace(" ", "")) < min_text: IndexError: list index out of range

Open
#692 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
36.9k
Forks
5.2k
PR merge metrics
No merged PRs in 30d

Description

long_file_cut_by_srt.py", line 46, in cut_file_by_srt
if end_time - start_time <= min_length or len(line[2].replace(" ", "")) < min_text:
IndexError: list index out of range

好像太长了无法截取 用新的又无法跳出那个页面 老是提示什么QT 无法查到

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with long_file_cut_by_srt.py at line 46 and reproduce the IndexError using the long subtitle input described in the report. Inspect the failing line indexing and verify that long files can be cut without the exception or a stuck Qt-related page.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ai
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.