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

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

By
Ivan
on 4/3/16, 8:17 PM 680 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 0.0.0.0:8069


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

2016-04-03 23:53:50,882 2033 INFO ? werkzeug: 127.0.0.1 - - [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 ('127.0.0.1', 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__
self.handle()
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
self.handle_one_request()
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
traceback.plaintext)
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
frame.function_name
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?

1
Ivan
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 :)

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