Univention Bugzilla – Bug 54080
office365/query: AttributeError: 'NoneType' object has no attribute 'startswith'
Last modified: 2021-11-18 21:50:28 CET
Error: Internal server error during "office365/query". Request: office365/query Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 359, in __error_handling six.reraise(etype, exc, etraceback) File "%PY2.7%/univention/management/console/base.py", line 262, in execute function.__func__(self, request, *args, **kwargs) File "%PY2.7%/univention/management/console/modules/decorators.py", line 321, in _response result = _multi_response(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 181, in _response return function(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 443, in _response return list(function(self, iterator, *nones)) File "%PY2.7%/univention/management/console/modules/decorators.py", line 289, in _fake_func yield function(self, *args) File "%PY2.7%/univention/management/console/modules/office365/__init__.py", line 92, in query 'initialized': AzureAuth.is_initialized(self.adconnection_alias), File "%PY2.7%/univention/office365/azure_auth.py", line 392, in is_initialized tokens = cls.load_tokens(adconnection_alias) File "%PY2.7%/univention/office365/azure_auth.py", line 434, in load_tokens return JsonStorage(AzureADConnectionHandler.get_conf_path('TOKEN_FILE', adconnection_alias)).read() File "%PY2.7%/univention/office365/azure_auth.py", line 100, in get_conf_path conf_dir = os.path.join(ADCONNECTION_CONF_BASEPATH, adconnection_alias) File "/usr/lib/python2.7/posixpath.py", line 68, in join if b.startswith('/'): AttributeError: 'NoneType' object has no attribute 'startswith'
*** This bug has been marked as a duplicate of bug 52568 ***