Closed nook24 closed 3 years ago
Can you check if installing the build for Debian 10 works?
Installing the Debian Buster Build works. But i think we would need a new version like 0.12.6-2
so that apt prefers this over the official package.
I'm using Ruby:2.7.4 image from docker hub and they start to use the Debian 11, and it does not seem to work (this is the error I'm getting):
["/usr/local/bundle/gems/wkhtmltopdf-binary-0.12.6.5/bin/wkhtmltopdf_debian_10_amd64.gz", "--disable-smart-shrinking", "file:////tmp/wicked_pdf20210823-1-w2o4js.html", "/tmp/wicked_pdf_generated_file20210823-1-kjcew3.pdf"]
Error: PDF could not be generated!
Command Error: /usr/local/bundle/gems/wkhtmltopdf-binary-0.12.6.5/bin/wkhtmltopdf_debian_10_amd64.gz: 1: Syntax error: "|" unexpected
does anyone know how to fix it or maybe (being a little bold to ask) if the Debian 11 will be supported? and when?
@niightly it's weird that the Debian 10 build doesn't work, can you check if running it manually works?
@ashkulz Manually it worked O.o... maybe this is something from wicked_pdf then .... I will check! Thx for the tip
I ran the command as below
/usr/local/bundle/gems/wkhtmltopdf-binary-0.12.6.5/bin/wkhtmltopdf test.html test.pdf
Installing the Debian Buster Build works. But i think we would need a new version like
0.12.6-2
so that apt prefers this over the official package.
No problems with this. The official Debian package is named wkhtmltopdf
and the one from https://wkhtmltopdf.org/downloads.html is called wkhtmltox
:)
I close this issue because - at least for me - everything works as expected.
Tad confused with this issue. It there a Debian 11 build? I don't see one on https://wkhtmltopdf.org/downloads.html
I need to make one, PRs welcome. In the meanwhile, the Debian 10 build should work as-is.
Builds have been published to the website: see wkhtmltopdf/wkhtmltopdf@e59bfcce3e8db83341264bdd75d996319402ccff.
Hi, I wanted to ask if a build of version
0.12.6-1
for Debian 11 is coming?I know that the official repository of Debian contains the version wkhtmltopdf
0.12.6-1
but in my first tests, it only loads fonts from/usr/share/fonts/
and for this reason the official build will not display any font-awesome fonts.I could workaround this by
apt-get install fonts-font-awesome
but this contains font awsome 4 :( Images and the rest of my CSS gets loaded fine. I never hat this issue with the build from https://wkhtmltopdf.org/downloads.html but unfortunately there is no version for Debian 11 yet