Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wkhtmltopdf with patched qt #5

Open
jmatsushita opened this issue Sep 12, 2016 · 0 comments
Open

Wkhtmltopdf with patched qt #5

jmatsushita opened this issue Sep 12, 2016 · 0 comments

Comments

@jmatsushita
Copy link

Hi there,

I've received the following error:

9/10/2016 4:45:16 AM  File "/home/frappe/frappe-bench/env/src/pdfkit/pdfkit/pdfkit.py", line 143, in to_pdf
9/10/2016 4:45:16 AM    raise IOError("wkhtmltopdf exited with non-zero code {0}. error:\n{1}".format(exit_code, stderr.decode("utf-8")))
9/10/2016 4:45:16 AMIOError: wkhtmltopdf exited with non-zero code 1. error:
9/10/2016 4:45:16 AM_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
9/10/2016 4:45:16 AMThe 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.The switch --print-media-type, is not support using unpatched qt, and will be ignored.libEGL warning: DRI2: failed to open swrast (search paths /usr/lib/xorg/modules/dri)
9/10/2016 4:45:16 AMlibEGL warning: DRI2: failed to open swrast (search paths /usr/lib/xorg/modules/dri)
9/10/2016 4:45:16 AMThe X11 connection broke (error 1). Did the X11 server die?
9/10/2016 4:45:16 AMkillall: Xvfb: no process killed

And it seems related to the version of wkhtmltopdf distributed with Alpine. This Dockerfile shows how to build wkhtml from source with the qt patches.

It would be great if you could upgrade the image with this!

Thanks,

Jun

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

No branches or pull requests

1 participant