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

[Bug]: 使用GPT批量翻译,经常出错 #821

Open
ayellowcat opened this issue Jan 8, 2025 · 2 comments
Open

[Bug]: 使用GPT批量翻译,经常出错 #821

ayellowcat opened this issue Jan 8, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@ayellowcat
Copy link

Issue

用docker进行批量翻译,使用GPT4,经常会出错停止,有时候重启容器就能继续下去,有时候需要把卡住的图片移除,才能继续下去

Command Line Arguments

command: -m manga_translator local -v -i=/app/input -o=/app/output --config-file=/app/config.json

Console logs

2025-01-08 10:19:46 manga_image_translator_cpu  | [local] No pre-translation replacements made.
2025-01-08 10:19:46 manga_image_translator_cpu  | [local] Running text translation
2025-01-08 10:19:46 manga_image_translator_cpu  | [GPT4Translator] Translating into Chinese (Simplified)
2025-01-08 10:19:48 manga_image_translator_cpu  | ERROR: [GPT4Translator] Error during translation attempt: can only concatenate str (not "NoneType") to str
2025-01-08 10:19:51 manga_image_translator_cpu  | ERROR: [GPT4Translator] Error during translation attempt: can only concatenate str (not "NoneType") to str
2025-01-08 10:19:54 manga_image_translator_cpu  | ERROR: [GPT4Translator] Error during translation attempt: can only concatenate str (not "NoneType") to str
2025-01-08 10:19:57 manga_image_translator_cpu  | ERROR: [GPT4Translator] Error during translation attempt: can only concatenate str (not "NoneType") to str
2025-01-08 10:20:00 manga_image_translator_cpu  | ERROR: [GPT4Translator] Error during translation attempt: can only concatenate str (not "NoneType") to str
2025-01-08 10:20:00 manga_image_translator_cpu  | ERROR: [local] TypeError: can only concatenate str (not "NoneType") to str
manga_image_translator_cpu exited with code 0
@ayellowcat ayellowcat added the bug Something isn't working label Jan 8, 2025
@zyddnys
Copy link
Owner

zyddnys commented Jan 9, 2025

能找出单张图出错吗,一般来说要是涩图会容易出问题

@ayellowcat
Copy link
Author

能找出单张图出错吗,一般来说要是涩图会容易出问题

这一张稳定出错
67

这是我使用的配置
Uploading config.json…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants