Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error While Using Multi Client #64

Open
Muiz1232 opened this issue Nov 17, 2024 · 0 comments
Open

Error While Using Multi Client #64

Muiz1232 opened this issue Nov 17, 2024 · 0 comments

Comments

@Muiz1232
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant