Skip to content

Error: Searx wikidata.py init error in docker run #1525

@rfcsau-cpu

Description

@rfcsau-cpu

Wikidata.py init method throws an error in the Docker log.
Image:

  • agent0ai/agent-zero:latest
  • a18a33c0e3dc
2026-04-16 08:52:58,200 INFO success: run_ui entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-04-16 08:52:58,200 INFO success: run_ui entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
Serving Flask app 'webapp'
Debug mode: off
 
2026-04-16 08:52:59,324 ERROR:searx.searx.search.processor: Init method of engine wikidata failed due to an exception.

Traceback (most recent call last):

 File "/usr/local/searxng/searx-pyenv/lib/python3.13/site-packages/searx/search/processors/abstract.py", line 155, in init_engine

   init_ok = self.engine.init(eng_setting)

 File "/usr/local/searxng/searx-pyenv/lib/python3.13/site-packages/searx/engines/wikidata.py", line 805, in init

2026-04-16 08:52:59,325 INFO reaped unknown pid 10 (exit status 0)

2026-04-16 08:52:59,325 INFO reaped unknown pid 10 (exit status 0)

   name = result['name']['value']

          ~~~~~~^^^^^^^^

KeyError: 'name'

2026-04-16 08:52:59,326 ERROR:searx.search.processors: can't register engine processor: wikidata (init failed)

Starting tunnel server...

Initializing Python framework...

Checking for data migration...

Preparing web server runtime...

Initializing Agent Zero components...

Starting UI/API server...

INFO:     Started server process [134]

INFO:     Waiting for application startup.

INFO:     Application startup complete.

INFO:     Uvicorn running on [http://0.0.0.0:80](http://0.0.0.0/) (Press CTRL+C to quit)

Agent Zero is running.

Preload completed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions