mirror of
https://github.com/open-webui/bot.git
synced 2026-11-05 01:17:46 +00:00
[GH-ISSUE #3] error on start: TypeError: main.<locals>.join_callback() missing 1 required positional argument: 'data' #2
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/bot#2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @thistleknot on GitHub (Jan 12, 2025).
Original GitHub issue: https://github.com/open-webui/bot/issues/3
(open-webui) (base) [root@pve0 bot]# python -m examples.ai
Connecting to http://localhost:8080...
Connected!
Connection established!
Task exception was never retrieved
future: <Task finished name='Task-14' coro=<AsyncClient._handle_eio_message() done, defined at /root/miniconda3/envs/open-webui/lib/python3.11/site-packages/socketio/async_client.py:538> exception=TypeError("main..join_callback() missing 1 required positional argument: 'data'")>
Traceback (most recent call last):
File "/root/miniconda3/envs/open-webui/lib/python3.11/site-packages/socketio/async_client.py", line 557, in _handle_eio_message
await self._handle_ack(pkt.namespace, pkt.id, pkt.data)
File "/root/miniconda3/envs/open-webui/lib/python3.11/site-packages/socketio/async_client.py", line 435, in _handle_ack
await callback(*data)
^^^^^^^^^^^^^^^
TypeError: main..join_callback() missing 1 required positional argument: 'data'
@thistleknot commented on GitHub (Jan 12, 2025):
I see I didn't add my auth token
settings - account - api key
modify env.py
add token
resolved
@gabrieligbastos commented on GitHub (Jan 22, 2025):
I'm in the same, but i do have the token set. Why is that?
@okaeiz commented on GitHub (Jun 2, 2025):
I got the API key and set it but still getting the same error.
@pauvos commented on GitHub (Jul 13, 2025):
It works for me with a JWT token I fetched from the login cookie.