Package: searx
Version: 1.0.0+dfsg1-1
Severity: important
X-Debbugs-Cc: anonymousellam...@gmail.com

Dear Maintainer,

I've just installed searx and ran "searx-run" and got the following error:
anon@anon:/$ searx-run
Traceback (most recent call last):
  File "/usr/bin/searx-run", line 33, in <module>
    sys.exit(load_entry_point('searx==1.0.0', 'console_scripts', 'searx-run')())
  File "/usr/bin/searx-run", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/usr/lib/python3/dist-packages/searx/__init__.py", line 27, in <module>
    settings, settings_load_message = searx.settings_loader.load_settings()
  File "/usr/lib/python3/dist-packages/searx/settings_loader.py", line 117, in 
load_settings
    return (load_yaml(default_settings_path),
  File "/usr/lib/python3/dist-packages/searx/settings_loader.py", line 24, in 
load_yaml
    with open(file_name, 'r', encoding='utf-8') as settings_yaml:
TypeError: expected str, bytes or os.PathLike object, not NoneType


-- System Information:
Debian Release: bookworm/sid
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 
'stable-security'), (500, 'unstable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.15.0-2-amd64 (SMP w/12 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages searx depends on:
ii  python3        3.9.8-1
ii  python3-searx  1.0.0+dfsg1-1

searx recommends no packages.

Versions of packages searx suggests:
pn  nginx                 <none>
pn  uwsgi                 <none>
pn  uwsgi-plugin-python3  <none>

-- no debconf information

Reply via email to