ODOO Unable To Find Wkhtmltopdf On This System. Error/Bug ?
If you are using ODOO version 8 and getting some error like –
Unable to find Wkhtmltopdf on this system. The report will be shown in html.
It means you need to upgrade the version of Wkhtmltopdf library on your server.
Let me elaborate this problem first-
As we all know, when we install ODOO-version 8 on the server, we have also install some necessary libraries too like – python-decorator, python-werkzeug and many more libraries. ” Wkhtmltopdf ” is also one of them. Now, lets come to the main problem, when we install “wkhtmltopdf” on server, using command like –
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. So this is not a ODOO Error, but we can say it`s a wkhtmltopdf issue(moreover it`s a version issue).
Solution is to upgrade ” wkhtmltopdf ” to 0.12.1 like this –
1) Download wkhtmltopdf version from wkhtmltopdf depending on your system arch (32 or 64 bit) –
# For 64-bit - Linux (Ubuntu Trusty) - Ubuntu 14.04
sudo
wget http:
//sourceforge
.net
/projects/wkhtmltopdf/files/archive/0
.12.1
/wkhtmltox-0
.12.1_linux-trusty-amd64.deb
# For 64-bit - Centos- 7.1.1503 (Core)
sudo
wget http:
//sourceforge
.net
/projects/wkhtmltopdf/files/archive/0
.12.1
/wkhtmltox-0
.12.1_linux-centos7-amd64.rpm
2) Install the downloaded package as –
# For Ubuntu
sudo
dpkg -i wkhtmltox-0.12.1_linux-trusty-amd64.deb
# For Centos
sudo
rpm -Uvh wkhtmltox-0.12.1_linux-centos7-amd64.rpm
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.
That`s it !!! I hope it will help someone.
[stextbox id=”info”]Your opinions, comments and suggestions are important to keep the page updated and interesting. [/stextbox]
ODOO Unable To Find Wkhtmltopdf On This System. Error/Bug ?的更多相关文章
- 在Debian8.3中解决Odoo出现的问题:Unable to find Wkhtmltopdf on this system. The report will be shown in html.
解决Odoo出现的问题:Unable to find Wkhtmltopdf on this system. The report will be shown in html. 下载wkhtmltop ...
- Unable to open the physical file xxxx. Operating system error 2
在新UAT服务器上,需要将tempdb放置在SSD(固态硬盘)上.由于SSD(固态硬盘)特性,所以tempdb的文件只能放置在D盘下面,而不能是D盘下的某一个目录下面. ALTER DATABASE ...
- Unable to cast object of type 'System.Int32' to type 'System.Array'.
x 入职了新公司.最近比较忙...一看博客...更新频率明显少了...罪过罪过... 新公司用ASP.NET MVC 遇上一个错误: Unable to cast object of type 'Sy ...
- Unable to cast object of type 'System.Int32' to type 'System.String'.
最近在研究.netcore,尝试把前后端完全分离.但是在写接口的时候,Post参数是FromBody的时候报错了 Microsoft.AspNetCore.Diagnostics.DeveloperE ...
- System Error Codes
很明显,以下的文字来自微软MSDN 链接http://msdn.microsoft.com/en-us/library/windows/desktop/ms681382(v=vs.85).aspx M ...
- LogWriter: Operating system error 21(error not found) encountered
一台老旧的数据库服务器(SQL Server 2005)突然报如下错误,而且数据库处于RECOVERY PENDING ,检查错误日志,发现这个错误是突然出现的.没有任何其它人为误操作导致 Dat ...
- Oracle:ORA-09925 and linux Read-only file system error
今天上午有同事反映应用数据库连接不上:于是排查数据库: [oracle@db ~]$ sqlplus / as sysdba SQL*Plus: Release - Production on Thu ...
- DBCC CHECKDB 遭遇Operating system error 112(failed to retrieve text for this error. Reason: 15105) encountered
我们一个SQL Server服务器在执行YourSQLDBa的作业YourSQLDba_FullBackups_And_Maintenance时遇到了错误: Exec YourSQLDba.Maint ...
- CREATE FILE encountered operating system error 5(Access is denied.)
这篇博文主要演示"CREATE FILE encountered operating system error 5(Access is denied.)"错误如出现的原因(当然只是 ...
随机推荐
- java中Math.abs(-2147483648)的返回值应该是什么?
我觉得这是一个非常有意思的问题,Math.abs(-2147483648)的返回值应该是什么? java计算结果 为什么没有得到正数结果呢? 首先我们先看下java区分整数正负的原理.在二进制的情况下 ...
- JSON格式数据的js操作
第一种方式: 使用js函数eval(); testJson=eval(testJson);是错误的转换方式. 正确的转换方式需要加(): testJson = eval("(" + ...
- virgo-tomcat没有任务错误日志的停掉的解决办法
最近virgo-tomcat总是无缘无故的down掉,用了下面的几种方法来解决这个问题,具体哪个方法生效了,目前还不清楚...1. 删掉了home/logs下面的很大的日志文件 2. 在.bash_p ...
- (21)python Anaconda
1.安装 Anaconda下载镜像 --官网下载太慢 https://mirrors.tuna.tsinghua.edu.cn/help/anaconda/ 下载安装后 2.添加第三方源 管 ...
- CF 990C. Bracket Sequences Concatenation Problem【栈/括号匹配】
[链接]:CF [题意]: 给出n个字符串,保证只包含'('和')',求从中取2个字符串链接后形成正确的括号序列的方案数(每个串都可以重复使用)(像'()()'和'(())'这样的都是合法的,像')( ...
- 线段树+差分【p1438】无聊的数列
Description 维护一个数列{a[i]},支持两种操作: 1.1 L R K D:给出一个长度等于R-L+1的等差数列,首项为K,公差为D,并将它对应加到a[L]~a[R]的每一个数上.即:令 ...
- python aiohttp sancio 框架性能测试
开头先啰嗦两句: 由于本人有开发一个博客的打算,所以近期开始选型python的web框架重头学习,选了两款非常火的 aio web框架 aiohttp 和 sancio 进行性能测试以及开发喜好的调研 ...
- [BZOJ5463][APIO2018]铁人两项(圆方树DP)
题意:给出一张图,求满足存在一条从u到v的长度大于3的简单路径的有序点对(u,v)个数. 做了上一题[HDU5739]Fantasia(点双连通分量+DP),这个题就是一个NOIP题了. 一开始考虑了 ...
- 【AC自动机】【高斯消元】hdu5955 Guessing the Dice Roll
http://blog.csdn.net/viphong/article/details/53098489 我有一点不是很懂,这样算出来转移到AC自动机根节点的概率是一个远大于1的数. 按我的理解,因 ...
- 【后缀数组】uoj#35. 后缀排序
模板 #include<cstdio> #include<algorithm> #include<cstring> using namespace std; #de ...