Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
When running Translations -> Synchronise Terms the application throws the following error (Openerp v7). It seems that when translator is looking up terms in module files, there's something wrong in encoding. I just don't know what I should look from.
The module file seems to be in utf-8, and by quick browsing it does not contain any special characters. Is there something else that should be noted in modules so that the translator is able to process them?
2015-01-27 11:52:29,408 12011 ERROR XXX_DEV openerp.tools.translate: Failed to extract terms from /opt/openerp/server/openerp/addons/xx/xx.py
Traceback (most recent call last):
File "/opt/openerp/server/openerp/tools/translate.py", line 878, in babel_extract_terms
File "/usr/lib/python2.7/dist-packages/babel/messages/extract.py", line 275, in extract
for lineno, funcname, messages, comments in results:
File "/usr/lib/python2.7/dist-packages/babel/messages/extract.py", line 369, in extract_python
value = value.decode(encoding)[1:].strip()
File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe4 in position 14: invalid continuation byte
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 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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 1/27/15, 7:28 AM|
|Seen: 752 times|
|Last updated: 12/27/16, 4:02 AM|