Univention Bugzilla – Bug 54135
schoolimport/schools: ServerError: Received status_code=500 with reason='Internal Server Error'
Last modified: 2023-07-20 17:00:52 CEST
+++ This bug was initially created as a clone of Bug #47236 +++ Bug #46908 had the same traceback and was marked as a duplicate of Bug #47236 Version: 4.4-8 errata1009 (Blumenthal) - UCS@school 4.4 v9 Remark: Auf Benutzerimport klicken. Error: Interner Server-Fehler in "schoolimport/schools". Request: schoolimport/schools 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 641, in _decorated return function(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/schoolimport/__init__.py", line 104, in schools dict(id=school.name, label=school.displayName) for school in self.client.school.list() File "%PY2.7%/ucsschool/http_api/client.py", line 593, in list return self._to_python(self._list_resource(**params)) File "%PY2.7%/ucsschool/http_api/client.py", line 551, in _list_resource return self._resource_from_url(resource_url, **params) File "%PY2.7%/ucsschool/http_api/client.py", line 543, in _resource_from_url return self.client.call_api("get", url, params=params) File "%PY2.7%/ucsschool/http_api/client.py", line 524, in call_api raise exc(msg, status_code=response.status_code) ServerError: Received status_code=500 with reason='Internal Server Error' for requests.get(**files=None, url=u'https://****/api/v1/schools/', auth=(u'****', u'*************'), headers={u'Accept': u'application/json'}, params={}, data=None). Role: domaincontroller_master Note: auth=(u'****' was not u'Administrator'