qntnrbns commented on issue #5527: [AIRFLOW-4892] Fix connection creation via 
UIs
URL: https://github.com/apache/airflow/pull/5527#issuecomment-510625249
 
 
   ```
                             ____/ (  (    )   )  \___
                            /( (  (  )   _    ))  )   )\
                          ((     (   )(    )  )   (   )  )
                        ((/  ( _(   )   (   _) ) (  () )  )
                       ( (  ( (_)   ((    (   )  .((_ ) .  )_
                      ( (  )    (      (  )    )   ) . ) (   )
                     (  (   (  (   ) (  _  ( _) ).  ) . ) ) ( )
                     ( (  (   ) (  )   (  ))     ) _)(   )  )  )
                    ( (  ( \ ) (    (_  ( ) ( )  )   ) )  )) ( )
                     (  (   (  (   (_ ( ) ( _    )  ) (  )  )   )
                    ( (  ( (  (  )     (_  )  ) )  _)   ) _( ( )
                     ((  (   )(    (     _    )   _) _(_ (  (_ )
                      (_((__(_(__(( ( ( |  ) ) ) )_))__))_)___)
                      ((__)        \\||lll|l||///          \_))
                               (   /(/ (  )  ) )\   )
                             (    ( ( ( | | ) ) )\   )
                              (   /(| / ( )) ) ) )) )
                            (     ( ((((_(|)_)))))     )
                             (      ||\(|(|)|/||     )
                           (        |(||(||)||||        )
                             (     //|/l|||)|\\ \     )
                           (/ / //  /|//||||\\  \ \  \ _)
   
-------------------------------------------------------------------------------
   Node: 980a00973324
   
-------------------------------------------------------------------------------
   Traceback (most recent call last):
     File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 2311, in 
wsgi_app
       response = self.full_dispatch_request()
     File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1834, in 
full_dispatch_request
       rv = self.handle_user_exception(e)
     File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1737, in 
handle_user_exception
       reraise(exc_type, exc_value, tb)
     File "/usr/local/lib/python3.6/site-packages/flask/_compat.py", line 36, 
in reraise
       raise value
     File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1832, in 
full_dispatch_request
       rv = self.dispatch_request()
     File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1818, in 
dispatch_request
       return self.view_functions[rule.endpoint](**req.view_args)
     File 
"/usr/local/lib/python3.6/site-packages/flask_appbuilder/security/decorators.py",
 line 101, in wraps
       return f(self, *args, **kwargs)
     File "/usr/local/lib/python3.6/site-packages/flask_appbuilder/views.py", 
line 539, in edit
       related_views=self._related_views)
     File 
"/usr/local/lib/python3.6/site-packages/flask_appbuilder/baseviews.py", line 
161, in render_template
       return render_template(template, **dict(list(kwargs.items()) + 
list(self.extra_args.items())))
     File "/usr/local/lib/python3.6/site-packages/flask/templating.py", line 
135, in render_template
       context, ctx.app)
     File "/usr/local/lib/python3.6/site-packages/flask/templating.py", line 
117, in _render
       rv = template.render(context)
     File "/usr/local/lib/python3.6/site-packages/jinja2/asyncsupport.py", line 
76, in render
       return original_render(self, *args, **kwargs)
     File "/usr/local/lib/python3.6/site-packages/jinja2/environment.py", line 
1008, in render
       return self.environment.handle_exception(exc_info, True)
     File "/usr/local/lib/python3.6/site-packages/jinja2/environment.py", line 
780, in handle_exception
       reraise(exc_type, exc_value, tb)
     File "/usr/local/lib/python3.6/site-packages/jinja2/_compat.py", line 37, 
in reraise
       raise value.with_traceback(tb)
     File 
"/usr/local/lib/python3.6/site-packages/airflow/www_rbac/templates/airflow/conn_edit.html",
 line 18, in top-level template code
       {% extends 'appbuilder/general/model/edit.html' %}
     File 
"/usr/local/lib/python3.6/site-packages/flask_appbuilder/templates/appbuilder/general/model/edit.html",
 line 2, in top-level template code
       {% import 'appbuilder/general/lib.html' as lib %}
     File 
"/usr/local/lib/python3.6/site-packages/flask_appbuilder/templates/appbuilder/base.html",
 line 1, in top-level template code
       {% extends base_template %}
     File 
"/usr/local/lib/python3.6/site-packages/airflow/www_rbac/templates/appbuilder/baselayout.html",
 line 19, in top-level template code
       {% import 'appbuilder/baselib.html' as baselib %}
     File 
"/usr/local/lib/python3.6/site-packages/flask_appbuilder/templates/appbuilder/init.html",
 line 46, in top-level template code
       {% block body %}
     File 
"/usr/local/lib/python3.6/site-packages/airflow/www_rbac/templates/appbuilder/baselayout.html",
 line 60, in block "body"
       {% block content %}
     File 
"/usr/local/lib/python3.6/site-packages/flask_appbuilder/templates/appbuilder/general/model/edit.html",
 line 23, in block "content"
       {% block edit_form %}
     File 
"/usr/local/lib/python3.6/site-packages/flask_appbuilder/templates/appbuilder/general/model/edit.html",
 line 25, in block "edit_form"
       {{ widgets.get('edit')(form_action=form_action)|safe }}
     File "/usr/local/lib/python3.6/site-packages/flask_appbuilder/widgets.py", 
line 34, in __call__
       return template.render(args)
     File "/usr/local/lib/python3.6/site-packages/jinja2/asyncsupport.py", line 
76, in render
       return original_render(self, *args, **kwargs)
     File "/usr/local/lib/python3.6/site-packages/jinja2/environment.py", line 
1008, in render
       return self.environment.handle_exception(exc_info, True)
     File "/usr/local/lib/python3.6/site-packages/jinja2/environment.py", line 
780, in handle_exception
       reraise(exc_type, exc_value, tb)
     File "/usr/local/lib/python3.6/site-packages/jinja2/_compat.py", line 37, 
in reraise
       raise value.with_traceback(tb)
     File 
"/usr/local/lib/python3.6/site-packages/flask_appbuilder/templates/appbuilder/general/widgets/form.html",
 line 43, in top-level template code
       {% if field.name not in exclude_cols %}
     File "/usr/local/lib/python3.6/site-packages/jinja2/environment.py", line 
430, in getattr
       return getattr(obj, attribute)
   jinja2.exceptions.UndefinedError: 'airflow.www_rbac.forms.ConnectionForm 
object' has no attribute 'extra__grpc__credentials_pem_file'
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to