You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems like while handling a exception another exception occurred.
here is the stacktrace/log
'<' not supported between instances of 'NoneType' and 'int'
Traceback (most recent call last):
File "/path_to_project_directory/ZeroTwo/venv/lib/python3.9/site-packages/pyrogram/methods/advanced/resolve_peer.py", line 60, in resolve_peer
return await self.storage.get_peer_by_id(peer_id)
File "/path_to_project_directory/ZeroTwo/venv/lib/python3.9/site-packages/pyrogram/storage/sqlite_storage.py", line 147, in get_peer_by_id
raise KeyError(f"ID not found: {peer_id}")
KeyError: 'ID not found: None'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/path_to_project_directory/ZeroTwo/venv/lib/python3.9/site-packages/pyrogram/dispatcher.py", line 222, in handler_worker
await handler.callback(self.client, *args)
File "/path_to_project_directory/ZeroTwo/zerotwo.py", line 193, in adminlist
async for member in ZeroTwo.iter_chat_members(chat_name, filter="administrators"):
File "/path_to_project_directory/ZeroTwo/venv/lib/python3.9/site-packages/pyrogram/methods/chats/iter_chat_members.py", line 94, in iter_chat_members
resolved_chat_id = await self.resolve_peer(chat_id)
File "/path_to_project_directory/ZeroTwo/venv/lib/python3.9/site-packages/pyrogram/methods/advanced/resolve_peer.py", line 87, in resolve_peer
peer_type = utils.get_peer_type(peer_id)
File "/path_to_project_directory/ZeroTwo/venv/lib/python3.9/site-packages/pyrogram/utils.py", line 195, in get_peer_type
if peer_id < 0:
TypeError: '<' not supported between instances of 'NoneType' and 'int'
The text was updated successfully, but these errors were encountered:
Seems like while handling a exception another exception occurred.
here is the stacktrace/log
The text was updated successfully, but these errors were encountered: