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

Marcelo G. Almiron commented on AIRFLOW-1099:
---------------------------------------------

The issue is more general than I thought. There are plenty of fields that need 
to be wrapped with the {{native}} function in order to work with {{pymssql}}.

> Error "TypeError: Expected bytes, got newbytes" while using MS SQL as 
> metadata database
> ---------------------------------------------------------------------------------------
>
>                 Key: AIRFLOW-1099
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1099
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: db
>    Affects Versions: Airflow 1.8
>         Environment: RHEL 6.5; Python 2.7; MS SQL Server 2008
>            Reporter: Marcelo G. Almiron
>         Attachments: traceback.txt
>
>
> When accessing any DAG view from the initial page after log in, I get the 
> error "TypeError: Expected bytes, got newbytes". This error occurs only while 
> using MS SQL as metadata database (I tested with Postgres and works 
> perfectly).
> Traceback is in attachment.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to