Traceback (most recent call last):


 "/opt/code/localstack/localstack/services/plugins.py", line 96, in check_infra

check_service_health(api=name, print_error=print_error)


 "/opt/code/localstack/localstack/services/plugins.py", line 115, in check_service_health

raise e


 "/opt/code/localstack/localstack/services/plugins.py", line 111, in check_service_health

plugin.check(expect_shutdown=expect_shutdown, print_error=print_error)


 "/opt/code/localstack/localstack/services/plugins.py", line 45, in check

return self.check_function(expect_shutdown=expect_shutdown, print_error=print_error)


 "/opt/code/localstack/localstack/services/secretsmanager/secretsmanager_starter.py", line 129, in check_secretsmanager

assert isinstance(out['SecretList'], list)
TypeError: 'NoneType' object is not subscriptable

Traceback (most recent call last):


 "/usr/lib/python3.4/runpy.py", line 170, in _run_module_as_main

"__main__", mod_spec)


 "/usr/lib/python3.4/runpy.py", line 85, in _run_code

exec(code, run_globals)


 "/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 97, in <module>

main()


 "/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 18, in main

click.Group(commands=commands)(prog_name='bench')


 "/home/frappe/frappe-bench/env/lib/python3.4/site-packages/click/core.py", line 722, in __call__

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


 "/home/frappe/frappe-bench/env/lib/python3.4/site-packages/click/core.py", line 697, in main

rv = self.invoke(ctx)


 "/home/frappe/frappe-bench/env/lib/python3.4/site-packages/click/core.py", line 1066, in invoke

return _process_result(sub_ctx.command.invoke(sub_ctx))


 "/home/frappe/frappe-bench/env/lib/python3.4/site-packages/click/core.py", line 1066, in invoke

return _process_result(sub_ctx.command.invoke(sub_ctx))


 "/home/frappe/frappe-bench/env/lib/python3.4/site-packages/click/core.py", line 895, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "/home/frappe/frappe-bench/env/lib/python3.4/site-packages/click/core.py", line 535, in invoke

return callback(*args, **kwargs)


 "/home/frappe/frappe-bench/env/lib/python3.4/site-packages/click/decorators.py", line 17, in new_func

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


 "/home/frappe/frappe-bench/apps/frappe/frappe/commands/__init__.py", line 25, in _func

ret = f(frappe._dict(ctx.obj), *args, **kwargs)


 "/home/frappe/frappe-bench/apps/frappe/frappe/commands/site.py", line 222, in migrate

migrate(context.verbose, rebuild_website=rebuild_website)


 "/home/frappe/frappe-bench/apps/frappe/frappe/migrate.py", line 39, in migrate

frappe.modules.patch_handler.run_all()


 "/home/frappe/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 29, in run_all

if not run_single(patchmodule = patch):


 "/home/frappe/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 63, in run_single

return execute_patch(patchmodule, method, methodargs)


 "/home/frappe/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 83, in execute_patch

frappe.get_attr(patchmodule.split()[0] + ".execute")()


 "/home/frappe/frappe-bench/apps/erpnext/erpnext/patches/v11_0/rename_field_max_days_allowed.py", line 12, in execute

rename_field("Leave Type", "max_days_allowed", "max_continuous_days_allowed")
TypeError: 'module' object is not callable
