Traceback (most recent call last):


 "/home/airflow/.local/lib/python3.6/site-packages/flask/app.py", line 2446, in wsgi_app

response = self.full_dispatch_request()


 "/home/airflow/.local/lib/python3.6/site-packages/flask/app.py", line 1951, in full_dispatch_request

rv = self.handle_user_exception(e)


 "/home/airflow/.local/lib/python3.6/site-packages/flask/app.py", line 1820, in handle_user_exception

reraise(exc_type, exc_value, tb)


 "/home/airflow/.local/lib/python3.6/site-packages/flask/_compat.py", line 39, in reraise

raise value


 "/home/airflow/.local/lib/python3.6/site-packages/flask/app.py", line 1949, in full_dispatch_request

rv = self.dispatch_request()


 "/home/airflow/.local/lib/python3.6/site-packages/flask/app.py", line 1935, in dispatch_request

return self.view_functions[rule.endpoint](**req.view_args)


 "/home/airflow/.local/lib/python3.6/site-packages/flask_appbuilder/security/decorators.py", line 109, in wraps

return f(self, *args, **kwargs)


 "/home/airflow/.local/lib/python3.6/site-packages/flask_appbuilder/views.py", line 551, in list

widgets = self._list()


 "/home/airflow/.local/lib/python3.6/site-packages/flask_appbuilder/baseviews.py", line 1127, in _list

page_size=page_size,


 "/home/airflow/.local/lib/python3.6/site-packages/flask_appbuilder/baseviews.py", line 1026, in _get_list_widget

page_size=page_size,


 "/home/airflow/.local/lib/python3.6/site-packages/flask_appbuilder/models/sqla/interface.py", line 168, in query

query_count = self._get_base_query(query=query_count, filters=filters)


 "/home/airflow/.local/lib/python3.6/site-packages/flask_appbuilder/models/sqla/interface.py", line 85, in _get_base_query

query = filters.apply_all(query)


 "/home/airflow/.local/lib/python3.6/site-packages/flask_appbuilder/models/filters.py", line 269, in apply_all

query = flt.apply(query, value)


 "/home/airflow/.local/lib/python3.6/site-packages/airflow/www_rbac/views.py", line 2187, in apply

if appbuilder.sm.has_all_dags_access():


 "/home/airflow/.local/lib/python3.6/site-packages/airflow/www_rbac/security.py", line 320, in has_all_dags_access

self._has_role(['Admin', 'Viewer', 'Op', 'User']) or


 "/home/airflow/.local/lib/python3.6/site-packages/airflow/www_rbac/security.py", line 299, in _has_role

[r.name in role_name_or_list for r in self.get_user_roles()])


 "/home/airflow/.local/lib/python3.6/site-packages/airflow/www_rbac/security.py", line 229, in get_user_roles

public_role = appbuilder.config.get('AUTH_ROLE_PUBLIC')
AttributeError: 'NoneType' object has no attribute 'config'

Traceback (most recent call last):


 "/home/frappe/frappe-bench-d/apps/frappe/frappe/app.py", line 60, in application

response = frappe.api.handle()


 "/home/frappe/frappe-bench-d/apps/frappe/frappe/api.py", line 55, in handle

return frappe.handler.handle()


 "/home/frappe/frappe-bench-d/apps/frappe/frappe/handler.py", line 21, in handle

data = execute_cmd(cmd)


 "/home/frappe/frappe-bench-d/apps/frappe/frappe/handler.py", line 56, in execute_cmd

return frappe.call(method, **frappe.form_dict)


 "/home/frappe/frappe-bench-d/apps/frappe/frappe/__init__.py", line 1036, in call

return fn(*args, **newargs)


 "/home/frappe/frappe-bench-d/apps/frappe/frappe/desk/form/save.py", line 22, in savedocs

doc.save()


 "/home/frappe/frappe-bench-d/apps/frappe/frappe/model/document.py", line 271, in save

return self._save(*args, **kwargs)


 "/home/frappe/frappe-bench-d/apps/frappe/frappe/model/document.py", line 324, in _save

self.run_post_save_methods()


 "/home/frappe/frappe-bench-d/apps/frappe/frappe/model/document.py", line 917, in run_post_save_methods

self.run_method("on_update")


 "/home/frappe/frappe-bench-d/apps/frappe/frappe/model/document.py", line 786, in run_method

out = Document.hook(fn)(self, *args, **kwargs)


 "/home/frappe/frappe-bench-d/apps/frappe/frappe/model/document.py", line 1056, in composer

return composed(self, method, *args, **kwargs)


 "/home/frappe/frappe-bench-d/apps/frappe/frappe/model/document.py", line 1039, in runner

add_to_return_value(self, fn(self, *args, **kwargs))


 "/home/frappe/frappe-bench-d/apps/frappe/frappe/model/document.py", line 780, in <lambda>

fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)


 "/home/frappe/frappe-bench-d/apps/frappe/frappe/core/doctype/report/report.py", line 47, in on_update

self.export_doc()


 "/home/frappe/frappe-bench-d/apps/frappe/frappe/core/doctype/report/report.py", line 88, in export_doc

self.create_report_py()


 "/home/frappe/frappe-bench-d/apps/frappe/frappe/core/doctype/report/report.py", line 92, in create_report_py

make_boilerplate("controller.py", self, {"name": self.name})


 "/home/frappe/frappe-bench-d/apps/frappe/frappe/modules/utils.py", line 245, in make_boilerplate

if doc.is_tree:
AttributeError: 'Report' object has no attribute 'is_tree'
