You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/11/10 07:53:00 UTC

[jira] [Commented] (AIRFLOW-1799) models.py raising exception with TypeError: not all arguments converted during string formatting

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

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

Commit a8f3efa9929f17c913c13c4a0e1b02f7c45c4a64 in incubator-airflow's branch refs/heads/v1-9-test from [~rbuckl]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=a8f3efa ]

[AIRFLOW-1799] Fix logging line which raises errors

Closes #2777 from ryancbuckley/log-syntax-fix

(cherry picked from commit f14f8558be08b8175c0f88f8cf02be3e7583151f)
Signed-off-by: Bolke de Bruin <bo...@xs4all.nl>


> 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)