Skip to content
This repository has been archived by the owner on Nov 17, 2022. It is now read-only.

weasyprint write_pdf got stuck #13

Closed
ghost opened this issue Mar 6, 2019 · 1 comment
Closed

weasyprint write_pdf got stuck #13

ghost opened this issue Mar 6, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Mar 6, 2019

tmphtml.write_pdf(fname, stylesheets=[tmpcss])

这个位置可能跑不动并且没有报错。

使用:

python: 3.7.2
url: https://learnyoua.haskell.sg/content/zh-cn/ch01/introduction.html
@fuergaosi233
Copy link
Owner

fuergaosi233 commented Mar 6, 2019

不好意思 忘了增加说明了
这个不是卡着了 是文件太大了 生成需要时间
由于weasyprint自身的问题
Kozea/WeasyPrint#578
文件大小跟生成时间非线性相关
越大的文件需要的时间越多
我们正在增加分片生成的功能
或者换一个引擎来生成

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant