Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SRT/VTT translation returns error #152

Open
mienoy opened this issue Apr 2, 2021 · 1 comment
Open

SRT/VTT translation returns error #152

mienoy opened this issue Apr 2, 2021 · 1 comment
Assignees

Comments

@mienoy
Copy link

mienoy commented Apr 2, 2021

Hello!
When I try to translate .srt or .vtt file, DocumentTranslator always returns error:
Error while processing document: The index is outside the bounds of the array.
(Error message is my translation, it may not correct)
Is this caused any format issues in .srt or .vtt files?
Tested with v2.9.2. File was saved by notepad with all save options, and with Sakura editor.

I cannot upload sample file as is. so that I zipped and attached. Sample is following:
00:00:10.905 --> 00:00:12.918
This is translation test

00:00:12.919 --> 00:00:15.611
for Document Translator. This is first

00:00:15.612 --> 00:00:18.564
Test.

test1.zip

Thank you!
Mieno

@chriswendt1 chriswendt1 self-assigned this May 13, 2021
@chriswendt1
Copy link
Member

Thanks for the report. I'll try to fix this in the DocumentTranslation project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants