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

Response too long 的Exception并未得到有效处理,导致后台一直请求ollama数据死循环 #535

Open
damaoooo opened this issue Jan 25, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@damaoooo
Copy link
Contributor

问题描述

请对问题进行描述,并提供日志或截图
请确认 issues 中没有相同问题且完整阅读 wiki
本项目不处理网络环境引发的问题(例如 empty translation result/connection reset/check_hostname requires server_hostname/certificate verify failed/unable to connect to proxy/LocalEntryNotFoundError)

如题,ollama出现Response too long 的Exception并未得到有效处理,导致后台一直请求ollama数据死循环。

Files before translation: ['x.pdf']
0%| | 0/14 [00:00<?, ?it/s]Response too long
ERROR:pdf2zh.converter:All models failed
Response too long
ERROR:pdf2zh.converter:All models failed
Response too long
ERROR:pdf2zh.converter:All models failed
Response too long

测试文档

Important

请提供用于复现测试的 PDF 文档

任意PDF文档都行。

@damaoooo damaoooo added the bug Something isn't working label Jan 25, 2025
@ariesbi
Copy link

ariesbi commented Jan 25, 2025

是的,ollama翻译我就没有成功过,一直卡在6.3%,查看显存占用,他根本就没有调用llm进行翻译。
此项目是个好项目,解决了大家的实际问题,期望作者做得越来越完善,我可以供养作者咖啡

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