An email containing the keyword apixiban is not being posted to slack in production.
This is the traceback:
Traceback (most recent call last):
File "/var/www/datalabsupport/datalabsupport/datalabsupport/manage.py", line 27, in <module>
execute_from_command_line(sys.argv)
File "/var/www/datalabsupport/venv/lib/python3.5/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
utility.execute()
File "/var/www/datalabsupport/venv/lib/python3.5/site-packages/django/core/management/__init__.py", line 375, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/var/www/datalabsupport/venv/lib/python3.5/site-packages/django/core/management/base.py", line 316, in run_from_argv
self.execute(*args, **cmd_options)
File "/var/www/datalabsupport/venv/lib/python3.5/site-packages/django/core/management/base.py", line 353, in execute
output = self.handle(*args, **options)
File "/var/www/datalabsupport/datalabsupport/datalabsupport/mail/management/commands/monitor_imap_folder.py", line 130, in handle
get_messages(**options)
File "/var/www/datalabsupport/datalabsupport/datalabsupport/mail/management/commands/monitor_imap_folder.py", line 79, in get_messages
HTMLSlacker(text).get_output())
File "/var/www/datalabsupport/venv/lib/python3.5/site-packages/htmlslacker/htmlslacker.py", line 31, in __init__
self.feed(html)
File "/usr/lib/python3.5/html/parser.py", line 110, in feed
self.rawdata = self.rawdata + data
TypeError: Can't convert 'bytes' object to str implicitly
An email containing the keyword
apixiban
is not being posted to slack in production.This is the traceback: