Odoo Help


UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 11: ordinal not in range(128)

on 4/3/16, 8:17 PM 2,393 views

I have installed by this guide(https://www.odoo.com/documentation/9.0/setup/install.html), from latest sources, server.

On start in log appears this message:

ivan@debian:~/Загрузки/odoo-9.0c-20160403$ ./odoo.py -r odoo -w odoo --addons-path=./openerp/addons
/home/ivan/Загрузки/odoo-9.0c-20160403/openerp/modules/module.py:88: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
if base_path not in ad_paths:
2016-04-03 23:53:34,805 2033 INFO ? openerp: OpenERP version 9.0c-20160403
2016-04-03 23:53:34,806 2033 INFO ? openerp: addons paths: ['/home/ivan/.local/share/Odoo/addons/9.0', u'/home/ivan/\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0438/odoo-9.0c-20160403/openerp/addons', '/home/ivan/\xd0\x97\xd0\xb0\xd0\xb3\xd1\x80\xd1\x83\xd0\xb7\xd0\xba\xd0\xb8/odoo-9.0c-20160403/openerp/addons']
2016-04-03 23:53:34,807 2033 INFO ? openerp: database: odoo@default:default
2016-04-03 23:53:35,946 2033 INFO ? openerp.service.server: HTTP service (werkzeug) running on

But if I open - it fails with error 500(Internal server error) and in logs:

2016-04-03 23:53:50,882 2033 INFO ? werkzeug: - - [03/Apr/2016 23:53:50] "GET / HTTP/1.1" 500 -
2016-04-03 23:53:50,892 2033 ERROR ? openerp.service.server: Exception happened during processing of request from ('', 47697)
Traceback (most recent call last):
File "/usr/lib/python2.7/SocketServer.py", line 599, in process_request_thread
self.finish_request(request, client_address)
File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python2.7/SocketServer.py", line 655, in __init__
File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line 200, in handle
rv = BaseHTTPRequestHandler.handle(self)
File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line 235, in handle_one_request
return self.run_wsgi()
File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line 194, in run_wsgi
File "/usr/local/lib/python2.7/dist-packages/werkzeug/utils.py", line 71, in __get__
value = self.func(obj)
File "/usr/local/lib/python2.7/dist-packages/werkzeug/debug/tbtools.py", line 359, in plaintext
return u'\n'.join(self.generate_plaintext_traceback())
File "/usr/local/lib/python2.7/dist-packages/werkzeug/debug/tbtools.py", line 353, in generate_plaintext_traceback
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 11: ordinal not in range(128)
2016-04-03 23:53:51,222 2033 INFO ? openerp.sql_db: Connection to the database failed

What's wrong with OpenERP? :( And how to fix it?

On 4/4/16, 6:04 PM

Ok, after some research I found solution.

1. Change password of database user;

2. Move Odoo server folder to another place without non-ascii symbols;

Hope it helps someone :)

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: 4/3/16, 8:17 PM
Seen: 2393 times
Last updated: 4/4/16, 6:04 PM