This question has been flagged
1 Reply
3814 Views

Hello again all!

I'm trying to Synchronize the translation and the process can't finish. I get an error. 

Odoo 8.0

Someon could help? Thanks

Here is the error : 

OpenERP Server Error

Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 500, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 517, in dispatch result = self._call_function(**self.params) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 283, in _call_function return checked_call(self.db, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/service/model.py", line 113, in wrapper return f(dbname, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 280, in checked_call return self.endpoint(*a, **kw) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 733, in __call__ return self.method(*args, **kw) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 376, in response_wrap response = f(*args, **kw) File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 948, in call_button action = self._call_kw(model, method, args, {}) File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 936, in _call_kw return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 237, in wrapper return old_api(self, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/addons/base/module/wizard/base_update_translations.py", line 47, in act_update tools.trans_export(this.lang, ['all'], buf, 'csv', cr) File "/usr/lib/python2.7/dist-packages/openerp/tools/translate.py", line 510, in trans_export _process(format, modules, translations, buffer, lang) File "/usr/lib/python2.7/dist-packages/openerp/tools/translate.py", line 458, in _process writer.writerow((module, type, name, res_id, src, trad)) UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-2: ordinal not in range(128)

Avatar
Discard
Author

I already have this post. Not easy. http://stackoverflow.com/questions/9942594/unicodeencodeerror-ascii-codec-cant-encode-character-u-xa0-in-position-20

Author Best Answer

No more error... It works now. I can synchronize now. No idea of what was the problem.  Thanks

 

Avatar
Discard