wkhtmltopdf 段错误 [英] wkhtmltopdf segfaults

查看:50
本文介绍了wkhtmltopdf 段错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将 wkhtmltopdf 放到一个 virtualbox 的 ubuntu 12.04 64 位服务器上.到目前为止没有运气.存储库中的包想要运行 xserver 和静态版本:

I am trying to put wkhtmltopdf onto a virtualbox'ed ubuntu 12.04 64bit server. So far no luck. The package from the repositories wants to have xserver running and the static version:

wkhtmltopdf google.com tesss.pdf
Loading pages (1/6)
QSslSocket: cannot resolve SSLv2_client_method               ] 10%
QSslSocket: cannot resolve SSLv2_server_method
Counting pages (2/6)                                               
Resolving links (4/6)                                                       
Loading headers and footers (5/6)                                           
Printing pages (6/6)
QPixmap: Cannot create a QPixmap when no GUI is being used===] Page 1 of 1
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
Segmentation fault

有什么想法可以解决这个问题吗?

Any ideas how could I approach this?

推荐答案

http://code.google.com/p/wkhtmltopdf/issues/detail?id=730

基本上,它在一年前就得到了修复,但仍未发布.真是一团糟:(

Basically, it got fixed around a year ago, but has still not been released. What a mess :(

尝试改用 0.10.0_rc2 版本,效果很好给我

Try using 0.10.0_rc2 version instead, which worked perfectly for me

这篇关于wkhtmltopdf 段错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆