2018-10-07 16:22:08,762 - telethon.tl.core.tlmessage - ERROR - Failed to pack GetFileRequest(location=InputFileLocation(volume_id=None, local_id=None, secret=None), offset=0, limit=262144) Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/Telethon-1.3-py3.6.egg/telethon/tl/core/tlmessage.py", line 59, in __init__ body = GzipPacked.gzip_if_smaller(self.obj) File "/usr/local/lib/python3.6/dist-packages/Telethon-1.3-py3.6.egg/telethon/tl/core/gzippacked.py", line 21, in gzip_if_smaller data = bytes(request) File "/usr/local/lib/python3.6/dist-packages/Telethon-1.3-py3.6.egg/telethon/tl/functions/upload.py", line 114, in __bytes__ bytes(self.location), File "/usr/local/lib/python3.6/dist-packages/Telethon-1.3-py3.6.egg/telethon/tl/types/__init__.py", line 6716, in __bytes__ struct.pack('<q', self.volume_id), struct.error: required argument is not an integer
2018-10-07 16:22:08,768 - asyncio - ERROR - Task exception was never retrieved future: <Task finished coro=<Downloader._media_consumer() done, defined at /usr/local/lib/python3.6/dist-packages/telegram_export-1.7-py3.6.egg/telegram_export/downloader.py:305> exception=error('required argument is not an integer',)> Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/telegram_export-1.7-py3.6.egg/telegram_export/downloader.py", line 311, in _media_consumer bar) File "/usr/local/lib/python3.6/dist-packages/telegram_export-1.7-py3.6.egg/telegram_export/downloader.py", line 301, in _download_media progress_callback=progress File "/usr/local/lib/python3.6/dist-packages/Telethon-1.3-py3.6.egg/telethon/client/downloads.py", line 244, in download_file input_location, offset, part_size File "/usr/local/lib/python3.6/dist-packages/Telethon-1.3-py3.6.egg/telethon/network/mtprotosender.py", line 217, in send message = self.state.create_message(request, loop=self._loop) File "/usr/local/lib/python3.6/dist-packages/Telethon-1.3-py3.6.egg/telethon/network/mtprotostate.py", line 51, in create_message loop=loop File "/usr/local/lib/python3.6/dist-packages/Telethon-1.3-py3.6.egg/telethon/tl/core/tlmessage.py", line 59, in __init__ body = GzipPacked.gzip_if_smaller(self.obj) File "/usr/local/lib/python3.6/dist-packages/Telethon-1.3-py3.6.egg/telethon/tl/core/gzippacked.py", line 21, in gzip_if_smaller data = bytes(request) File "/usr/local/lib/python3.6/dist-packages/Telethon-1.3-py3.6.egg/telethon/tl/functions/upload.py", line 114, in __bytes__ bytes(self.location), File "/usr/local/lib/python3.6/dist-packages/Telethon-1.3-py3.6.egg/telethon/tl/types/__init__.py", line 6716, in __bytes__ struct.pack('<q', self.volume_id), struct.error: required argument is not an integer
There is probably some issue with received params of volume_id, and script throw an exception, and stop working.
I don't sure if this issue related to the telegram-export or Telethon.
Ubuntu 18.04
Python 3.6.5
2018-10-07 16:22:08,762 - telethon.tl.core.tlmessage - ERROR - Failed to pack GetFileRequest(location=InputFileLocation(volume_id=None, local_id=None, secret=None), offset=0, limit=262144) Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/Telethon-1.3-py3.6.egg/telethon/tl/core/tlmessage.py", line 59, in __init__ body = GzipPacked.gzip_if_smaller(self.obj) File "/usr/local/lib/python3.6/dist-packages/Telethon-1.3-py3.6.egg/telethon/tl/core/gzippacked.py", line 21, in gzip_if_smaller data = bytes(request) File "/usr/local/lib/python3.6/dist-packages/Telethon-1.3-py3.6.egg/telethon/tl/functions/upload.py", line 114, in __bytes__ bytes(self.location), File "/usr/local/lib/python3.6/dist-packages/Telethon-1.3-py3.6.egg/telethon/tl/types/__init__.py", line 6716, in __bytes__ struct.pack('<q', self.volume_id), struct.error: required argument is not an integer
2018-10-07 16:22:08,768 - asyncio - ERROR - Task exception was never retrieved future: <Task finished coro=<Downloader._media_consumer() done, defined at /usr/local/lib/python3.6/dist-packages/telegram_export-1.7-py3.6.egg/telegram_export/downloader.py:305> exception=error('required argument is not an integer',)> Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/telegram_export-1.7-py3.6.egg/telegram_export/downloader.py", line 311, in _media_consumer bar) File "/usr/local/lib/python3.6/dist-packages/telegram_export-1.7-py3.6.egg/telegram_export/downloader.py", line 301, in _download_media progress_callback=progress File "/usr/local/lib/python3.6/dist-packages/Telethon-1.3-py3.6.egg/telethon/client/downloads.py", line 244, in download_file input_location, offset, part_size File "/usr/local/lib/python3.6/dist-packages/Telethon-1.3-py3.6.egg/telethon/network/mtprotosender.py", line 217, in send message = self.state.create_message(request, loop=self._loop) File "/usr/local/lib/python3.6/dist-packages/Telethon-1.3-py3.6.egg/telethon/network/mtprotostate.py", line 51, in create_message loop=loop File "/usr/local/lib/python3.6/dist-packages/Telethon-1.3-py3.6.egg/telethon/tl/core/tlmessage.py", line 59, in __init__ body = GzipPacked.gzip_if_smaller(self.obj) File "/usr/local/lib/python3.6/dist-packages/Telethon-1.3-py3.6.egg/telethon/tl/core/gzippacked.py", line 21, in gzip_if_smaller data = bytes(request) File "/usr/local/lib/python3.6/dist-packages/Telethon-1.3-py3.6.egg/telethon/tl/functions/upload.py", line 114, in __bytes__ bytes(self.location), File "/usr/local/lib/python3.6/dist-packages/Telethon-1.3-py3.6.egg/telethon/tl/types/__init__.py", line 6716, in __bytes__ struct.pack('<q', self.volume_id), struct.error: required argument is not an integer
There is probably some issue with received params of
volume_id
, and script throw an exception, and stop working. I don't sure if this issue related to thetelegram-export
orTelethon
.