Traceback (most recent call last):


 "/usr/local/Cellar/azure-cli/2.0.47/libexec/lib/python3.7/site-packages/knack/cli.py", line 197, in invoke

cmd_result = self.invocation.execute(args)


 "/usr/local/Cellar/azure-cli/2.0.47/libexec/lib/python3.7/site-packages/azure/cli/core/commands/__init__.py", line 262, in execute

self.commands_loader.load_arguments(command)


 "/usr/local/Cellar/azure-cli/2.0.47/libexec/lib/python3.7/site-packages/azure/cli/core/__init__.py", line 253, in load_arguments

self.command_table[command].load_arguments()
# this loads the arguments via reflection


 "/usr/local/Cellar/azure-cli/2.0.47/libexec/lib/python3.7/site-packages/azure/cli/core/commands/__init__.py", line 141, in load_arguments

super(AzCliCommand, self).load_arguments()


 "/usr/local/Cellar/azure-cli/2.0.47/libexec/lib/python3.7/site-packages/knack/commands.py", line 76, in load_arguments

cmd_args = self.arguments_loader()


 "/usr/local/Cellar/azure-cli/2.0.47/libexec/lib/python3.7/site-packages/azure/cli/core/__init__.py", line 440, in default_arguments_loader

op = handler or self.get_op_handler(operation)


 "/usr/local/Cellar/azure-cli/2.0.47/libexec/lib/python3.7/site-packages/azure/cli/core/__init__.py", line 478, in get_op_handler

get_versioned_sdk_path(self.cli_ctx.cloud.profile, rt, operation_group=operation_group))


 "/usr/local/Cellar/azure-cli/2.0.47/libexec/lib/python3.7/site-packages/azure/cli/core/profiles/_shared.py", line 368, in get_versioned_sdk_path

api_version = getattr(api_version, operation_group)


 "/usr/local/Cellar/azure-cli/2.0.47/libexec/lib/python3.7/site-packages/azure/cli/core/profiles/_shared.py", line 176, in __getattr__

self._resolve()


 "/usr/local/Cellar/azure-cli/2.0.47/libexec/lib/python3.7/site-packages/azure/cli/core/profiles/_shared.py", line 163, in _resolve

for operation_group_name, operation_type in self._client_type.__dict__.items():
AttributeError: 'NoneType' object has no attribute '__dict__'

Traceback (most recent call last):


 "/home/work/it/lexicon-github/venv/bin/lexicon", line 11, in <module>

load_entry_point('dns-lexicon', 'console_scripts', 'lexicon')()


 "/home/work/it/lexicon-github/lexicon/cli.py", line 117, in main

results = client.execute()


 "/home/work/it/lexicon-github/lexicon/client.py", line 78, in execute

return self.provider.create_record(record_type, name, content)


 "/home/work/it/lexicon-github/lexicon/providers/base.py", line 80, in create_record

return self._create_record(rtype, name, content)


 "/home/work/it/lexicon-github/lexicon/providers/hetzner.py", line 180, in _create_record

with self._session(self.domain, self.domain_id) as ddata:


 "/usr/lib/python3.7/contextlib.py", line 112, in __enter__

return next(self.gen)


 "/home/work/it/lexicon-github/lexicon/providers/hetzner.py", line 606, in _session

raise exc


 "/home/work/it/lexicon-github/lexicon/providers/hetzner.py", line 603, in _session

zone = self._get_zone(qdomain, qdomain_id)


 "/home/work/it/lexicon-github/lexicon/providers/hetzner.py", line 691, in _get_zone

zone_file = Provider._filter_dom(dom, zone_file_filter).renderContents().decode('UTF-8')
AttributeError: 'NoneType' object has no attribute 'renderContents'
