Odoo Help


Why can't I create new database ?

Luke Gopher
on 8/17/14, 5:44 AM 985 views


I've this error into fedora 19 :

2014-08-17 09:42:17,941 2831 ERROR None werkzeug: Error on request:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/werkzeug/serving.py", line 159, in run_wsgi
  File "/usr/lib/python2.7/site-packages/werkzeug/serving.py", line 146, in execute
    application_iter = app(environ, start_response)
  File "/usr/lib/python2.7/site-packages/openerp-8.0dev_20140815_230101-py2.7.egg/openerp/service/server.py", line 273, in app
    return self.app(e, s)
  File "/usr/lib/python2.7/site-packages/openerp-8.0dev_20140815_230101-py2.7.egg/openerp/service/wsgi_server.py", line 215, in application
    return application_unproxied(environ, start_response)
  File "/usr/lib/python2.7/site-packages/openerp-8.0dev_20140815_230101-py2.7.egg/openerp/service/wsgi_server.py", line 201, in application_unproxied
    result = handler(environ, start_response)
  File "/usr/lib/python2.7/site-packages/openerp-8.0dev_20140815_230101-py2.7.egg/openerp/http.py", line 1102, in __call__
    return self.dispatch(environ, start_response)
  File "/usr/lib/python2.7/site-packages/openerp-8.0dev_20140815_230101-py2.7.egg/openerp/http.py", line 1079, in __call__
    return self.app(environ, start_wrapped)
  File "/usr/lib/python2.7/site-packages/werkzeug/wsgi.py", line 411, in __call__
    return self.app(environ, start_response)
  File "/usr/lib/python2.7/site-packages/openerp-8.0dev_20140815_230101-py2.7.egg/openerp/http.py", line 1243, in dispatch
    result = _dispatch_nodb()
  File "/usr/lib/python2.7/site-packages/openerp-8.0dev_20140815_230101-py2.7.egg/openerp/http.py", line 1222, in _dispatch_nodb
    result = request.dispatch()
  File "/usr/lib/python2.7/site-packages/openerp-8.0dev_20140815_230101-py2.7.egg/openerp/http.py", line 473, in dispatch
    return self._handle_exception(e)
  File "/usr/lib/python2.7/site-packages/openerp-8.0dev_20140815_230101-py2.7.egg/openerp/http.py", line 457, in _handle_exception
    'data': serialize_exception(exception)
  File "/usr/lib/python2.7/site-packages/openerp-8.0dev_20140815_230101-py2.7.egg/openerp/http.py", line 479, in serialize_exception
    "message": u"%s" % e,
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 20: ordinal not in range(128)

Can you help me to fix that ?




Luke Gopher
On 8/17/14, 6:50 AM

Good it was a postgres user rights problem, and the rror message from postres was in French son with 'ç' chars. So it seems that odoo cannot catch this kind of errors ... Regards

On 8/17/14, 5:45 AM

Can you debug the code?

Somewhere need to be use .encode or .decode when the code is exiting. Some string or char transaction is not good.

So accent or special chars in somewhere...


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: 8/17/14, 5:44 AM
Seen: 985 times
Last updated: 3/16/15, 8:10 AM