openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #09949
[Bug 942679] Re: [report_webkit]Cannot print BVR invoices (Swiss version)
Hello,
I agree with Carlos Vásquez. The problem is due used package of wkhtmltopdf because
some versions of wkhtmltopdf are compiled against a version of QT without the wkhtmltopdf patches
and that's the reason certain commands are not being executed and raising error.
A higher version of 0.9.9 wkhtmltopdf should be saved at /usr/local/bin
as per said by Carlos.
I tried with wkhtmltopdf-0.11.0_rc1 and it works for me.
-> Install dependencies
sudo apt-get install openssl build-essential xorg libssl-dev
-> for 32bits OS
- wget http://wkhtmltopdf.googlecode.com/files/wkhtmltopdf-0.11.0_rc1-static-i386.tar.bz2
- tar xvjf wkhtmltopdf-0.11.0_rc1-static-i386.tar.bz2
- mv wkhtmltopdf-i386 /usr/local/bin/wkhtmltopdf
- chmod +x /usr/local/bin/wkhtmltopdf
Thanks!
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/942679
Title:
[report_webkit]Cannot print BVR invoices (Swiss version)
Status in OpenERP Addons (modules):
In Progress
Bug description:
Using lates OpenERP 6.1 on Ubuntu 11, 64 bits.
I have an invoice; and i'm trying to "Print BVR invoice" I get :
Client Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/http.py", line 260, in dispatch
r = method(controller, self, **self.params)
File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 1784, in index
req.session._db, req.session._uid, req.session._password, report_id)
File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/openerplib/main.py", line 117, in proxy
result = self.connector.send(self.service_name, method, *args)
File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/http.py", line 596, in send
fault = xmlrpclib.Fault('warning -- ' + e.name + '\n\n' + e.value, '')
TypeError: coercing to Unicode: need string or buffer, tuple found
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/942679/+subscriptions
References