Package Details: searx 1.1.0-2

Git Clone URL: https://aur.archlinux.org/searx.git (read-only, click to copy)
Package Base: searx
Description: A privacy-respecting, hackable metasearch engine (python(3) based)
Upstream URL: https://searx.github.io/searx/
Licenses: AGPL
Conflicts: searx-git
Replaces: searx-py3
Submitter: Jake
Maintainer: Jake
Last Packager: Jake
Votes: 38
Popularity: 0.001272
First Submitted: 2016-09-07 11:42 (UTC)
Last Updated: 2023-06-03 10:47 (UTC)

Latest Comments

1 2 3 4 5 6 .. 9 Next › Last »

xiota commented on 2023-09-20 10:06 (UTC)

Please remove replaces directive. Thank you. (No need to reply via comment; AUR now sends commit notifications.)

Turbo commented on 2023-05-11 14:03 (UTC)

Hi, Since i upgrade to python 3.11 i have an Internal Server Error. Try to re-build Searx but i can not.

vstuart commented on 2023-02-27 23:33 (UTC) (edited on 2023-02-28 00:00 (UTC) by vstuart)

ISSUE:

[victoria@victoria etc]$ searx-run &
[1] 118708
[victoria@victoria etc]$ Traceback (most recent call last):
  ## ... SNIP!
  File "/usr/lib/python3.10/site-packages/searx/webapp.py", line 193, in <module>
    @babel.localeselector
AttributeError: 'Babel' object has no attribute 'localeselector'

WORKAROUND:

This is a hack based on

https://stackoverflow.com/questions/75270265/attributeerror-babel-object-has-no-attribute-localeselector

which references

https://stackoverflow.com/questions/75229322/flask-babel-get-locale-seems-to-be-not-working

I edited

/usr/lib/python3.10/site-packages/searx/webapp.py

## @babel.localeselector                           ## COMMENTED OUT THIS
def get_locale():
  ## ... SNIP!
    return locale

babel.init_app(app, locale_selector=get_locale)    ## ADDED THIS

I then needed to find / kill searx instances

kill 2>/dev/null -9 $(lsof -t -i:8888)

[victoria@victoria etc]$ psgrep -l searx
UID          PID    PPID  C STIME TTY          TIME CMD
searx        433       1  0 13:22 ?        00:00:00 /usr/bin/uwsgi --ini /etc/uwsgi/searx.ini
searx        469     433  0 13:22 ?        00:00:01 /usr/bin/uwsgi --ini /etc/uwsgi/searx.ini
...

sudo kill -9 433

which seemed to kill all those remaining instances, and searx is working again. :-D

http://127.0.0.1:8888/?q=

(If needed, restarte searx: searx-run & )

DanSman commented on 2023-02-26 03:04 (UTC)

The new package of https://archlinux.org/packages/?q=python-flask-babel lead to an "Internal Server Error". Haven't checked it yet what the issue is and just downgraded the package for now.

tbh commented on 2021-12-09 13:06 (UTC)

If you use use_default_settings: True in /etc/searx/settings.yml (so that file can be much shorter) then searx will merge defaults from /usr/lib/python3.9/site-packages/searx/settings.yml.

Jake commented on 2021-12-09 12:39 (UTC)

The package already includes default settings and does setup the secret key, so you don't really have to do anything. Still you can adjust it in /etc/searx/settings.yml. This symlink is not needed if it is started from uwsgi, so the env var SEARX_SETTINGS_PATH is properly set, just as a fallback if it gets started from somewhere else. I don't understand though, how does it cause issues?

tbh commented on 2021-12-09 12:18 (UTC)

Trying to setup searx using default settings per https://searx.github.io/searx/admin/installation-searx.html#configuration I'm having issues I believe due to the symlink created on https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=searx#n55. Is the symlink needed?

bestfriend commented on 2021-11-02 04:47 (UTC)

@Bogdanov You can change it in the settings.yml. See https://searx.github.io/searx/admin/settings.html

Bogdanov commented on 2021-10-19 05:59 (UTC)

It may seem like a dumb question, but is there a way to change the name of the instance? Or I have to necessairly use "http://127.0.0.1:8888/"?