KryptoST / SRTranslatorGUI

SRT files translator GUI
31 stars 2 forks source link

Translation timed out #17

Open mondrunner opened 10 months ago

mondrunner commented 10 months ago

It used to work great, now it displays this error

Sin título

SrtTranslatorAPI.Translator.TimeOutException: Translation timed out en SrtTranslatorAPI.Translator.deeplsrap.Translate(String text, String sourceLanguage, String destinationLanguage) en C:\Users\omen\source\repos\SrtTranslatorAPI\SrtTranslatorAPI\Translator\deeplscrap.cs:línea 158 en SrtTranslatorAPI.Translator.srtfile.Translate(Translator translator, String sourceLanguage, String destinationLanguage, Int32& progre) en C:\Users\omen\source\repos\SrtTranslatorAPI\SrtTranslatorAPI\srtfile.cs:línea 130 en SRTranslatorGUI.Form1.<>c__DisplayClass32_0.b0() en C:\Users\omen\source\repos\SRTranslatorBeta\SRTranslatorBeta\Form1.cs:línea 521 en System.Threading.Tasks.Task.InnerInvoke() en System.Threading.Tasks.Task.Execute() --- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción --- en System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) en SRTranslatorGUI.Form1.d32.MoveNext() en C:\Users\omen\source\repos\SRTranslatorBeta\SRTranslatorBeta\Form1.cs:línea 506 --- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción --- en System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) en SRTranslatorGUI.Form1.d21.MoveNext() en C:\Users\omen\source\repos\SRTranslatorBeta\SRTranslatorBeta\Form1.cs:línea 170 --- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción --- en System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b6_0(Object state)

KryptoST commented 10 months ago

Have you tried it in the latest version? image

mondrunner commented 10 months ago

Have you tried it in the latest version? image

I just tried the new version, same error. The only version working is the Version 1.x

funmolde commented 10 months ago

I can't see the version V2.0.7b . That's all I have. https://github.com/KryptoST/SRTranslatorGUI/releases/tag/v1.1.2

Tchelio commented 10 months ago

The 2.0.7b version works perfectly well.

You can get 2.0.7b from here. https://github.com/KryptoST/SRTranslatorGUI/releases

If a timed out issue occurs, please check below.

  1. install python (higher than 3.6)
  2. install original SRTranslator. (pip install srtranslator) https://github.com/sinedie/SRTranslator
  3. Check Maximum characters in program settings. (If 1000 doesn't work, use 500)
mondrunner commented 10 months ago

The 2.0.7b version works perfectly well.

You can get 2.0.7b from here. https://github.com/KryptoST/SRTranslatorGUI/releases

If a timed out issue occurs, please check below.

  1. install python (higher than 3.6)
  2. install original SRTranslator. (pip install srtranslator) https://github.com/sinedie/SRTranslator
  3. Check Maximum characters in program settings. (If 1000 doesn't work, use 500)

Now it is working with either 500 or 1000, however there is a new issue... it just leaves a lot of blank lines.

lotte1 commented 10 months ago

The 2.0.7b version works perfectly well. You can get 2.0.7b from here. https://github.com/KryptoST/SRTranslatorGUI/releases If a timed out issue occurs, please check below.

  1. install python (higher than 3.6)
  2. install original SRTranslator. (pip install srtranslator) https://github.com/sinedie/SRTranslator
  3. Check Maximum characters in program settings. (If 1000 doesn't work, use 500)

Now it is working with either 500 or 1000, however there is a new issue... it just leaves a lot of blank lines.

I've translated from Chinese to English. set to 1000 have the same error set to 500 have a lot of blank lines but later set to 300 it works pretty well.