Skip to Content
Menu
This question has been flagged

       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

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)

Avatar
Discard
Related Posts Replies Views Activity
1
Sep 24
142
2
Sep 24
115
1
Jul 23
581
3
Jan 24
19205
2
Nov 22
5648