Traceback (most recent call last):


 "/home/k1/src/bot/bot.py", line 174, in loop

method['method']()


 "/home/k1/src/bot/bot.py", line 183, in detele_old_messages

message_history = self.client_api.get_message_history(bot, config.TELEGRAM['cleanup_messages'])


 "/home/k1/.virtualenv/bot/lib/python3.5/site-packages/telethon/telegram_client.py", line 340, in get_message_history

total_messages = getattr(result, 'count', len(result.messages))
AttributeError: 'NoneType' object has no attribute 'messages'

Traceback (most recent call last):


 "/usr/local/lib/python3.7/runpy.py", line 193, in _run_module_as_main

"__main__", mod_spec)


 "/usr/local/lib/python3.7/runpy.py", line 85, in _run_code

exec(code, run_globals)


 "/home/msamogh/rasa-1/lib/python3.7/site-packages/rasa_nlu-0.14.6-py3.7.egg/rasa_nlu/evaluate.py", line 978, in <module>


 "/home/msamogh/rasa-1/lib/python3.7/site-packages/rasa_nlu-0.14.6-py3.7.egg/rasa_nlu/evaluate.py", line 972, in main


 "/home/msamogh/rasa-1/lib/python3.7/site-packages/rasa_nlu-0.14.6-py3.7.egg/rasa_nlu/evaluate.py", line 749, in run_evaluation


 "/home/msamogh/rasa-1/lib/python3.7/site-packages/rasa_nlu-0.14.6-py3.7.egg/rasa_nlu/evaluate.py", line 624, in get_intent_predictions


 "/home/msamogh/rasa-1/lib/python3.7/site-packages/rasa_nlu-0.14.6-py3.7.egg/rasa_nlu/evaluate.py", line 596, in extract_intent
AttributeError: 'NoneType' object has no attribute 'get'
