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

Why can't I create new database ?

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

Hi,

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
    execute(app)
  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 ?

 

Regards

 

0
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

0
klacus
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...

 

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