You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Ryan (JIRA)" <ji...@apache.org> on 2017/11/09 22:00:00 UTC

[jira] [Updated] (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:all-tabpanel ]

Ryan updated AIRFLOW-1799:
--------------------------
    Description: 
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

  was:
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

This is due to a misuse of formatting syntax


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