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

AssertionError occured #499

Open
ikaroinory opened this issue Jan 21, 2025 · 2 comments
Open

AssertionError occured #499

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

Comments

@ikaroinory
Copy link

ikaroinory commented Jan 21, 2025

问题描述

在Windows 10上运行pdf2zh test.pdf并等待进度条读完后发生如下错误:
Image

通过如下命令配置环境:

conda create -n pdf2zh python=3.11
pip install pdf2zh

测试文档

test.pdf

@jin1wang
Copy link

我在win10的GUI下使用ollama,进度条完成后也出现该错误

@hellofinch
Copy link
Contributor

https://github.com/Byaidu/PDFMathTranslate/blob/main/pdf2zh/high_level.py#L229C1-L230C39
临时解决方法可以尝试一下把这两行中的True改成Flase,可能会解决这个问题。

: )

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

3 participants