@rcnorth wrote:
I ran an update after Christmas to the latest (2.11.23) and started getting the following errors in the log file when running tasks that have the notify plugin
2018-01-14 20:50 ERROR notify_entry monitor_missing_episodes unbound method sendmail() must be called with SMTP instance as first argument (got unicode instance instead) Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/flexget/plugins/notifiers/notify.py", line 103, in send_notification send_notification(*args, **kwargs) File "/usr/local/lib/python2.7/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 File "/usr/local/lib/python2.7/site-packages/flexget/plugins/notifiers/email.py", line 184, in notify self.mail_server.sendmail(email['From'], config['to'], email.as_string()) TypeError: unbound method sendmail() must be called with SMTP instance as first argument (got unicode instance instead)
I am getting the same error on all tasks, as they all have the notify plugin configured the same way. Here is one of the tasks that produce the error
monitor_missing_episodes: disable: seen trakt_lookup: yes thetvdb_lookup: yes no_entries_ok: yes next_series_episodes: yes next_trakt_episodes: <<: *trakt-credentials list: '{? trakt.series ?}' context: collected position: next accept_all: yes if: - "trakt_collected or trakt_watched": reject - "not trakt_ep_first_aired or trakt_ep_first_aired > now": reject # Change the value in days to customize the time delta notify: task: always_send: yes title: "Flexget - Missing episodes detected" template: html via: - email: <<: *gmail-settings
Any help is appreciated.
Posts: 1
Participants: 1