Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Unable to find Wkhtmltopdf on this system. The report will be shown in html.

By
Madura
on 7/14/14, 5:29 AM 20,106 views

Can anyone help me to resolve this? I tried installing wkhtml and added syst6em parameter, but still getting the same error. Any help would be greatly appreciated.

Thank You.

 

Please check your system contains wkhtmltopdf. If it is not then install it.

Remya
on 7/14/14, 5:40 AM

Hello Remiya, I have installed it using http://fedir.github.io/web/blog/2013/09/25/install-wkhtmltopdf-on-ubuntu/ but still i'm getting the same error.

Madura
on 7/14/14, 5:47 AM

under this post Luke has been posted the real solution... @Luke Thank You... :)

Madura
on 7/17/14, 7:20 AM
-1
Madura
On 7/14/14, 5:50 AM

@ Luke, about the answer u have posted, in there I have tried the solution but still getting the same error. :( 

try the following to remove any apt-get packages (as they are currently an older version not suitable for the Odoo 8.0 branch): sudo apt-get --purge remove wkhtmltopdf - y sudo wget http://jaist.dl.sourceforge.net/project/wkhtmltopdf/0.12.1/wkhtmltox-0.12.1_linux-trusty-amd64.deb sudo dpkg -i wkhtmltox-0.12.1_linux-trusty-amd64.deb sudo cp /usr/local/bin/wkhtmltopdf /usr/bin sudo cp /usr/local/bin/wkhtmltoimage /usr/bin post back if there are any errors in the process (eg. wget fails). Odoo v8.0 (RC1) currently seems to require Wkhtmltopdf 0.12.1 so a manual download and dpkg is required. If this fails please let me know what distribution you are using (eg. Ubuntu, Centos, etc.) and what version (eg. Ubuntu 14.04 server 64 bit). As the issue may be due to the fact the package you are trying to install is unsuitable for the system you have installed it on.

Luke Branch
on 7/14/14, 6:14 AM

@Luke, Thank you for ur help. But still i'm getting error while trying to print "Sales Orders". here is machine spec: Ubuntu 13.04 (GNU/Linux 3.8.0-29-generic x86_64)

Madura
on 7/15/14, 3:37 AM

try the following to remove any apt-get packages (as they are currently an older version not suitable for the Odoo 8.0 branch): sudo apt-get --purge remove wkhtmltopdf - y sudo rm -rf /usr/bin/wkhtmltopdf sudo rm -rf /usr/bin/wkhtmltoimage sudo rm -rf wkhtmltox-0.12.1_linux-trusty-amd64.deb sudo wget http://jaist.dl.sourceforge.net/project/wkhtmltopdf/0.12.2-dev/wkhtmltox-0.12.2-6a13a51_linux-precise-amd64.deb sudo dpkg -i wkhtmltox-0.12.2-6a13a51_linux-precise-amd64.deb sudo cp /usr/local/bin/wkhtmltopdf /usr/bin sudo cp /usr/local/bin/wkhtmltoimage /usr/bin This wkhtmltopdf version is designed for an earlier version of Ubuntu (12.04 - Precise Pangolin).

Luke Branch
on 7/15/14, 4:15 AM

@Luke I tried the it with ur latest solution also but getting the same error :( ... is that need to chage the ownership of " /usr/bin/wkhtmltopdf " this to openerp user? currently it's under root.

Madura
on 7/15/14, 6:10 AM

Hi Madura, Are you on a clean Ubuntu install, or has this Ubuntu install been used for other purposes previously? There are a huge number of factors that could be causing these issues so therefore I would suggest that you do the following: 1) download and install a copy of Ubuntu 14.04 server edition (http://releases.ubuntu.com/14.04/). Only run the setup and then go to step #2 when you have a command prompt. 2) wget https://raw.githubusercontent.com/lukebranch/openerp-install-scripts/master/odoo-saas4/ubuntu-14-04/odoo_install.sh 3) sudo sh odoo_install.sh 4) the script will then run and install all the required dependencies and setup everything for you. Once it is complete follow the instructions on the screen and reboot the machine. Once you reboot you should be able to access Odoo on your locale (ie. Ubuntu install) by typing into a browser "0.0.0.0:8072" and you should be able to see it on the local network as "http://[insert_your_server_ip_here]:8072".

Madura
on 7/17/14, 7:18 AM

Hi Luke ... Thank you very much for your help.... :) it worked and it saved my day. This is the real solution for the "wkhtmltopdf" problem...:) thank you again..:)

Madura
on 7/17/14, 7:18 AM
0

Luke Branch

--Luke Branch--
1531
| 6 7 8
Mui Wo, Lantau, Hong Kong
--Luke Branch--

...

Luke Branch
On 7/14/14, 5:43 AM

Please refer to this post:

https://www.odoo.com/forum/Help-1/question/How-to-add-wkhtmltopdf-as-a-sytem-parameter-in-OpenERP-56486#answer-56501

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

3 follower(s)

Stats

Asked: 7/14/14, 5:29 AM
Seen: 20106 times
Last updated: 3/16/15, 8:10 AM