c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #10603
[Bug 696886] [NEW] [6.0] webkit report sample - UTF-8 error
Public bug reported:
Traceback (most recent call last):
File "/home2/gass/OpenERP/trunk/openobject-server/bin/addons/report_webkit/webkit_report.py", line 285, in create_single_pdf
**self.parser_instance.localcontext
File "/usr/lib/python2.6/site-packages/mako/template.py", line 189, in render
return runtime._render(self, self.callable_, args, data)
File "/usr/lib/python2.6/site-packages/mako/runtime.py", line 403, in _render
_render_context(template, callable_, context, *args, **_kwargs_for_callable(callable_, data))
File "/usr/lib/python2.6/site-packages/mako/runtime.py", line 434, in _render_context
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
File "/usr/lib/python2.6/site-packages/mako/runtime.py", line 457, in _exec_template
callable_(context, *args, **kwargs)
File "memory:0x68f5050", line 45, in render_body
<tr><td>${inv.name}</td><td>${formatLang(inv.date_invoice, date=True)|entity}</td><td> </td></tr>
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf6' in position 2: ordinal not in range(128)
inv.name = "GKö 6.8 - 8.6"
after changing to "GKoe 6.8 - 8.6" no more error
** Affects: openobject-addons
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/696886
Title:
[6.0] webkit report sample - UTF-8 error
Status in OpenObject Addons Modules:
New
Bug description:
Traceback (most recent call last):
File "/home2/gass/OpenERP/trunk/openobject-server/bin/addons/report_webkit/webkit_report.py", line 285, in create_single_pdf
**self.parser_instance.localcontext
File "/usr/lib/python2.6/site-packages/mako/template.py", line 189, in render
return runtime._render(self, self.callable_, args, data)
File "/usr/lib/python2.6/site-packages/mako/runtime.py", line 403, in _render
_render_context(template, callable_, context, *args, **_kwargs_for_callable(callable_, data))
File "/usr/lib/python2.6/site-packages/mako/runtime.py", line 434, in _render_context
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
File "/usr/lib/python2.6/site-packages/mako/runtime.py", line 457, in _exec_template
callable_(context, *args, **kwargs)
File "memory:0x68f5050", line 45, in render_body
<tr><td>${inv.name}</td><td>${formatLang(inv.date_invoice, date=True)|entity}</td><td> </td></tr>
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf6' in position 2: ordinal not in range(128)
inv.name = "GKö 6.8 - 8.6"
after changing to "GKoe 6.8 - 8.6" no more error
Follow ups
-
[Bug 696886] Re: [6.0] webkit report sample - UTF-8 error
From: Anup(OpenERP), 2011-05-23
-
[Bug 696886] Re: [6.0] webkit report sample - UTF-8 error
From: Launchpad Bug Tracker, 2011-03-17
-
[Bug 696886] Re: [6.0] webkit report sample - UTF-8 error
From: Nicolas Bessi - Camptocamp, 2011-03-14
-
[Bug 696886] Re: [6.0] webkit report sample - UTF-8 error
From: Szappanyos Zoltán, 2011-01-31
-
[Bug 696886] Re: [6.0] webkit report sample - UTF-8 error
From: Nicolas Bessi - Camptocamp, 2011-01-19
-
[Bug 696886] Re: [6.0] webkit report sample - UTF-8 error
From: Nicolas Bessi - Camptocamp, 2011-01-07
-
[Bug 696886] Re: [6.0] webkit report sample - UTF-8 error
From: Jas(OpenERP), 2011-01-04
-
[Bug 696886] Re: [6.0] webkit report sample - UTF-8 error
From: Ferdinand @ Camptocamp, 2011-01-03
-
[Bug 696886] Re: [6.0] webkit report sample - UTF-8 error
From: Ferdinand @ Camptocamp, 2011-01-03
-
[Bug 696886] [NEW] [6.0] webkit report sample - UTF-8 error
From: Ferdinand @ Camptocamp, 2011-01-03
References