-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Description
在提问之前...
- 我已经搜索了现有的 issues
- 我在提问题之前至少花费了 5 分钟来思考和准备
- 我已经认真且完整的阅读了 wiki
- 我已经认真检查了问题和网络环境无关(包括但不限于Google不可用,模型下载失败)
使用的环境
请选择安装方式
pip
描述你的问题
C:\Users\x1090102>set OLLAMA_HOST=http://192.168.204.34:11434
C:\Users\x1090102>pdf2zh -li en -lo zh-TW -s ollama:cogito:32b "C:\Users\x1090102\Desktop\CCTV 系統入門.pdf"
not in git repo
Namespace(files=['C:\Users\x1090102\Desktop\CCTV 系統入門.pdf'], debug=False, pages=None, vfont='', vchar='', lang_in='en', lang_out='zh-TW', service='ollama:cogito:32b', output='', thread=4, interactive=False, share=False, flask=False, celery=False, authorized=None, prompt=None, compatible=False, onnx=None, serverport=None, dir=False, config=None, babeldoc=False, skip_subset_fonts=False, ignore_cache=False, mcp=False, sse=False)
[06/12/25 16:18:47] INFO INFO:pdf2zh.high_level:use font: high_level.py:423
C:/Users/x1090102/.cache/babeldoc/fonts/SourceHanSerifTW-Regular.ttf
3%|██▏ | 3/112 [00:05<03:33, 1.96s/it][06/12/25 16:19:19] ERROR ERROR:pdf2zh.converter:'dict' object has no attribute 'message' converter.py:357
[06/12/25 16:19:31] ERROR ERROR:pdf2zh.converter:'dict' object has no attribute 'message' converter.py:357
[06/12/25 16:19:44] ERROR ERROR:pdf2zh.converter:'dict' object has no attribute 'message' converter.py:357
[06/12/25 16:19:57] ERROR ERROR:pdf2zh.converter:'dict' object has no attribute 'message' converter.py:357
[06/12/25 16:20:09] ERROR ERROR:pdf2zh.converter:'dict' object has no attribute 'message' converter.py:357
[06/12/25 16:20:22] ERROR ERROR:pdf2zh.converter:'dict' object has no attribute 'message' converter.py:357
[06/12/25 16:20:34] ERROR ERROR:pdf2zh.converter:'dict' object has no attribute 'message' converter.py:357
[06/12/25 16:20:47] ERROR ERROR:pdf2zh.converter:'dict' object has no attribute 'message' converter.py:357
[06/12/25 16:21:00] ERROR ERROR:pdf2zh.converter:'dict' object has no attribute 'message' converter.py:357
[06/12/25 16:21:12] ERROR ERROR:pdf2zh.converter:'dict' object has no attribute 'message' converter.py:357
[06/12/25 16:21:25] ERROR ERROR:pdf2zh.converter:'dict' object has no attribute 'message' converter.py:357
[06/12/25 16:21:38] ERROR ERROR:pdf2zh.converter:'dict' object has no attribute 'message' converter.py:357
如何复现
- 执行 '...'
- 选择 '....'
- 出现问题
预期行为
No response
相关 Logs
原始PDF文件
No response
还有别的吗?
No response