Traceback (most recent call last):


 "/home/peter/.virtualenvs/celery/bin/celery", line 33, in <module>

sys.exit(load_entry_point('celery', 'console_scripts', 'celery')())


 "/home/peter/Development/celery/celery/__main__.py", line 15, in main

sys.exit(_main())


 "/home/peter/Development/celery/celery/bin/celery.py", line 213, in main

return celery(auto_envvar_prefix="CELERY")


 "/home/peter/.virtualenvs/celery/lib/python3.9/site-packages/click/core.py", line 829, in __call__

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


 "/home/peter/.virtualenvs/celery/lib/python3.9/site-packages/click/core.py", line 782, in main

rv = self.invoke(ctx)


 "/home/peter/.virtualenvs/celery/lib/python3.9/site-packages/click/core.py", line 1236, in invoke

return Command.invoke(self, ctx)


 "/home/peter/.virtualenvs/celery/lib/python3.9/site-packages/click/core.py", line 1066, in invoke

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


 "/home/peter/.virtualenvs/celery/lib/python3.9/site-packages/click/core.py", line 610, in invoke

return callback(*args, **kwargs)


 "/home/peter/.virtualenvs/celery/lib/python3.9/site-packages/click/decorators.py", line 21, in new_func

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


 "/home/peter/Development/celery/celery/bin/celery.py", line 128, in celery

click.echo(ctx.get_help())


 "/home/peter/.virtualenvs/celery/lib/python3.9/site-packages/click/core.py", line 570, in get_help

return self.command.get_help(self)


 "/home/peter/.virtualenvs/celery/lib/python3.9/site-packages/click/core.py", line 975, in get_help

self.format_help(ctx, formatter)


 "/home/peter/.virtualenvs/celery/lib/python3.9/site-packages/click/core.py", line 1003, in format_help

self.format_options(ctx, formatter)


 "/home/peter/.virtualenvs/celery/lib/python3.9/site-packages/click/core.py", line 1137, in format_options

self.format_commands(ctx, formatter)


 "/home/peter/.virtualenvs/celery/lib/python3.9/site-packages/click/core.py", line 1200, in format_commands

help = cmd.get_short_help_str(limit)
AttributeError: 'function' object has no attribute 'get_short_help_str'

Traceback (most recent call last):


 "/usr/bin/patronictl", line 11, in <module>

load_entry_point('patroni==1.5.0', 'console_scripts', 'patronictl')()


 "/usr/lib64/python2.7/site-packages/click/core.py", line 764, in __call__

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


 "/usr/lib64/python2.7/site-packages/click/core.py", line 717, in main

rv = self.invoke(ctx)


 "/usr/lib64/python2.7/site-packages/click/core.py", line 1137, in invoke

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


 "/usr/lib64/python2.7/site-packages/click/core.py", line 956, in invoke

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


 "/usr/lib64/python2.7/site-packages/click/core.py", line 555, in invoke

return callback(*args, **kwargs)


 "/usr/lib64/python2.7/site-packages/click/decorators.py", line 27, in new_func

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


 "/usr/lib/python2.7/site-packages/patroni/ctl.py", line 1114, in edit_config

before_editing = format_config_for_editing(cluster.config.data)
AttributeError: 'NoneType' object has no attribute 'data'
