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

Kevin Yang commented on AIRFLOW-2402:
-------------------------------------

Hi [~rsubra13], I believe the problem was introduced by my previous 
[PR|[https://github.com/apache/incubator-airflow/pull/3214],] I think you can 
copy/paste the changesin the PR on www/views.py into www_rbac/views.py

 

I don't have rbac set up on my side but if you want me to do it you can assign 
this ticket to me and I'll follow through. Otherwise you can tag be in the PR, 
I'll review in on a high priority base.

 

Cheers,

Kevin Y

> Airflow 1.10 Logs UI throws oops error
> --------------------------------------
>
>                 Key: AIRFLOW-2402
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2402
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: authentication, ui
>    Affects Versions: 1.10.0
>            Reporter: Ramki Subramanian
>            Assignee: Ramki Subramanian
>            Priority: Major
>             Fix For: 1.10.0
>
>
> Hi,
> I am getting an error at
> [incubator-airflow/airflow/www_rbac/views.py|https://github.com/apache/incubator-airflow/blob/4d64ad4928f0188f7532936e8da6612f5ec7170d/airflow/www_rbac/views.py#L454]
> Line 454 in 
> [4d64ad4|https://github.com/apache/incubator-airflow/commit/4d64ad4928f0188f7532936e8da6612f5ec7170d]
> | |logs[i] = log.decode('utf-8')|
>  
> {{/home/user/lib/python2.7/site-packages/airflow/www_rbac/views.py", line 
> 454, in log logs[i] = log.decode('utf-8') AttributeError: 'list' object has 
> no attribute 'decode' }}
> Not sure if someone is already looking into this, or I am missing some config?
> Branch : 1.10_test
> More Info here:
> [https://github.com/apache/incubator-airflow/commit/05e1861e24de42f9a2c649cd93041c5c744504e1#diff-77df5adb32d964f37748c4557ffb3c4c]
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to