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

RML editor error "'ascii' codec can't encode character u'\xb0' in position 11235: ordinal not in range(128)" on OpenERP 7

rml
By
Adam Cotton
on 10/4/16, 10:47 AM 134 views

I have installed the "Edition of RML Reports" module (base_rml_edit) module on OpenERP 7. 

When I edit a report and go to save, I get the error: 

OpenERP Server ErrorClient Traceback (most recent call last):
  File "/opt/openerp/server/openerp/addons/web/http.py", line 204, in dispatch    response["result"] = method(self, **self.params)  File "/opt/openerp/server/openerp/addons/web/controllers/main.py", line 1128, in call_kw    return self._call_kw(req, model, method, args, kwargs)  File "/opt/openerp/server/openerp/addons/web/controllers/main.py", line 1120, in _call_kw    return getattr(req.session.model(model), method)(*args, **kwargs)  File "/opt/openerp/server/openerp/addons/web/session.py", line 42, in proxy    result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)  File "/opt/openerp/server/openerp/addons/web/session.py", line 30, in proxy_method    result = self.session.send(self.service_name, method, *args)  File "/opt/openerp/server/openerp/addons/web/session.py", line 103, in send    raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)

Server Traceback (most recent call last):
  File "/opt/openerp/server/openerp/addons/web/session.py", line 89, in send    return openerp.netsvc.dispatch_rpc(service_name, method, args)  File "/opt/openerp/server/openerp/netsvc.py", line 292, in dispatch_rpc    result = ExportService.getService(service_name).dispatch(method, params)  File "/opt/openerp/server/openerp/service/web_services.py", line 626, in dispatch    res = fn(db, uid, *params)  File "/opt/openerp/server/openerp/osv/osv.py", line 188, in execute_kw    return self.execute(db, uid, obj, method, *args, **kw or {})  File "/opt/openerp/server/openerp/osv/osv.py", line 131, in wrapper    return f(self, dbname, *args, **kwargs)  File "/opt/openerp/server/openerp/osv/osv.py", line 197, in execute    res = self.execute_cr(cr, uid, obj, method, *args, **kw)  File "/opt/openerp/server/openerp/osv/osv.py", line 185, in execute_cr    return getattr(object, method)(cr, uid, *args, **kw)  File "/opt/openerp/server/openerp/addons/report_webkit/ir_report.py", line 116, in write    res = super(ReportXML, self).write(cr, uid, ids, vals, context)  File "/opt/openerp/server/openerp/osv/orm.py", line 4182, in write    result += self._columns[field].set(cr, self, id, field, vals[field], user, context=rel_context) or []  File "/opt/openerp/server/openerp/osv/fields.py", line 1147, in set    self._fnct_inv(obj, cr, user, id, name, value, self._fnct_inv_arg, context)  File "/opt/openerp/server/openerp/addons/base_rml_edit/ir_actions.py", line 38, in _report_content_txt_inv    self.write(cr,uid,id,{'report_rml_content':str(value)},context=context)UnicodeEncodeError: 'ascii' codec can't encode character u'\xb0' in position 11235: ordinal not in range(128)

Can anyone tell me the problem? I am using Windows 8, not Ubuntu in this case. 

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

1 follower(s)

Stats

Asked: 10/4/16, 10:47 AM
Seen: 134 times
Last updated: 10/4/16, 5:11 PM