Bug 54135 - schoolimport/schools: ServerError: Received status_code=500 with reason='Internal Server Error'
schoolimport/schools: ServerError: Received status_code=500 with reason='Inte...
Status: NEW
Product: UCS@school
Classification: Unclassified
Component: Import scripts
UCS@school 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS@school maintainers
:
Depends on: 47236
Blocks: 47237
  Show dependency treegraph
 
Reported: 2021-11-24 13:13 CET by Maximilian Janßen
Modified: 2023-07-20 17:00 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.114
Enterprise Customer affected?:
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2021090821000141, 2021030821000357, 2021020321000466, 2023072021000215
Bug group (optional): Error handling, External feedback
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maximilian Janßen univentionstaff 2021-11-24 13:13:07 CET
+++ 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'