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
Billiard R Made
on 9/26/14, 7:50 AM 16,042 views

I am using odoo on Windows 8 64bit.  I have installed Wkhtmltopdf to and in System Parameters I have set 

Key as       webkit_path

Value as    C:\Program Files\wkhtmltopdf\bin\wkhtmltopdf.exe

 

I still get the error below when I try to an invoice plus the report does not even come out in html.

 

Report

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

wkhtmltopdf.org

I'm having this same issue on on Ubuntu VPS 14.04

Brandon Fox
on 10/4/14, 6:47 AM
For Windows this is the answer but I have no knowledge of Linux

Control panel -> System -> 
    Advanced System Settings -> Advanced -> Environment variables

Add the following to your path right at the end 
;C:\Program Files\wkhtmltopdf\bin

On 4 October 2014 12:47, Brandon Fox <bfox@foxtrot.farm> wrote:

I'm having this same issue on on Ubuntu VPS 14.04

--
Brandon Fox
Sent by OpenERP S.A. using Odoo about Forum Post Unable to find Wkhtmltopdf on this system. The report will be shown in html

Billiard R Made
on 10/6/14, 2:45 AM
2
Brice MUANGKHOT
On 9/30/14, 12:23 PM

I have exactly the same error, but in Ubuntu 14.04, the problem comes from the PATH definition. Make sure that PATH contains /usr/locan/bin (where mkhtmltopdf is installed) in the case of Ubuntu, specifically in a startup file, like /etc/init.d/odoo-server.

 

 

0
Boniface Irungu
On 11/11/15, 3:27 AM

On Ubuntu 14.04 try this

Download file

sudo wget http://download.gna.org/wkhtmltopdf/0.12/0.12.1/wkhtmltox-0.12.1_linux-trusty-amd64.deb

Navigate to downloaded directory and install package

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

Copy the files for your odoo user accessibility

Navigate to installation DIR cd /usr/local/bin

Copy

sudo cp wkhtmltoimage /usr/bin/wkhtmltoimage

sudo cp wkhtmltopdf /usr/bin/wkhtmltopdf

Restart your Odoo Server and Enjoy.

0
Damodar D.
On 10/6/14, 10:54 AM

I've tried In W7 64b -> Control panel -> System -->   Advanced System Settings -> Advanced -> Environment variables and found the value path then added ;C:\Program Files\wkhtmltopdf\bin at the end of value.

At Odoo settings-> System parameter -> Key:  webkit_path   Value:  C:\PROGRA~1\wkhtmltopdf\bin\wkhtmltopdf.exe then reboot.

Now it seems to work but it generates a PDF without footer, but HTML is fine, any clue?

 

Update Odoo to the latest version.

GH Mediacloud, Grover Menacho
on 10/6/14, 12:06 PM

@GH Mediaclud, I've updated and now its generating PDF without footer, changed to HTML and footer is right... I've followed https://github.com/odoo/odoo/issues/1105 but footer still missing, did you fix it?

Damodar D.
on 10/6/14, 2:17 PM
0
Vincent MENARD
On 9/30/14, 5:05 PM

Hi, 

I had this issue resolved on windows 7 by modifying the PATH environment variable. Add at the end of the line ;C:\Program Files\wkhtmltopdf\bin\

then restart the system. 

If you run wkhtmltopdf in a command window and get the help description, then you are good.

 

Windows environment yes thanks

Billiard R Made
on 10/2/14, 3:01 AM
0

Ludo - Neobis

--Ludo - Neobis--
2387
| 2 2 5
Hoogvliet, Netherlands
--Ludo - Neobis--

Developer

Ludo - Neobis
On 9/26/14, 9:40 AM

Did you restart your server? It might pick it up when starting OpenERP.

Yes I restarted my server but the problem persists. Actually I restarted my computer. Is this a known bug or something to do with Windows?

Billiard R Made
on 9/26/14, 10:42 AM

Not that I know of, but then again I have no experience of running Odoo on windows.

Ludo - Neobis
on 9/29/14, 10:48 AM

I am going to install on a Windows machine. By monthend I will be the Windows man

Regards,

Billiard

On Sep 29, 2014 4:48 PM, "Ludo - Neobis" <ludo@neobis.nl> wrote:

Not that I know of, but then again I have no experience of running Odoo on windows.

--
Ludo - Neobis
Sent by OpenERP S.A. using Odoo about Forum Post False
Billiard R Made
on 9/30/14, 9:43 AM
0
Jojo Moreno
On 10/4/14, 4:00 AM

I'm encountering same problem uding bitnami odoo 8.. :(

 

modify the PATH environment variable. Add at the end of the line ;C:\Program Files\wkhtmltopdf\bin\ then restart the system. If you run wkhtmltopdf in a command window and get the help description, then you are good.

Billiard R Made
on 10/4/14, 5:36 AM

Issue from bitnami please?

Maël Camerlynck
on 10/13/14, 2:14 PM
0
Jaime Vasquez
On 9/26/14, 1:07 PM

I believe it's because the space between "Program Files", try enclosing the value with "" or better yet set as the old DOS style: C:\PROGRA~1\wkhtmltopdf\bin\wkhtmltopdf.exe

Restart odoo and try.

Jaime I tried your suggestion and still there is no joy. Is there anyone out there who is happily using Odoo version 8 on Windows 8 64bit?

Billiard R Made
on 9/27/14, 4:27 PM

Same error here on W7 64b... eager for good news...

Damodar D.
on 10/4/14, 6:03 PM
Control panel -> System -> 
    Advanced System Settings -> Advanced -> Environment variables

Add the following to your path right at the end 
C:\Program Files\wkhtmltopdf\bin

On 5 October 2014 00:03, Damodar D. <damodaranudas@gmail.com> wrote:

Same error here on W7 64b... eager for good news...

--
Damodar D.
Sent by OpenERP S.A. using Odoo about Forum Post False

Billiard R Made
on 10/6/14, 2:35 AM
Control panel -> System -> 
    Advanced System Settings -> Advanced -> Environment variables

Add the following to your path right at the end 
;C:\Program Files\wkhtmltopdf\bin

On 5 October 2014 00:03, Damodar D. <damodaranudas@gmail.com> wrote:

Same error here on W7 64b... eager for good news...

--
Damodar D.
Sent by OpenERP S.A. using Odoo about Forum Post False

Billiard R Made
on 10/6/14, 2:38 AM
0
DarioG2
On 10/4/14, 12:43 AM

I have the same problem. I've tried everything but without a positive reaction. The system always say that wkhtmltopdf could'nt be found.

On a Win7 32Bit System everything is OK, so it must be in the difference between 32 Bit and 64 Bit.

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

5 follower(s)

Stats

Asked: 9/26/14, 7:50 AM
Seen: 16042 times
Last updated: 11/11/15, 3:27 AM