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

TranslationEngine returned invalid amount of translated lines! Trying again.. #13

Open
rifatozkancomtr opened this issue Nov 2, 2024 · 4 comments

Comments

@rifatozkancomtr
Copy link

rifatozkancomtr commented Nov 2, 2024

When I enter more than 1 liner per packet, it gives this error.

image

[2024 Nov 2 16:17:09] [INFO] --> Sending to DeepLX: {"text":"A ghost haunts the Yagi house at night?\nDon\u0027t talk nonsense.\nNagakura-san.\nThe ghost!\nBedhead begone.","source_lang":"en","target_lang":"tr"} [2024 Nov 2 16:17:11] [INFO] <-- Response from DeepLX: {"alternatives":["Geceleri Yagi'nin evine bir hayalet mi dadanıyor? Saçmalama. Nagakura-san. Hayalet! Yatak başı defol.","Geceleri Yagi'nin evine bir hayalet mi dadanıyor? Saçmalama. Nagakura-san. Hayalet! Yatak başı git.","Geceleri Yagi'nin evine hayalet mi musallat oluyor? Saçmalama. Nagakura-san. Hayalet! Yatak başı defol.","Geceleri Yagi'nin evine bir hayalet mi dadanıyor? Saçmalama. Nagakura-san. Hayalet! Yatak başı defol!"],"code":200,"data":"Geceleri Yagi'nin evine bir hayalet mi dadanıyor? Saçmalama. Nagakura-san. Hayalet! Yatak başı defol.","id":8333503000,"method":"Free","source_lang":"en","target_lang":"tr"} [2024 Nov 2 16:17:11] [WARN] TranslationEngine returned invalid amount of translated lines! Trying again.. [2024 Nov 2 16:17:11] [INFO] --> Sending to DeepLX: {"text":"A ghost haunts the Yagi house at night?\nDon\u0027t talk nonsense.\nNagakura-san.\nThe ghost!\nBedhead begone.","source_lang":"en","target_lang":"tr"} [2024 Nov 2 16:17:13] [INFO] <-- Response from DeepLX: {"alternatives":["Geceleri Yagi'nin evine bir hayalet mi dadanıyor? Saçmalama. Nagakura-san. Hayalet! Yatak başı defol.","Geceleri Yagi'nin evine bir hayalet mi dadanıyor? Saçmalama. Nagakura-san. Hayalet! Yatak başı git.","Geceleri Yagi'nin evine hayalet mi musallat oluyor? Saçmalama. Nagakura-san. Hayalet! Yatak başı defol.","Geceleri Yagi'nin evine bir hayalet mi dadanıyor? Saçmalama. Nagakura-san. Hayalet! Yatak başı defol!"],"code":200,"data":"Geceleri Yagi'nin evine bir hayalet mi dadanıyor? Saçmalama. Nagakura-san. Hayalet! Yatak başı defol.","id":8316882000,"method":"Free","source_lang":"en","target_lang":"tr"} [2024 Nov 2 16:17:13] [WARN] TranslationEngine returned invalid amount of translated lines! Trying again.. [2024 Nov 2 16:17:13] [INFO] --> Sending to DeepLX: {"text":"A ghost haunts the Yagi house at night?\nDon\u0027t talk nonsense.\nNagakura-san.\nThe ghost!\nBedhead begone.","source_lang":"en","target_lang":"tr"} [2024 Nov 2 16:17:17] [INFO] <-- Response from DeepLX: {"alternatives":["Geceleri Yagi'nin evine bir hayalet mi dadanıyor? Saçmalama. Nagakura-san. Hayalet! Yatak başı defol.","Geceleri Yagi'nin evine bir hayalet mi dadanıyor? Saçmalama. Nagakura-san. Hayalet! Yatak başı git.","Geceleri Yagi'nin evine hayalet mi musallat oluyor? Saçmalama. Nagakura-san. Hayalet! Yatak başı defol.","Geceleri Yagi'nin evine bir hayalet mi dadanıyor? Saçmalama. Nagakura-san. Hayalet! Yatak başı defol!"],"code":200,"data":"Geceleri Yagi'nin evine bir hayalet mi dadanıyor? Saçmalama. Nagakura-san. Hayalet! Yatak başı defol.","id":8366235000,"method":"Free","source_lang":"en","target_lang":"tr"} [2024 Nov 2 16:17:17] [WARN] TranslationEngine returned invalid amount of translated lines! Trying again.. [2024 Nov 2 16:17:17] [INFO] --> Sending to DeepLX: {"text":"A ghost haunts the Yagi house at night?\nDon\u0027t talk nonsense.\nNagakura-san.\nThe ghost!\nBedhead begone.","source_lang":"en","target_lang":"tr"} [2024 Nov 2 16:17:21] [INFO] <-- Response from DeepLX: {"alternatives":["Geceleri Yagi'nin evine bir hayalet mi dadanıyor? Saçmalama. Nagakura-san. Hayalet! Yatak başı defol.","Geceleri Yagi'nin evine bir hayalet mi dadanıyor? Saçmalama. Nagakura-san. Hayalet! Yatak başı git.","Geceleri Yagi'nin evine hayalet mi musallat oluyor? Saçmalama. Nagakura-san. Hayalet! Yatak başı defol.","Geceleri Yagi'nin evine bir hayalet mi dadanıyor? Saçmalama. Nagakura-san. Hayalet! Yatak başı defol!"],"code":200,"data":"Geceleri Yagi'nin evine bir hayalet mi dadanıyor? Saçmalama. Nagakura-san. Hayalet! Yatak başı defol.","id":8381956000,"method":"Free","source_lang":"en","target_lang":"tr"} [2024 Nov 2 16:17:21] [WARN] TranslationEngine returned invalid amount of translated lines! Trying again.. [2024 Nov 2 16:17:21] [INFO] --> Sending to DeepLX: {"text":"A ghost haunts the Yagi house at night?\nDon\u0027t talk nonsense.\nNagakura-san.\nThe ghost!\nBedhead begone.","source_lang":"en","target_lang":"tr"}

@Keksuccino
Copy link
Owner

This is nothing I can fix. It’s caused by the LLM. It should work at some point, let it retry.

@rifatozkancomtr
Copy link
Author

This is nothing I can fix. It’s caused by the LLM. It should work at some point, let it retry.

Proxy feature can be added for Deeplx.

@Keksuccino
Copy link
Owner

This is nothing I can fix. It’s caused by the LLM. It should work at some point, let it retry.

Proxy feature can be added for Deeplx.

What do you mean? What’s that?

@rifatozkancomtr
Copy link
Author

This is nothing I can fix. It’s caused by the LLM. It should work at some point, let it retry.

Proxy feature can be added for Deeplx.

What do you mean? What’s that?

The issue was resolved by adding a proxy to deepl api operations.

https://deeplx.owo.network/install/variables.html#docker-environment-variables

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