wkhtmltopdf support
See original GitHub issueHey, When i was trying to install pdfkit through pip, it gave error of
No wkhtmltopdf executable found: "" If this file exists please check that this process can read it.
So can’t i just use it using pip?
More, i installed the wkhtmltopdf using apt-get, but using pdfkit in celery to run multiple asyncronus tasks, it gives error of
QXcbConnection: Could not connect to display
I got that it is not getting xvfb display windows available in server, so any solution which I can solve into python level itself ?
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Reporting Issues - wkhtmltopdf
When reporting an issues, please include the following information: wkhtmltopdf ...
Read more >wkhtmltopdf
wkhtmltopdf and wkhtmltoimage are open source (LGPLv3) command line tools to render HTML into PDF and various image formats using the Qt WebKit...
Read more >GitHub Docs Status Support Downloads - wkhtmltopdf
All downloads are currently hosted via GitHub releases, so you can browse ...
Read more >GitHub Docs Status Support Downloads - wkhtmltopdf
Although Qt 4.5 enhanced the QtWebKit API, the focus wasn't on the HTML to PDF ...
Read more >Documentation - wkhtmltopdf
At the moment, we only have the auto generated documentation for wkhtmltopdf.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
For future travelers, the solution recommended by Debian now is to use xvfb. We wrote a subclass of the PDFKit class to achieve that:
For anyone who would appreciate @jakewins’ wrapper as a full fledged package, I’ve put it together here: https://pypi.org/project/headless-pdfkit/
Enjoy!