BabelDOC icon indicating copy to clipboard operation
BabelDOC copied to clipboard

出现在最后一个段落翻译中卡住的情况

Open Akaka217 opened this issue 8 months ago • 3 comments

Before you submit

  • [x] I have searched existing issues
  • [x] I spent at least 5 minutes investigating and preparing this report
  • [x] I confirmed this is not caused by a network issue
  • [x] I have fully read and understood the README
  • [x] I am certain that this issue is with BabelDOC itself and can be reproduced through the BabelDOC cli

Environment

- OS:win11
- Python:3.11.8
- BabelDOC:0.3.30

Describe the bug

Translate Paragraphs (1/1) ━━━━━━━━━━━━━━━━╸ 1857/1858 0:40:25 -:--:-

出现在最后一个段落翻译中卡住的情况,已经等了15分钟了,不是api接口的问题。

经常出现这个问题,而且会卡很久。

Steps to Reproduce

Expected Behavior

No response

Relevant Log Output or Screenshots


Original PDF File

No response

Additional Context

No response

Akaka217 avatar May 07 '25 11:05 Akaka217

请使用最新版重试。

awwaawwa avatar May 07 '25 15:05 awwaawwa

更新后仍然存在类似的问题,但有所缓解。原先大概要等待几十分钟,现在一般最多等待几分钟到十几分钟。

babeldoc版本为 babeldoc 0.3.37 python版本为 3.11.8

Image

Akaka217 avatar May 08 '25 01:05 Akaka217

可以试试火山引擎的deepseek 或者豆包,qps开到300-500

awwaawwa avatar May 09 '25 08:05 awwaawwa

我也出现了这个问题,怀疑等待时间的原因是,发送给服务器模型提供商遇到错误,但是超时重试时间太长导致的。

wjy1010111 avatar May 10 '25 04:05 wjy1010111

更新到0.3.40也出现了这个问题

后台用的是硅基的Pro/DeepSeek v3

qps = 6 max-pages-per-part = 200

Translate Paragraphs (1/1) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╸ 943/944 0:16:41 0:00:01

hadesli avatar May 12 '25 02:05 hadesli

请各位上传一下完整日志。(把完整日志存到txt中)

awwaawwa avatar May 12 '25 09:05 awwaawwa

Image

0.3.42未能复现 qps=16,硅基流动 Pro/deepseek-ai/DeepSeek-V3

0.3.40 -> 0.3.42 的更改可能与此有关,各位用0.3.42重试一下吧

awwaawwa avatar May 12 '25 11:05 awwaawwa

Image

更换一个具有4000段的测试文件也没复现,暂时认为此问题已修复

awwaawwa avatar May 12 '25 12:05 awwaawwa