コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
24708 ビュー

I am working on odoo15 and install it in my windows and got the following warning:
'Unable to find Wkhtmltopdf on this system.' How can I resolve it?

アバター
破棄
最善の回答

Install wget utility package

sudo apt update
sudo apt install wget

Install wkhtmltopdf on Ubuntu:

wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-2/wkhtmltox_0.12.6.1-2.jammy_amd64.deb
sudo dpkg -i wkhtmltox_0.12.6.1-2.jammy_amd64.deb

sudo apt-get install -f


Thanks & Regards,



CandidRoot Solutions Pvt. Ltd.

Mobile: (+91) 8849036209
Email: info@candidroot.com
Skype: live:candidroot
Web: https://www.candidroot.com
Address: 1229-1230, Iconic Shyamal, Near Shyamal Cross Road, Ahmedabad, Gujarat 380015


アバター
破棄

It Worked for Me! Thanks

最善の回答

Hi @Abdus Sattar Bhuiyan

Install wget package

sudo apt update
sudo apt install wget

Wkhtmltopdf package install on ubuntu:

sudo apt-get install -y wkhtmltopdf

this command install an outdated wkhtmltopdf and odoo generate a wrong pdf (with 0 byte ) and popup error saying to update to the new wkhtmltopdf.


The solution is to upgrade ” wkhtmltopdf ” For ubuntu 64-bit.

(1)Download wkhtmltopdf version from WKHTMLTOPDF depending on your system arch (32 or 64 bit

sudo wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.1/wkhtmltox-0.12.1_linux-trusty-amd64.deb

(2) Install the downloaded package as:-

sudo dpkg -i wkhtmltox-0.12.1_linux-trusty-amd64.deb

(3) Copy files as:-

sudo cp /usr/local/bin/wkhtmltopdf /usr/bin
sudo cp /usr/local/bin/wkhtmltoimage /usr/bin

(4) Restart Odoo server and then try again.

Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari

アバター
破棄
関連投稿 返信 ビュー 活動
1
9月 22
3444
1
12月 24
1012
2
8月 24
3464
1
1月 24
1006
2
10月 23
2695