Traceback (most recent call last):


 "/opt/az/lib/python3.6/site-packages/knack/cli.py", line 197, in invoke

cmd_result = self.invocation.execute(args)


 "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 347, in execute

six.reraise(*sys.exc_info())


 "/opt/az/lib/python3.6/site-packages/six.py", line 693, in reraise

raise value


 "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 319, in execute

result = cmd(params)


 "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 180, in __call__

return super(AzCliCommand, self).__call__(*args, **kwargs)


 "/opt/az/lib/python3.6/site-packages/knack/commands.py", line 109, in __call__

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


 "/opt/az/lib/python3.6/site-packages/azure/cli/core/__init__.py", line 420, in default_command_handler

result = op(**command_args)


 "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/role/custom.py", line 1176, in reset_service_principal_credential

password, keyvault)


 "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/role/custom.py", line 836, in _process_service_principal_creds

logger.debug("normalizing x509 certificate with fingerprint %s", cert.digest("sha1"))
AttributeError: 'str' object has no attribute 'digest' 

Traceback (most recent call last):


 "/Users/johannes/.pyenv/versions/3.7.6/bin/pyftsubset", line 8, in <module>

sys.exit(main())


 "/Users/johannes/.pyenv/versions/3.7.6/lib/python3.7/site-packages/fontTools/misc/loggingTools.py", line 367, in wrapper

return func(*args, **kwds)


 "/Users/johannes/.pyenv/versions/3.7.6/lib/python3.7/site-packages/fontTools/subset/__init__.py", line 2891, in main

subsetter.subset(font)


 "/Users/johannes/.pyenv/versions/3.7.6/lib/python3.7/site-packages/fontTools/subset/__init__.py", line 2692, in subset

self._prune_pre_subset(font)


 "/Users/johannes/.pyenv/versions/3.7.6/lib/python3.7/site-packages/fontTools/subset/__init__.py", line 2486, in _prune_pre_subset

retain = table.prune_pre_subset(font, self.options)


 "/Users/johannes/.pyenv/versions/3.7.6/lib/python3.7/site-packages/fontTools/subset/__init__.py", line 1558, in prune_pre_subset

self.prune_lookups(remap=False)


 "/Users/johannes/.pyenv/versions/3.7.6/lib/python3.7/site-packages/fontTools/subset/__init__.py", line 1502, in prune_lookups

lookup_indices = self.table.LookupList.closure_lookups(lookup_indices)


 "/Users/johannes/.pyenv/versions/3.7.6/lib/python3.7/site-packages/fontTools/subset/__init__.py", line 1247, in closure_lookups

for i in recurse if i < self.LookupCount), [])


 "/Users/johannes/.pyenv/versions/3.7.6/lib/python3.7/site-packages/fontTools/subset/__init__.py", line 1247, in <genexpr>

for i in recurse if i < self.LookupCount), [])
AttributeError: 'NoneType' object has no attribute 'collect_lookups'
