openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #08906
[Bug 942679] Re: [report_webkit]Cannot print BVR invoices (Swiss version)
I get the same error Amit explained.
I use Ubuntu 11.10 with .deb OpenERP package downloaded and installed
from openerp.com, and access the server only through web client
(chrome).
On server side:
2012-03-12 14:25:40,941 14901 ERROR ? openerp.service.web_services: Exception: [Errno 2] No such file or directory: '/tmp/webkit.tmp.tlwkQM.pdf'
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 710, in go
(result, format) = obj.create(cr, uid, ids, datas, context)
File "/usr/lib/pymodules/python2.7/openerp/addons/report_webkit/webkit_report.py", line 325, in create
result = self.create_source_pdf(cursor, uid, ids, data, report_xml, context)
File "/usr/lib/pymodules/python2.7/openerp/report/report_sxw.py", line 511, in create_source_pdf
return self.create_single_pdf(cr, uid, ids, data, report_xml, context)
File "/usr/lib/pymodules/python2.7/openerp/addons/report_webkit/webkit_report.py", line 299, in create_single_pdf
pdf = self.generate_pdf(bin, report_xml, head, foot, htmls)
File "/usr/lib/pymodules/python2.7/openerp/addons/report_webkit/webkit_report.py", line 174, in generate_pdf
pdf = file(out_filename, 'rb').read()
IOError: [Errno 2] No such file or directory: '/tmp/webkit.tmp.tlwkQM.pdf'
2012-03-12 14:25:41,033 14901 ERROR ? openerp.netsvc: 2
No such file or directory
(<type 'exceptions.IOError'>, IOError(2, 'No such file or directory'), <traceback object at 0xb88a9b4>)
2012-03-12 14:25:41,033 14901 ERROR ? openerp.addons.web.common.http.HttpRequest.dispatch: An error occurred while handling a json request
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
On web client side:
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
Cheers.
--
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):
Confirmed
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