Skip to content

Error While Using Multi Client #64

Description

@Muiz1232

Traceback (most recent call last):
File "/app/FileStream/server/stream_routes.py", line 66, in stream_handler
return await media_streamer(request, path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/FileStream/server/stream_routes.py", line 98, in media_streamer
file_id = await tg_connect.get_file_properties(db_id, multi_clients)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/FileStream/utils/custom_dl.py", line 27, in get_file_properties
await self.generate_file_properties(db_id, multi_clients)
File "/app/FileStream/utils/custom_dl.py", line 37, in generate_file_properties
file_id = await get_file_ids(self.client, db_id, multi_clients, Message)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/FileStream/utils/file_properties.py", line 40, in get_file_ids
file_id = FileId.decode(file_id_info[str(client.id)])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pyrogram/file_id.py", line 206, in decode
major = decoded[-1]
~~~~~~~^^^^
IndexError: index out of range

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions