You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C:\Users\888\miniconda3\python.exe "D:\Python Project\SubtitleTranslator\main.py"
Traceback (most recent call last):
File "D:\Python Project\SubtitleTranslator\main.py", line 24, in <module>
translateSubtitles(fileList)
File "D:\Python Project\SubtitleTranslator\main.py", line 18, in translateSubtitles
translate_and_compose(f, of, 'en', 'zh-CN',encoding='gb18030')
File "D:\Python Project\SubtitleTranslator\utils\utils.py", line 112, in translate_and_compose
translated_list = translate_srt(subtitle, src_lang, target_lang, space=space)
File "D:\Python Project\SubtitleTranslator\utils\utils.py", line 70, in translate_srt
dialog_list = sen_list2dialog_list(translated_sen_list, mass_list, space, cn=True)
File "D:\Python Project\SubtitleTranslator\utils\util_srt.py", line 165, in sen_list2dialog_list
origin_len = record[-1][1]
IndexError: list index out of range
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: