有人可以告诉我如何解决以下问题吗?
Can someone tell me how to resolve following issues?
wkhtmltopdf没有传递代理信息的选项(- p或--proxy),与以前的版本不同,它也不使用系统$ http_proxy和$ https_proxy env变量。
wkhtmltopdf don't have option to pass proxy info (-p or --proxy) unlike in previous versions and its not using system $http_proxy and $https_proxy env variable too.
wkhtmltopdf甚至无法与HTTPS / SSL一起使用虽然我为libssl.so和libcrypto.so设置了LD_LIBRARY_PATH
wkhtmltopdf not working with HTTPS/SSL even though i set LD_LIBRARY_PATH for libssl.so and libcrypto.so
[deploy@localhost ~]$ wkhtmltopdf www.google.co.in google.pdf loaded the Generic plugin Loading page (1/2) Error: Failed loading page www.google.co.in (sometimes it will work just to ignore this error with --load-error-handling ignore) Exit with code 1 due to network error: UnknownNetworkError和
[deploy@localhost ~]$ wkhtmltoimage www.google.co.in sample.jpg loaded the Generic plugin Loading page (1/2) Error: Failed loading page www.google.co.in (sometimes it will work just to ignore this error with --load-error-handling ignore) Exit with code 1 due to network error: UnknownNetworkError
wkhtmltopdf部分使用HTTP。输出的pdf文件缺少某些内容/背景/位置。
wkhtmltopdf working partially with HTTP. The output pdf files missing some content/background/positions.
[deploy@localhost ~]$ wkhtmltopdf localhost:8880/ sample.pdf loaded the Generic plugin Loading page (1/2) Printing pages (2/2) Done Exit with code 1 due to network error: ContentNotFoundError [deploy@localhost ~]$ wkhtmltoimage localhost:8880/ sample.jpg loaded the Generic plugin Loading page (1/2) Rendering (2/2) Done Exit with code 1 due to network error: ContentNotFoundError
注意:我使用wkhtmltopdf-0.12.1-1.fc20.x86_64和qt-4.8.6-10.fc20.x86_64
Note: Im using wkhtmltopdf-0.12.1-1.fc20.x86_64 and qt-4.8.6-10.fc20.x86_64
推荐答案我的问题已解决,从CSS中删除了@ font-face。
my problem was solved removing @font-face from css.
更多推荐
使用wkhtmltopdf时如何处理ContentNotFoundError?
发布评论