-
Notifications
You must be signed in to change notification settings - Fork 53
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
Win端写入直接闪退 #20
Comments
原因是有些pdf读不出getDocumentInfo(),所以得把这一步跳过才行 |
感谢反馈以及帮忙debug,今天把getDocumentInfo这行代码删了重新build了,应该可以正常运行了 https://github.com/chroming/pdfdir/releases/tag/v0.3.0-beta5 |
v0.3.0-beta13 写入出现无响应 |
我在Windows11上测试正常,是否可以提供无响应时使用的文本和参数? |
第 1章 动手部署一台Linux操作系统 1.txt |
在Win11 22H2 使用相同目录文本没复现此问题。如果方便的话是否可以发一下pdf文件 [email protected] |
@chroming 已发邮件。 |
排查之后发现是代码中使用的pypdf的clone_from (clone_document_from_reader) 在拷贝一些pdf时速度很慢:py-pdf/pypdf#2136 为了解决速度问题,先换成pdfwriter.append方法拷贝,速度快了很多,但写入的pdf文件体积会缩小,不清楚是否存在丢失pdf元信息的问题。 对应build: |
感谢,我去试试。 |
速度提升相当明显!@chroming |
感谢反馈😀 |
我也出现了同样的问题,一写入就自动退出,pdf没有生成。pdf1.4和1.7都有问题。 |
版本是0.3.0-beta21 |
应该是遇到未捕获的异常导致的,是否可以用这个版本试一下看报什么错误? |
The text was updated successfully, but these errors were encountered: