You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Markus Heiser 1a402be175 [fix] debug log: UnicodeEncodeError: 'ascii' codec can't encode
The issue exists only in the debug log::

     --- Logging error ---
     Traceback (most recent call last):
       File "/usr/lib/python3.9/logging/__init__.py", line 1086, in emit
	 stream.write(msg + self.terminator)
     UnicodeEncodeError: 'ascii' codec can't encode characters in position 79-89: ordinal not in range(128)
     Call stack:
       File "/usr/local/searx/searx-pyenv/lib/python3.9/site-packages/flask/app.py", line 2464, in __call__
	 return self.wsgi_app(environ, start_response)
       File "/usr/local/searx/searx-src/searx/webapp.py", line 1316, in __call__
	 return self.app(environ, start_response)
       File "/usr/local/searx/searx-pyenv/lib/python3.9/site-packages/werkzeug/middleware/proxy_fix.py", line 169, in __call__
	 return self.app(environ, start_response)
       File "/usr/local/searx/searx-pyenv/lib/python3.9/site-packages/flask/app.py", line 2447, in wsgi_app
	 response = self.full_dispatch_request()
       File "/usr/local/searx/searx-pyenv/lib/python3.9/site-packages/flask/app.py", line 1950, in full_dispatch_request
	 rv = self.dispatch_request()
       File "/usr/local/searx/searx-pyenv/lib/python3.9/site-packages/flask/app.py", line 1936, in dispatch_request
	 return self.view_functions[rule.endpoint](**req.view_args)
       File "/usr/local/searx/searx-src/searx/webapp.py", line 766, in search
	 number_of_results=format_decimal(number_of_results),
       File "/usr/local/searx/searx-pyenv/lib/python3.9/site-packages/flask_babel/__init__.py", line 458, in format_decimal
	 locale = get_locale()
       File "/usr/local/searx/searx-pyenv/lib/python3.9/site-packages/flask_babel/__init__.py", line 226, in get_locale
	 rv = babel.locale_selector_func()
       File "/usr/local/searx/searx-src/searx/webapp.py", line 249, in get_locale
	 logger.debug("%s uses locale `%s` from %s", request.url, locale, locale_source)
     Unable to print the message and arguments - possible formatting error.
     Use the traceback above to help find the error.

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
.github [github] searxng does not use github's discussion 3 years ago
dockerfiles Allow overriding env vars SEARX_SETTINGS_PATH,UWSGI_SETTINGS_PATH 4 years ago
docs [brand] searxng -- fix links to issue tracker & WEB-GUI 3 years ago
examples
searx [fix] debug log: UnicodeEncodeError: 'ascii' codec can't encode 3 years ago
searx_extra Merge remote-tracking branch 'searx/master' 4 years ago
tests [brand] searxng is a fork from searx 3 years ago
utils [brand] searxng -- fix links to issue tracker & WEB-GUI 3 years ago
.codecov.yml
.config.sh [mod] utils/searx.sh install: create branch if not already exists 4 years ago
.coveragerc [mod] use github actions instead of travis 4 years ago
.dir-locals.el [mod] remove obsolete virtualenv command 4 years ago
.dockerignore
.gitattributes
.gitignore [enh] Add onions category with Ahmia, Not Evil and Torch 4 years ago
.landscape.yaml
.pylintrc [mod] pylint: add extension-pkg-whitelist=lxml.etree 4 years ago
AUTHORS.rst [brand] searxng -- fix links to issue tracker & WEB-GUI 3 years ago
CHANGELOG.rst [brand] searxng -- fix links to issue tracker & WEB-GUI 3 years ago
CONTRIBUTING.md [brand] searxng -- fix links to issue tracker & WEB-GUI 3 years ago
Dockerfile Allow overriding env vars SEARX_SETTINGS_PATH,UWSGI_SETTINGS_PATH 4 years ago
LICENSE
Makefile [fix] Makefile fix target 'test' & 'test.sh' 3 years ago
PULL_REQUEST_TEMPLATE.md
README.rst searxng brand 3 years ago
babel.cfg
manage [mod] core.ac.uk engine 3 years ago
requirements-dev.txt [httpx] replace searx.poolrequests by searx.network 4 years ago
requirements.txt [enh] replace requests by httpx 4 years ago
setup.py Add searx_extra package 4 years ago
tox.ini

README.rst

.. SPDX-License-Identifier: AGPL-3.0-or-later

.. figure:: https://raw.githubusercontent.com/searx/searx/master/searx/static/themes/oscar/img/logo_searx_a.png
   :target: https://searx.github.io/searxng/
   :alt: searXNG
   :width: 100%
   :align: center

-------

|searx install|
|searx homepage|
|searx wiki|
|AGPL License|
|Issues|
|commits|

Privacy-respecting, hackable `metasearch engine`_

.. _metasearch engine: https://en.wikipedia.org/wiki/Metasearch_engine

.. |searx install| image:: https://img.shields.io/badge/-install-blue
   :target: https://searx.github.io/searx/admin/installation.html

.. |searx homepage| image:: https://img.shields.io/badge/-homepage-blue
   :target: https://searxng.github.io/searxng

.. |searx wiki| image:: https://img.shields.io/badge/-wiki-blue
   :target: https://github.com/searxng/searxng/wiki

.. |AGPL License|  image:: https://img.shields.io/badge/license-AGPL-blue.svg
   :target: https://github.com/searx/searx/blob/master/LICENSE

.. |Issues| image:: https://img.shields.io/github/issues/searx/searx?color=yellow&label=issues
   :target: https://github.com/searxng/searxng/issues

.. |PR| image:: https://img.shields.io/github/issues-pr-raw/searx/searx?color=yellow&label=PR
   :target: https://github.com/searxng/searxng/pulls

.. |commits| image:: https://img.shields.io/github/commit-activity/y/searx/searx?color=yellow&label=commits
   :target: https://github.com/searxng/searxng/commits/master


If you are looking for running instances, ready to use, then visit searx.space_.

Otherwise jump to the user_, admin_ and developer_ handbooks you will find on
our homepage_.

.. _searx.space: https://searx.space
.. _user: https://searx.github.io/searxng/user
.. _admin: https://searx.github.io/searxng/admin
.. _developer: https://searx.github.io/searxng/dev
.. _homepage: https://searx.github.io/searxng