airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-1799) models.py raising exception with TypeError: not all arguments converted during string formatting
Date Fri, 10 Nov 2017 07:53:00 GMT

    [ https://issues.apache.org/jira/browse/AIRFLOW-1799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16247137#comment-16247137
] 

ASF subversion and git services commented on AIRFLOW-1799:
----------------------------------------------------------

Commit f14f8558be08b8175c0f88f8cf02be3e7583151f in incubator-airflow's branch refs/heads/master
from [~rbuckl]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=f14f855 ]

[AIRFLOW-1799] Fix logging line which raises errors

Closes #2777 from ryancbuckley/log-syntax-fix


> models.py raising exception with TypeError: not all arguments converted during string
formatting
> ------------------------------------------------------------------------------------------------
>
>                 Key: AIRFLOW-1799
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1799
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: operators
>            Reporter: Ryan
>            Assignee: Ryan
>            Priority: Minor
>
> My airflow install has been logging the message
> {code:java}
> Logged from file models.py, line 2159
> Traceback (most recent call last): File "/usr/lib/python2.7/logging/__init__.py", line
859, in emit msg = self.format(record) File "/usr/lib/python2.7/logging/__init__.py", line
732, in format return fmt.format(record) File "/usr/lib/python2.7/logging/__init__.py", line
471, in format record.message = record.getMessage() File "/usr/lib/python2.7/logging/__init__.py",
line 335, in getMessage msg = msg % self.args TypeError: not all arguments converted during
string formatting
> {code}
> This is due to a misuse of formatting syntax



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message