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
{{ message }}
This repository has been archived by the owner on Oct 23, 2019. It is now read-only.
I am fiddling around with the telegram Export Tool, but doesn`t matter what I try to change in the config file, I recaive following error
pi@raspberrypi:/ $ python3 -m telegram_export
2019-08-24 22:21:23,782 - exporter - INFO - Saving to /home/pi/telegram/db
2019-08-24 22:21:23,948 - telegram_export.downloader - INFO - Getting participants...
2019-08-24 22:21:24,014 - asyncio - ERROR - Task exception was never retrieved
future: <Task finished coro=<Downloader._chat_consumer() done, defined at /usr/local/lib/python3.5/dist-packages/telegram_export/downloader.py:327> exception=AttributeError("module 'telethon.tl.types' has no attribute 'FileLocation'",)>
Traceback (most recent call last):
File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
result = coro.send(None)
File "/usr/local/lib/python3.5/dist-packages/telegram_export/downloader.py", line 335, in _chat_consumer
functions.channels.GetFullChannelRequest(chat)
File "/usr/local/lib/python3.5/dist-packages/telegram_export/downloader.py", line 114, in _dump_full_entity
photo_id = self.dumper.dump_media(entity.full_chat.chat_photo)
File "/usr/local/lib/python3.5/dist-packages/telegram_export/dumper.py", line 617, in dump_media
row['thumbnail_id'] = self.dump_media(small, 'thumbnail')
File "/usr/local/lib/python3.5/dist-packages/telegram_export/dumper.py", line 631, in dump_media
if isinstance(media.location, types.FileLocation):
AttributeError: module 'telethon.tl.types' has no attribute 'FileLocation'
2019-08-24 22:21:24,027 - asyncio - ERROR - Task exception was never retrieved
future: <Task finished coro=<Downloader._user_consumer() done, defined at /usr/local/lib/python3.5/dist-packages/telegram_export/downloader.py:316> exception=AttributeError("module 'telethon.tl.types' has no attribute 'FileLocation'",)>
Traceback (most recent call last):
File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
result = coro.send(None)
File "/usr/local/lib/python3.5/dist-packages/telegram_export/downloader.py", line 320, in _user_consumer
functions.users.GetFullUserRequest(await queue.get())
File "/usr/local/lib/python3.5/dist-packages/telegram_export/downloader.py", line 98, in _dump_full_entity
photo_id = self.dumper.dump_media(entity.profile_photo)
File "/usr/local/lib/python3.5/dist-packages/telegram_export/dumper.py", line 617, in dump_media
row['thumbnail_id'] = self.dump_media(small, 'thumbnail')
File "/usr/local/lib/python3.5/dist-packages/telegram_export/dumper.py", line 631, in dump_media
if isinstance(media.location, types.FileLocation):
AttributeError: module 'telethon.tl.types' has no attribute 'FileLocation'
2019-08-24 22:21:24,162 - telegram_export.downloader - INFO - Saved 0 new members, 0 left the chat.
entities: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████| 8/8 [00:00<00:00, 17.11 entities/s, chat=xyz]
media: ?| 0.00/0.00 [00:00<?, ?B/s, chat=xyz] | 0/6 [00:00<?, ? entities/s, chat=xyz]
2019-08-24 22:21:24,448 - exporter - INFO - Closing exporter
xyz: ?| 20/? [00:00<00:00, 39.54 messages/s]Traceback (most recent call last):
File "/usr/lib/python3.5/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.5/dist-packages/telegram_export/__main__.py", line 316, in <module>
ret = loop.run_until_complete(main(loop)) or 0
File "/usr/lib/python3.5/asyncio/base_events.py", line 466, in run_until_complete
return future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
result = coro.send(None)
File "/usr/local/lib/python3.5/dist-packages/telegram_export/__main__.py", line 300, in main
await exporter.start()
File "/usr/local/lib/python3.5/dist-packages/telegram_export/exporter.py", line 73, in start
await self.downloader.start(entity)
File "/usr/local/lib/python3.5/dist-packages/telegram_export/downloader.py", line 497, in start
self._dump_messages(history.messages, target)
File "/usr/local/lib/python3.5/dist-packages/telegram_export/downloader.py", line 150, in _dump_messages
media_id = self.dumper.dump_media(m.action.photo)
File "/usr/local/lib/python3.5/dist-packages/telegram_export/dumper.py", line 617, in dump_media
row['thumbnail_id'] = self.dump_media(small, 'thumbnail')
File "/usr/local/lib/python3.5/dist-packages/telegram_export/dumper.py", line 631, in dump_media
if isinstance(media.location, types.FileLocation):
AttributeError: module 'telethon.tl.types' has no attribute 'FileLocation'
xyz: ?| 20/? [00:00<00:00, 28.99 messages/s]
2019-08-24 22:21:24,634 - asyncio - ERROR - Task was destroyed but it is pending!
task: <Task pending coro=<Downloader._media_consumer() running at /usr/local/lib/python3.5/dist-packages/telegram_export/downloader.py:308> wait_for=<Future pending cb=[Task._wakeup()]>>
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am fiddling around with the telegram Export Tool, but doesn`t matter what I try to change in the config file, I recaive following error
The text was updated successfully, but these errors were encountered: