yzane / vscode-markdown-pdf

Markdown converter for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=yzane.markdown-pdf
Other
1.01k stars 206 forks source link

Avoid TimeoutError: Navigation timeout of 30000 ms exceeded and TimeoutError: waiting for Page.printToPDF failed: timeout 30000ms exceeded #266

Closed blono closed 1 year ago

blono commented 3 years ago

私の MacBook Air 2012 で 2 万行くらいの Markdown を Google Chrome 95.0.4638.69(Official Build) (x86_64) で pdf 出力しようとすると、10 分くらいかかってしまい、タイトルのエラーが発生します😰 これを回避するためタイムアウトが発生しにようにしました。


When I try to output 20,000 lines of Markdown to pdf using Google Chrome 95.0.4638.69 (Official Build) (x86_64) on my MacBook Air 2012, it takes about 10 minutes and I get the error in the title 😰. In order to avoid this, I made sure that the timeout does not occur.

dongshen commented 2 years ago

i also got this issue, i use 1.4.4 (2020/03/19), and Google Chrome 105.0.5195.127.

any updated or suggestion on this issue?

brunobottazzini commented 1 year ago

Thanks to this patch, I was finally able to generate a PDF from my 55k lines Markdown document. Previously, I had been experiencing timeouts that prevented me from generating the PDF.

I would merge it or allow the user to configure a maximum timeout for the pdf conversion.

yzane commented 1 year ago

Thanks for the PR!