@atekoa wrote:
CRITICAL error in task with plugin email, a lot of work arround and no way to get this working...
Flexget v2.8.4
Python 2.7.9
xbian in a raspb+2016-12-16 20:45 CRITICAL task sort-series BUG: Unhandled error in plugin email: 'in <string>' requires string as left operand, not int Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/flexget/task.py", line 483, in __run_plugin return method(*args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/flexget/event.py", line 23, in __call__ return self.func(*args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/notifiers/email.py", line 167, in on_task_output plugin.get_plugin_by_name('notify').instance.send_notification(task, notify_config) File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/notifiers/notify.py", line 152, in send_notification notifier.notify(**notification_data) File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/notifiers/email.py", line 151, in notify mailServer.login(str(smtp_username), str(smtp_password)) File "/usr/lib/python2.7/smtplib.py", line 607, in login (code, resp) = self.docmd(encode_cram_md5(resp, user, password)) File "/usr/lib/python2.7/smtplib.py", line 571, in encode_cram_md5 response = user + " " + hmac.HMAC(password, challenge).hexdigest() File "/usr/lib/python2.7/hmac.py", line 75, in __init__ self.outer.update(key.translate(trans_5C)) File "/usr/local/lib/python2.7/dist-packages/future/types/newstr.py", line 390, in translate if ord(c) in table: TypeError: 'in <string>' requires string as left operand, not int
CONFIG.YML
templates: global: email: from: xxx@domain.com to: xxx@gmail.com smtp_host: domain.com smtp_port: 587 smtp_username: xxx@domain.com smtp_password: _thepasss123_ smtp_tls: true # Series series-dir: thetvdb_lookup: yes series: agroup: - House - Westworld tasks: sort-series: priority: 10 filesystem: path: /downloaded/ regexp: '.*\.(avi|mkv|mp4)$' recursive: yes seen: local template: - series-dir series: settings: agroup: parse_only: yes require_field: series_name accept_all: yes move: to: /series/{{tvdb_series_name|default(series_name)}}/s{{tvdb_series_season|default(series_season)}}/
Posts: 2
Participants: 2