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
I've tried sending *.jpg files (as documents) and they are correctly downloaded. However, as photos, they aren't downloaded. In addition, I've tried pdf and epub files. These aren't downloaded either.
Here is the error I got when I uploaded a pdf file:
telegram-download-daemon-ng | File "/usr/src/telegram-download-daemon-ng/src/telegram_download_daemon_ng/__init__.py", line 137, in handler
telegram-download-daemon-ng | await queue_download(event,
telegram-download-daemon-ng | channel=event.message.peer_id.channel_id,
telegram-download-daemon-ng | message_id=event.message.id)
telegram-download-daemon-ng | File "/usr/src/telegram-download-daemon-ng/src/telegram_download_daemon_ng/__init__.py", line 210, in queue_download
telegram-download-daemon-ng | reply_msg = await event.reply("{item} added to queue".format(item=new_download_media.get_link()))
telegram-download-daemon-ng | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
telegram-download-daemon-ng | File "/root/.cache/pypoetry/virtualenvs/telegram-download-daemon-ng-qBVbOPCq-py3.13/lib/python3.13/site-packages/telethon/tl/custom/message.py", line 776, in reply
telegram-download-daemon-ng | return await self._client.send_message(
telegram-download-daemon-ng | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
telegram-download-daemon-ng | await self.get_input_chat(), *args, **kwargs)
telegram-download-daemon-ng | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
telegram-download-daemon-ng | File "/root/.cache/pypoetry/virtualenvs/telegram-download-daemon-ng-qBVbOPCq-py3.13/lib/python3.13/site-packages/telethon/client/messages.py", line 908, in send_message
telegram-download-daemon-ng | result = await self(request)
telegram-download-daemon-ng | ^^^^^^^^^^^^^^^^^^^
telegram-download-daemon-ng | File "/root/.cache/pypoetry/virtualenvs/telegram-download-daemon-ng-qBVbOPCq-py3.13/lib/python3.13/site-packages/telethon/client/users.py", line 30, in __call__
telegram-download-daemon-ng | return await self._call(self._sender, request, ordered=ordered)
telegram-download-daemon-ng | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
telegram-download-daemon-ng | File "/root/.cache/pypoetry/virtualenvs/telegram-download-daemon-ng-qBVbOPCq-py3.13/lib/python3.13/site-packages/telethon/client/users.py", line 87, in _call
telegram-download-daemon-ng | result = await future
telegram-download-daemon-ng | ^^^^^^^^^^^^
When I send a jpg file as an image (and compressed) this is the error:
telegram-download-daemon-ng | File "/usr/src/telegram-download-daemon-ng/src/telegram_download_daemon_ng/__init__.py", line 137, in handler
telegram-download-daemon-ng | await queue_download(event,
telegram-download-daemon-ng | channel=event.message.peer_id.channel_id,
telegram-download-daemon-ng | message_id=event.message.id)
telegram-download-daemon-ng | File "/usr/src/telegram-download-daemon-ng/src/telegram_download_daemon_ng/__init__.py", line 210, in queue_download
telegram-download-daemon-ng | reply_msg = await event.reply("{item} added to queue".format(item=new_download_media.get_link()))
telegram-download-daemon-ng | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
telegram-download-daemon-ng | File "/root/.cache/pypoetry/virtualenvs/telegram-download-daemon-ng-qBVbOPCq-py3.13/lib/python3.13/site-packages/telethon/tl/custom/message.py", line 776, in reply
telegram-download-daemon-ng | return await self._client.send_message(
telegram-download-daemon-ng | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
telegram-download-daemon-ng | await self.get_input_chat(), *args, **kwargs)
telegram-download-daemon-ng | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
telegram-download-daemon-ng | File "/root/.cache/pypoetry/virtualenvs/telegram-download-daemon-ng-qBVbOPCq-py3.13/lib/python3.13/site-packages/telethon/client/messages.py", line 908, in send_message
telegram-download-daemon-ng | result = await self(request)
telegram-download-daemon-ng | ^^^^^^^^^^^^^^^^^^^
telegram-download-daemon-ng | File "/root/.cache/pypoetry/virtualenvs/telegram-download-daemon-ng-qBVbOPCq-py3.13/lib/python3.13/site-packages/telethon/client/users.py", line 30, in __call__
telegram-download-daemon-ng | return await self._call(self._sender, request, ordered=ordered)
telegram-download-daemon-ng | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
telegram-download-daemon-ng | File "/root/.cache/pypoetry/virtualenvs/telegram-download-daemon-ng-qBVbOPCq-py3.13/lib/python3.13/site-packages/telethon/client/users.py", line 56, in _call
telegram-download-daemon-ng | raise errors.FloodWaitError(request=r, capture=diff)
When I forward a file to the channel, this is the error:
telegram-download-daemon-ng | File "/usr/src/telegram-download-daemon-ng/src/telegram_download_daemon_ng/__init__.py", line 132, in handler
telegram-download-daemon-ng | channel=channel_msg.chat.id,
telegram-download-daemon-ng | ^^^^^^^^^^^^^^^^^^^
The text was updated successfully, but these errors were encountered:
I tried to reproduce it, but I'm unable to do it, is working fine to me.
Are you using a bot or your personal account?
Which Telegram client are you using?
How are you running the daemon? Which version of python/docker are you using? And the version of the daemon?
Are there more log message around those you pasted? That messages could be helpful too (remove channel_id or any other sensitive data before paste it)
I've tried sending *.jpg files (as documents) and they are correctly downloaded. However, as photos, they aren't downloaded. In addition, I've tried pdf and epub files. These aren't downloaded either.
Here is the error I got when I uploaded a pdf file:
When I send a jpg file as an image (and compressed) this is the error:
When I forward a file to the channel, this is the error:
The text was updated successfully, but these errors were encountered: