Traceback (most recent call last):


 "/home/moshe/bin/gcalcli", line 11, in <module>

load_entry_point('gcalcli==4.1.0', 'console_scripts', 'gcalcli')()


 "/home/moshe/.local/lib64/python3.6/site-packages/gcalcli/gcalcli.py", line 2057, in main

FLAGS.verbose, FLAGS.dump, FLAGS.reminder, FLAGS.file.name)


 "/home/moshe/.local/lib64/python3.6/site-packages/gcalcli/gcalcli.py", line 1569, in ImportICS

v = vobject.readComponents(f).next()
AttributeError: 'generator' object has no attribute 'next'

Traceback (most recent call last):


 "/usr/lib/python3.6/site-packages/flexget/plugins/notifiers/notify.py", line 103, in send_notification

send_notification(*args, **kwargs)


 "/usr/lib/python3.6/site-packages/flexget/plugins/notifiers/notification_framework.py", line 117, in send_notification

notifier.notify(title, message, rendered_config)
# TODO: Update notifiers for new api


 "/usr/lib/python3.6/site-packages/flexget/plugins/notifiers/telegram.py", line 176, in notify

chat_ids = self._real_init(Session(), config)


 "/usr/lib/python3.6/site-packages/flexget/plugins/notifiers/telegram.py", line 210, in _real_init

chat_ids = self._get_chat_ids_n_update_db(session)


 "/usr/lib/python3.6/site-packages/flexget/plugins/notifiers/telegram.py", line 266, in _get_chat_ids_n_update_db

chat_ids, has_new_chat_ids = self._get_chat_ids(session, usernames, fullnames, groups)


 "/usr/lib/python3.6/site-packages/flexget/plugins/notifiers/telegram.py", line 304, in _get_chat_ids

new_chat_ids = list(self._get_new_chat_ids(usernames, fullnames, groups))


 "/usr/lib/python3.6/site-packages/flexget/plugins/notifiers/telegram.py", line 361, in _get_new_chat_ids

upd_usernames, upd_fullnames, upd_groups = self._get_bot_updates()


 "/usr/lib/python3.6/site-packages/flexget/plugins/notifiers/telegram.py", line 411, in _get_bot_updates

chat = update.message.chat if update.message else update.edited_message.chat
AttributeError: 'NoneType' object has no attribute 'chat'
