Anyone experienced this error? Any solution to this?
TypeError: translate_call() takes exactly 2 arguments (3 given)
2014-07-23 10:16:55,537 4676 ERROR mikes-demo openerp.service.web_services: Exception: (u'Webkit render', u'\n\nTraceback (most recent call last):\n File "/opt/openerp/v7/addons/account_financial_report_webkit/report/webkit_parser_header_fix.py", line 228, in create_single_pdf\n **parser_instance.localcontext)\n File "/usr/lib/python2.7/dist-packages/mako/template.py", line 443, in render\n return runtime._render(self, self.callable_, args, data)\n File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 783, in _render\n **_kwargs_for_callable(callable_, data))\n File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 815, in _render_context\n _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)\n File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 841, in _exec_template\n callable_(context, *args, **kwargs)\n File "memory:0xaf14f8acL", line 22, in render_body\n <%\nTypeError: translate_call() takes exactly 2 arguments (3 given)\n')
Traceback (most recent call last):
File "/opt/openerp/v7/server/openerp/service/web_services.py", line 712, in go
(result, format) = obj.create(cr, uid, ids, datas, context)
File "/opt/openerp/v7/addons/report_webkit/webkit_report.py", line 340, in create
result = self.create_source_pdf(cursor, uid, ids, data, report_xml, context)
File "/opt/openerp/v7/server/openerp/report/report_sxw.py", line 511, in create_source_pdf
return self.create_single_pdf(cr, uid, ids, data, report_xml, context)
File "/opt/openerp/v7/addons/account_financial_report_webkit/report/webkit_parser_header_fix.py", line 233, in create_single_pdf
raise except_osv(_('Webkit render'), msg)
except_osv: (u'Webkit render', u'\n\nTraceback (most recent call last):\n File "/opt/openerp/v7/addons/account_financial_report_webkit/report/webkit_parser_header_fix.py", line 228, in create_single_pdf\n **parser_instance.localcontext)\n File "/usr/lib/python2.7/dist-packages/mako/template.py", line 443, in render\n return runtime._render(self, self.callable_, args, data)\n File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 783, in _render\n **_kwargs_for_callable(callable_, data))\n File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 815, in _render_context\n _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)\n File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 841, in _exec_template\n callable_(context, *args, **kwargs)\n File "memory:0xaf14f8acL", line 22, in render_body\n <%\nTypeError: translate_call() takes exactly 2 arguments (3 given)\n')
2014-07-23 10:16:55,595 4676 ERROR mikes-demo openerp.netsvc: Webkit render
Traceback (most recent call last):
File "/opt/openerp/v7/addons/account_financial_report_webkit/report/webkit_parser_header_fix.py", line 228, in create_single_pdf
**parser_instance.localcontext)
File "/usr/lib/python2.7/dist-packages/mako/template.py", line 443, in render
return runtime._render(self, self.callable_, args, data)
File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 783, in _render
**_kwargs_for_callable(callable_, data))
File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 815, in _render_context
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 841, in _exec_template
callable_(context, *args, **kwargs)
File "memory:0xaf14f8acL", line 22, in render_body
<%
TypeError: translate_call() takes exactly 2 arguments (3 given)
Traceback (most recent call last):
File "/opt/openerp/v7/server/openerp/netsvc.py", line 296, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/opt/openerp/v7/server/openerp/service/web_services.py", line 654, in dispatch
res = fn(db, uid, *params)
File "/opt/openerp/v7/server/openerp/service/web_services.py", line 760, in exp_report_get
return self._check_report(report_id)
File "/opt/openerp/v7/server/openerp/service/web_services.py", line 738, in _check_report
netsvc.abort_response(exc, exc.message, 'warning', exc.traceback)
File "/opt/openerp/v7/server/openerp/netsvc.py", line 71, in abort_response
raise openerp.osv.osv.except_osv(description, details)
except_osv: (u'Webkit render', u'\n\nTraceback (most recent call last):\n File "/opt/openerp/v7/addons/account_financial_report_webkit/report/webkit_parser_header_fix.py", line 228, in create_single_pdf\n **parser_instance.localcontext)\n File "/usr/lib/python2.7/dist-packages/mako/template.py", line 443, in render\n return runtime._render(self, self.callable_, args, data)\n File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 783, in _render\n **_kwargs_for_callable(callable_, data))\n File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 815, in _render_context\n _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)\n File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 841, in _exec_template\n callable_(context, *args, **kwargs)\n File "memory:0xaf14f8acL", line 22, in render_body\n <%\nTypeError: translate_call() takes exactly 2 arguments (3 given)\n')
From the browser, the error is:
Uncaught SyntaxError: Unexpected end of input
http://localhost:8092/?db=mike-demo&ts=1406110570942#page=0&limit=80&view_type=list&model=account.invoice&menu_id=225&action=246:0
I am also facing same error... I am not able to GL report at all. Not able to find any work-around in the google... :( highly disappointed...
i get the same thing as well. i will post an update if i get to solve the problem.
Is there a fix for this problem? I have this problem on one machine. On an other it works. There is a difference on the machine in the mako versions. With mako 0.5.0 it works. With mako 0.7.0 it does not work. Is there someone who can tell me how I remove mako 0.7.0 and replace it by mako 0.5.0. I don't know if this is a solution but I wanna give it a try.
Hi Friends, I am also facing same error, if anybody fix then please provide me how to fix it. waiting for your valuable guidance.