You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Jakub Guzik (Jira)" <ji...@apache.org> on 2020/01/24 14:04:00 UTC

[jira] [Created] (AIRFLOW-6627) Email with incorrect DAG not delivered

Jakub Guzik created AIRFLOW-6627:
------------------------------------

             Summary: Email with incorrect DAG not delivered
                 Key: AIRFLOW-6627
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6627
             Project: Apache Airflow
          Issue Type: Bug
          Components: models
    Affects Versions: 1.10.7
            Reporter: Jakub Guzik
             Fix For: 1.10.8


The task that was released was done incorrectly. I did not receive a notification because an error occurred:

 

{{During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/airflow/models/taskinstance.py", line 1121, in handle_failure
    self.email_alert(error)
  File "/usr/local/lib/python3.6/site-packages/airflow/models/taskinstance.py", line 1357, in email_alert
    send_email(self.task.email, subject, html_content)
  File "/usr/local/lib/python3.6/site-packages/airflow/utils/email.py", line 60, in send_email
    mime_subtype=mime_subtype, mime_charset=mime_charset, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/airflow/utils/email.py", line 92, in send_email_smtp
    mime_text = MIMEText(html_content, 'html', mime_charset)
  File "/usr/lib64/python3.6/email/mime/text.py", line 42, in __init__
    self.set_payload(_text, _charset)
  File "/usr/lib64/python3.6/email/message.py", line 315, in set_payload
    payload = payload.encode(charset.output_charset)
UnicodeEncodeError: 'ascii' codec can't encode character '\u200b' in position 2371772: ordinal not in range(128)}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)