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

Webkit render error - what could be wrong?

By
Antanas
on 5/15/13, 4:01 AM 1,554 views

Hello,

I have installed base_headers_webkit, invoice_webkit, report_webkit, sale_order_webkit modules, custom webkit invoice module, added system parameter for wkhtmltopdf location, Mako is installed.

I have no idea what could be wrong. Am I missing something? When I click on "Webkit invoice" I am constantly getting:

Webkit render!



Traceback (most recent call last):
File "/home/atman/Envs/erp/local/lib/python2.7/site-packages/openerp-7.0_20130514_231031-py2.7.egg/openerp/addons/report_webkit/webkit_report.py", line 278, in create_single_pdf
**self.parser_instance.localcontext)
File "/home/atman/Envs/erp/local/lib/python2.7/site-packages/mako/template.py", line 443, in render
return runtime._render(self, self.callable_, args, data)
File "/home/atman/Envs/erp/local/lib/python2.7/site-packages/mako/runtime.py", line 783, in _render
**_kwargs_for_callable(callable_, data))
File "/home/atman/Envs/erp/local/lib/python2.7/site-packages/mako/runtime.py", line 815, in _render_context
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
File "/home/atman/Envs/erp/local/lib/python2.7/site-packages/mako/runtime.py", line 841, in _exec_template
callable_(context, *args, **kwargs)
File "memory:0xb022eec", line 31, in render_body
<td>${company.partner_id.name |entity}</td>
File "/home/atman/Envs/erp/local/lib/python2.7/site-packages/mako/filters.py", line 92, in escape_entities
return str(text).translate(self.codepoint2entity)
TypeError: expected a character buffer object
0
Antanas
On 5/15/13, 5:44 AM

Did reinstall on system globally, and no errors any more. The only difference in configuration - installed "account" module, so probably this was the cause.

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

0 follower(s)

Stats

Asked: 5/15/13, 4:01 AM
Seen: 1554 times
Last updated: 3/16/15, 8:10 AM