Occasional Errors thrown for some reason? #26

Closed
opened 2026-02-15 23:16:17 -05:00 by yindo · 1 comment
Owner

Originally created by @Xynnix on GitHub (Jul 26, 2023).

Describe the bug
Lookup errors thrown on events I am not aware of using.

ie: User Updates when a user updates their displayname in settings.
image

To Reproduce:

Traceback (most recent call last):
  File "revolt\websocket.py", line 113, in handle_event
  File "revolt\websocket.py", line 378, in handle_userupdate
TypeError: User._update() got an unexpected keyword argument 'display_name'
Task exception was never retrieved
future: <Task finished name='Task-13845' coro=<WebsocketHandler.handle_event() done, defin
ed at revolt\websocket.py:102> exception=LookupError()>
Traceback (most recent call last):
  File "revolt\websocket.py", line 113, in handle_event
  File "revolt\websocket.py", line 147, in handle_message
  File "revolt\state.py", line 92, in add_message
  File "revolt\message.py", line 88, in __init__
  File "revolt\state.py", line 49, in get_member
  File "revolt\server.py", line 213, in get_member
LookupError
Task exception was never retrieved
future: <Task finished name='Task-14899' coro=<WebsocketHandler.handle_event() done, defin
ed at revolt\websocket.py:102> exception=TypeError("User._update() got an unexpected keywo
rd argument 'username'")>
Traceback (most recent call last):
  File "revolt\websocket.py", line 113, in handle_event
  File "revolt\websocket.py", line 378, in handle_userupdate
TypeError: User._update() got an unexpected keyword argument 'username'
Task exception was never retrieved
future: <Task finished name='Task-15658' coro=<WebsocketHandler.handle_event() done, defin
ed at revolt\websocket.py:102> exception=TypeError("User._update() got an unexpected keywo
rd argument 'username'")>

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.
image

Library version
Access this info via pip show revolt.py
image

Additional context
Add any other context about the problem here.
Source Code:

https://github.com/Akrasio/Ahni-Revolt/blob/revolt.py/index.py

Originally created by @Xynnix on GitHub (Jul 26, 2023). **Describe the bug** Lookup errors thrown on events I am not aware of using. > ie: User Updates when a user updates their displayname in settings. ![image](https://github.com/revoltchat/revolt.py/assets/53287573/e5601999-0d3d-412e-aafc-3bb9347d4e81) **To Reproduce**: ```bash Traceback (most recent call last): File "revolt\websocket.py", line 113, in handle_event File "revolt\websocket.py", line 378, in handle_userupdate TypeError: User._update() got an unexpected keyword argument 'display_name' Task exception was never retrieved future: <Task finished name='Task-13845' coro=<WebsocketHandler.handle_event() done, defin ed at revolt\websocket.py:102> exception=LookupError()> Traceback (most recent call last): File "revolt\websocket.py", line 113, in handle_event File "revolt\websocket.py", line 147, in handle_message File "revolt\state.py", line 92, in add_message File "revolt\message.py", line 88, in __init__ File "revolt\state.py", line 49, in get_member File "revolt\server.py", line 213, in get_member LookupError Task exception was never retrieved future: <Task finished name='Task-14899' coro=<WebsocketHandler.handle_event() done, defin ed at revolt\websocket.py:102> exception=TypeError("User._update() got an unexpected keywo rd argument 'username'")> Traceback (most recent call last): File "revolt\websocket.py", line 113, in handle_event File "revolt\websocket.py", line 378, in handle_userupdate TypeError: User._update() got an unexpected keyword argument 'username' Task exception was never retrieved future: <Task finished name='Task-15658' coro=<WebsocketHandler.handle_event() done, defin ed at revolt\websocket.py:102> exception=TypeError("User._update() got an unexpected keywo rd argument 'username'")> ``` **Expected behavior** A clear and concise description of what you expected to happen. **Screenshots** If applicable, add screenshots to help explain your problem. ![image](https://github.com/revoltchat/revolt.py/assets/53287573/d0f8354a-7d43-4ca3-83d1-39d06dc4255b) **Library version** Access this info via `pip show revolt.py` ![image](https://github.com/revoltchat/revolt.py/assets/53287573/9b20e363-55a6-4aa0-97ad-9048837579a6) **Additional context** Add any other context about the problem here. Source Code: > https://github.com/Akrasio/Ahni-Revolt/blob/revolt.py/index.py
yindo added the unconfirmed bug label 2026-02-15 23:16:17 -05:00
yindo closed this issue 2026-02-15 23:16:17 -05:00
Author
Owner

@Zomatree commented on GitHub (Jul 27, 2023):

This is already fixed on the master version.

@Zomatree commented on GitHub (Jul 27, 2023): This is already fixed on the master version.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: stoatchat/python-client-sdk#26