validate an invoice generate UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 5: ordinal not in range(128)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
New
|
Undecided
|
OpenERP Publisher's Warranty Team |
Bug Description
Hi There,
OS : Ubuntu 12/04 LTS
OpenERP version 7
language : french
Hi there,
When trying to validate an invoice it fails giving this stack trace. This error happen while it tries to post the 'account.
The french translation of "validated" is "validé". I don't get the error running the database localy on my machin under windows.
Client Traceback (most recent call last):
File "/opt/openerp7/
response[
File "/opt/openerp7/
return req.session.
File "/opt/openerp7/
r = self.proxy(
File "/opt/openerp7/
result = self.session.
File "/opt/openerp7/
raise xmlrpclib.
Server Traceback (most recent call last):
File "/opt/openerp7/
return openerp.
File "/opt/openerp7/
result = ExportService.
File "/opt/openerp7/
res = fn(db, uid, *params)
File "/opt/openerp7/
return f(self, dbname, *args, **kwargs)
File "/opt/openerp7/
res = self.exec_
File "/opt/openerp7/
return object.
File "/opt/openerp7/
result[res_id] = wf_service.
File "/opt/openerp7/
res2 = instance.
File "/opt/openerp7/
workitem.
File "/opt/openerp7/
ok = _split_test(cr, workitem, activity[
File "/opt/openerp7/
_join_test(cr, t[0], t[1], ident, stack)
File "/opt/openerp7/
create(
File "/opt/openerp7/
process(cr, res, ident, stack=stack)
File "/opt/openerp7/
result = _execute(cr, workitem, activity, ident, stack)
File "/opt/openerp7/
returned_action = wkf_expr.
File "/opt/openerp7/
return _eval_expr(cr, ident, workitem, activity['action'])
File "/opt/openerp7/
ret = eval(line, env, nocopy=True)
File "/opt/openerp7/
return eval(test_
File "", line 1, in <module>
File "/opt/openerp7/
return attr(self._cr, self._uid, [self._id], *args, **kwargs)
File "/opt/openerp7/
return super(account_
File "/opt/openerp7/
self.
File "/opt/openerp7/
message = format_message('', tracked_values)
File "/opt/openerp7/
message += '%s</div>' % change.
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 5: ordinal not in range(128)
Thanks for your help.
Kind regards,
Houssine
Changed in openobject-addons: | |
assignee: | nobody → OpenERP Publisher's Warranty Team (openerp-opw) |
tags: | added: maintenance |
Hi,
I would like to add that under windows I'm running OpenERP under an eclipse/pydev environment. And my PyDev conf is probably set with an utf-8 default encoding.
Regards,
Houssine