-
Notifications
You must be signed in to change notification settings - Fork 1.8k
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
wkhtmltopdf 0.12.1 does not work on Ubuntu 18.04 because of dependency issue #3898
Comments
Ubuntu 18.04 got released 4 days ago, and you're trying to install You can contribute a PR for supporting Bionic in wkhtmltopdf/packaging or see if the stretch / xenial builds work for you. |
Hi @ashkulz, I know this is quite a lot behind. Sadly Odoo itself only has a full support on |
I'd love to know what issues Odoo is facing with the latest builds, as I'd like fix them before the 0.12.5 release. |
You got your wish via wkhtmltopdf/packaging@52b4e17 -- is there any OS/distro/arch combination that you'd like to see packaged as well? |
@ashkulz nice! No, this is the only OS/distro that I need. |
See https://builds.wkhtmltopdf.org/0.12.1.3/ -- I had posted the link in the other ticket. |
@ashkulz on the page https://github.com/wkhtmltopdf/wkhtmltopdf/releases/0.12.3 I'm missing a |
Not really getting what you are asking. The |
@ashkulz yeah don't worry this is enough for now! Give the Odoo team some time to test and get back to you, we'll take it from there! Thanks a lot for the help / new release. |
@Yenthe666 I did succesfully install and test the new build from @ashkulz , see https://www.odoo.com/forum/help-1/question/ubuntu-18-04-lts-how-to-install-wkhtmltopdf-0-12-1-134198 |
Hello All, |
@jcarlosmontoya You can install ttf-mscorefonts-installer to fix it. |
@jcarlosmontoya @JKE-be let's track this specific issue separately: #4149 |
- Since Ubuntu 18.04 no longer support libpng12-0 there we need to use another version of wkhtmltox Ref: 1. https://www.odoo.com/forum/help-1/question/ubuntu-18-04-lts-how-to-install-wkhtmltopdf-0-12-1-134198 2. wkhtmltopdf/wkhtmltopdf#3898
* [IMP] Update Ubuntu version and new library * [FIX] Update requirements.txt * [FIX] Install gnupg before update source repository * [FIX] Change wkhtmltox version - Since Ubuntu 18.04 no longer support libpng12-0 there we need to use another version of wkhtmltox Ref: 1. https://www.odoo.com/forum/help-1/question/ubuntu-18-04-lts-how-to-install-wkhtmltopdf-0-12-1-134198 2. wkhtmltopdf/wkhtmltopdf#3898 * [FIX] Add wkhtmltox dependencies
Hello Yenthee, I see in openrp-server.log this error: This means that odoo can not get the version of the wkhtmltopdf package from the system! But if I uninstall the wkhtmltopdf package server start to work fine again. |
hello, so what is hte issue for report in Odoo. i work on Odoo 12 and i have wkhtmltopdf version 12.1.4 on my local but in server it is 12.1. and the result is very differents |
The recommended version of wkhtmltopdf for Odoo version10 and higher is 0.12.5, see https://www.odoo.com/documentation/12.0/setup/install.html |
This error message appears also when you try to install incompatible package with your distro (like install |
@bitsnaps I'm not sure why you'd use the trusty package when there's a bionic package available for 0.12.1 (I assume you want this specific version). |
@ashkulz In fact it was a mistake on my part, I had to check with if [ -n "$(uname -r | grep focal)"] || [-n "$(uname -r | grep generic)"]; then
echo 'install package...'
fi P.S. The latest ubuntu 20 outputs |
I think you want 'lsb_release -sc'
|
Hi there,
When you download and try to install wkhtmltopdf you'll see that Ubuntu 18.04 does not support
libpng12-0
(also see https://packages.ubuntu.com/search?keywords=libpng12-0) when you run the following commands:Output:
The text was updated successfully, but these errors were encountered: