Doesn't work with Telegram Desktop 3.1.8 nor 2.5.8 (version published before the latest commit)
Opened this issue · 0 comments
Deleted user commented
Traceback (most recent call last):
File "C:\Users\User\Desktop\Kaltsoon-telegram-analytics\src\process.py", line 46, in <module>
process()
File "C:\Users\User\AppData\Local\pypoetry\Cache\virtualenvs\telegram-analytics-cc_7IGoq-py3.9\lib\site-packages\click\core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "C:\Users\User\AppData\Local\pypoetry\Cache\virtualenvs\telegram-analytics-cc_7IGoq-py3.9\lib\site-packages\click\core.py", line 782, in main
rv = self.invoke(ctx)
File "C:\Users\User\AppData\Local\pypoetry\Cache\virtualenvs\telegram-analytics-cc_7IGoq-py3.9\lib\site-packages\click\core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\Users\User\AppData\Local\pypoetry\Cache\virtualenvs\telegram-analytics-cc_7IGoq-py3.9\lib\site-packages\click\core.py", line 610, in invoke
return callback(*args, **kwargs)
File "C:\Users\User\Desktop\Kaltsoon-telegram-analytics\src\process.py", line 42, in process
message_processor.process_messages()
File "C:\Users\User\Desktop\Kaltsoon-telegram-analytics\src\message_processor.py", line 26, in process_messages
messages = self._reader.read_messages()
File "C:\Users\User\Desktop\Kaltsoon-telegram-analytics\src\message_readers\file_message_reader.py", line 39, in read_messages
json_messages = data['messages']
KeyError: 'messages'```