Odoo Help


Error. Module Website Search. UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-3: ordinal not in range(128)

on 11/27/15, 1:34 AM 857 views

       Module Website_Search. Normal is set but not working correctly. Normal looking for English words. But when I ask the Russian word search - an error "500: Internal Server Error»


Traceback (most recent call last):

File «C:\Bitnami\odoo-8.0-11\apps\odoo\Lib\site-packages\odoo-8.0_20150423-py2.7.egg\openerp\addons\website\models\ir_http.py», line 196, in _handle_exception

response = super(ir_http, self)._handle_exception(exception)

File «C:\Bitnami\odoo-8.0-11\apps\odoo\Lib\site-packages\odoo-8.0_20150423-py2.7.egg\openerp\addons\base\ir\ir_http.py», line 146, in _handle_exception

return request._handle_exception(exception)

File «C:\Bitnami\odoo-8.0-11\apps\odoo\Lib\site-packages\odoo-8.0_20150423-py2.7.egg\openerp\http.py», line 659, in _handle_exception

return super(HttpRequest, self)._handle_exception(exception)

File «C:\Bitnami\odoo-8.0-11\apps\odoo\Lib\site-packages\odoo-8.0_20150423-py2.7.egg\openerp\addons\base\ir\ir_http.py», line 172, in _dispatch

result = request.dispatch()

File «C:\Bitnami\odoo-8.0-11\apps\odoo\Lib\site-packages\odoo-8.0_20150423-py2.7.egg\openerp\http.py», line 677, in dispatch

r = self._call_function(**self.params)

File «C:\Bitnami\odoo-8.0-11\apps\odoo\Lib\site-packages\odoo-8.0_20150423-py2.7.egg\openerp\http.py», line 303, in _call_function

return checked_call(self.db, *args, **kwargs)

File «C:\Bitnami\odoo-8.0-11\apps\odoo\Lib\site-packages\odoo-8.0_20150423-py2.7.egg\openerp\service\model.py», line 113, in wrapper

return f(dbname, *args, **kwargs)

File «C:\Bitnami\odoo-8.0-11\apps\odoo\Lib\site-packages\odoo-8.0_20150423-py2.7.egg\openerp\http.py», line 300, in checked_call

return self.endpoint(*a, **kw)

File «C:\Bitnami\odoo-8.0-11\apps\odoo\Lib\site-packages\odoo-8.0_20150423-py2.7.egg\openerp\http.py», line 796, in __call__

return self.method(*args, **kw)

File «C:\Bitnami\odoo-8.0-11\apps\odoo\Lib\site-packages\odoo-8.0_20150423-py2.7.egg\openerp\http.py», line 396, in response_wrap

response = f(*args, **kw)

File «C:\Bitnami\odoo-8.0-11\apps\odoo\Lib\site-packages\odoo-8.0_20150423-py2.7.egg\openerp\addons\website_search\controllers\main.py», line 559, in search_results

index=search_html.find(str(search_term), 0)

UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-3: ordinal not in range(128)

Thank you)

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 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: 11/27/15, 1:34 AM
Seen: 857 times
Last updated: 11/15/16, 12:10 PM