CRITICAL error in task with plugin email
See original GitHub issueExpected behaviour:
Send an email
Actual behaviour:
Critical error BUG: Unhandled error in plugin email: ‘in <string>’ requires string as left operand, not int
Steps to reproduce:
Use this config.yml
Config:
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)}}/
Log:
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
Additional information:
- Flexget Version: 2.8.4
- Python Version: 2.7.9
- Installation method: pip
- OS and version: xbian raspberry b+
- Link to crash log:
Issue Analytics
- State:
- Created 7 years ago
- Comments:12 (8 by maintainers)
Top Results From Across the Web
How to Fix the "There Has Been a Critical Error on Your ...
Luckily, fixing this critical error is usually just a matter of adding a small PHP function or deleting a problem plugin. Here we'll...
Read more >There Has Been a Critical Error on This Website: 5 Quick Fixes
This message means that there's a fatal PHP error on the site. It occurs when a PHP script stops running and is unable...
Read more >How to Fix There Has Been a Critical Error on This Website?
1. Check out your Error logs · 2. Activate Debug Mode in WordPress · 3. Revert/Restore Your WordPress Site · 4. Solve Any...
Read more >Critical error following Email Test - WordPress.org
EMAIL DELIVERY ERROR: the plugin WP Mail SMTP v2.5.1 logged this error during the last time it tried to send an email: Mailer:...
Read more >How to Fix “There Has Been a Critical Error on Your Website ...
In this guide, you'll learn what causes the white screen of death and how to fix the "There Has Been a Critical Error...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I doubt it.
@
is in ASCII, no reason for it to fail. Did you try my change?closed with https://github.com/Flexget/Flexget/commit/01eabe345b1ca91019889834438ec2f0e49d93e8 messed up the bug number on the commit…