Skip to content

join_callback() issue after calling python -m examples.ai #4

@Alrighty321

Description

@Alrighty321

When attempting to use the command python -m examples.ai, this is the error message I get.

Connecting to http://localhost:8080...
Connected!
Connection established!
Task exception was never retrieved
future: <Task finished name='Task-8' coro=<AsyncClient._handle_eio_message() done, defined at C:\openwebui\venv\Lib\site-packages\socketio\async_client.py:561> exception=TypeError("main.<locals>.join_callback() missing 1 required positional argument: 'data'")>
Traceback (most recent call last):
  File "C:\openwebui\venv\Lib\site-packages\socketio\async_client.py", line 580, in _handle_eio_message
    await self._handle_ack(pkt.namespace, pkt.id, pkt.data)
  File "C:\openwebui\venv\Lib\site-packages\socketio\async_client.py", line 441, in _handle_ack
    await callback(*data)
          ^^^^^^^^^^^^^^^
TypeError: main.<locals>.join_callback() missing 1 required positional argument: 'data'

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