odoo- 警告 Wkhtmltopdf 失败(错误代码:-6)。消息:开关 --header-spacing 不支持使用未打补丁的 qt
odoo- warning Wkhtmltopdf failed (error code: -6). Message: The switch --header-spacing, is not support using unpatched qt
我在 ubuntu 服务器 15.10 和 wkhtmltopdf 0.12.2.4 下安装了 odoo 9。
每次打印销售订单时,都会出现错误:
Odoo Warning - Warning
Wkhtmltopdf failed (error code: -6). Message: The switch --header-spacing, is not support using unpatched qt, and
will be ignored.The switch --header-html, is not support using
unpatched qt, and will be ignored.The switch --footer-html, is not
support using unpatched qt, and will be ignored.QXcbConnection: Could
not connect to display.
我已尝试解决此错误但仍然失败,请帮助我
我不能相信这个答案,但我能够使用 Tsounabe 在这里提供的解决方案解决问题:
我唯一可以补充的是,我将每行中的版本 (0.12.3) 更改为最新版本 (0.12.4),并且能够使用最新版本完成同样的事情。
祝你好运!
我在 ubuntu 服务器 15.10 和 wkhtmltopdf 0.12.2.4 下安装了 odoo 9。
每次打印销售订单时,都会出现错误:
Odoo Warning - Warning
Wkhtmltopdf failed (error code: -6). Message: The switch --header-spacing, is not support using unpatched qt, and will be ignored.The switch --header-html, is not support using unpatched qt, and will be ignored.The switch --footer-html, is not support using unpatched qt, and will be ignored.QXcbConnection: Could not connect to display.
我已尝试解决此错误但仍然失败,请帮助我
我不能相信这个答案,但我能够使用 Tsounabe 在这里提供的解决方案解决问题:
我唯一可以补充的是,我将每行中的版本 (0.12.3) 更改为最新版本 (0.12.4),并且能够使用最新版本完成同样的事情。
祝你好运!