Odoo Help


DataError invalid byte sequence for encoding UTF8

Gaetan Moyse
on 11/10/13, 11:10 AM 2,793 views

Hello, I have make a test with Windows 2012 R2 an Ubuntu 13.10 Server. I h'ave the same problme at the installation of Ingram Module of BHC.

OpenERP Server Error

Client Traceback (most recent call last): File "/opt/openerp/web/addons/web/http.py", line 204, in dispatch response["result"] = method(self, *self.params) File "/opt/openerp/web/addons/web/controllers/main.py", line 1132, in call_button action = self._call_kw(req, model, method, args, {}) File "/opt/openerp/web/addons/web/controllers/main.py", line 1120, in _call_kw return getattr(req.session.model(model), method)(args, **kwargs) File "/opt/openerp/web/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/web/addons/web/session.py", line 30, in proxy_method result = self.session.send(self.service_name, method, *args) File "/opt/openerp/web/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/web/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/base/module/wizard/base_module_upgrade.py", line 90, in upgrade_module pooler.restart_pool(cr.dbname, update_module=True) File "/opt/openerp/server/openerp/pooler.py", line 39, in restart_pool registry = RegistryManager.new(db_name, force_demo, status, update_module) File "/opt/openerp/server/openerp/modules/registry.py", line 218, in new openerp.modules.load_modules(registry.db, force_demo, status, update_module) File "/opt/openerp/server/openerp/modules/loading.py", line 354, in load_modules loaded_modules, update_module) File "/opt/openerp/server/openerp/modules/loading.py", line 256, in load_marked_modules loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks) File "/opt/openerp/server/openerp/modules/loading.py", line 216, in load_module_graph modobj.update_translations(cr, SUPERUSER_ID, [module_id], None) File "/opt/openerp/server/openerp/addons/base/module/module.py", line 761, in update_translations self.pool.get('ir.translation').load(cr, modules, filter_lang, context=context) File "/opt/openerp/server/openerp/addons/base/ir/ir_translation.py", line 447, in load tools.trans_load(cr, base_trans_file, lang, verbose=False, module_name=module_name, context=context) File "/opt/openerp/server/openerp/tools/translate.py", line 922, in trans_load result = trans_load_data(cr, fileobj, fileformat, lang, verbose=verbose, module_name=module_name, context=context) File "/opt/openerp/server/openerp/tools/translate.py", line 1003, in trans_load_data irt_cursor.push(dic) File "/opt/openerp/server/openerp/addons/base/ir/ir_translation.py", line 84, in push params) File "/opt/openerp/server/openerp/sql_db.py", line 161, in wrapper return f(self, args, *kwargs) File "/opt/openerp/server/openerp/sql_db.py", line 226, in execute res = self._obj.execute(query, params) DataError: invalid byte sequence for encoding "UTF8": 0xe9676f

Gaetan Moyse
On 11/11/13, 6:09 AM

The error is in the file i18n/fr.po After delete the file, the module can be installed

The module is Ingram connector of BHC

a solution :

Solution: Open i18n/fr.po with eg UltraEdit

Then save the file in UTF8 format.

Gaetan Moyse
on 11/12/13, 3:37 PM

About This Community

This platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 11/10/13, 11:10 AM
Seen: 2793 times
Last updated: 9/29/16, 9:58 AM