Univention Bugzilla – Bug 54113
schoolimport/dry-run/progress: ServerError: Received status_code=500 with reason='Internal Server Error'
Last modified: 2022-05-25 18:12:54 CEST
Version: 4.4-8 errata1029 (Blumenthal) - UCS@school 4.4 v9 Error: Interner Server-Fehler in "schoolimport/dry-run/progress". Request: schoolimport/dry-run/progress 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 248, in poll_dry_run return progress.poll() File "%PY2.7%/univention/management/console/modules/mixins.py", line 102, in poll six.reraise(self.exc_info[1], None, self.exc_info[2]) File "<string>", line 2, in reraise ServerError: Received status_code=500 with reason='Internal Server Error' for requests.post(**files={u'input_file': (u'1631968945-Neue User SJ2122.csv', <closed file '<uninitialized file>', mode '<uninitialized file>' at 0x7f97112d2780>, 'text/plain')}, url=u'https://****.lokal/api/v1/imports/users/', auth=(u'Administrator', u'**********'), headers={u'Accept': u'application/json'}, params=None, data={u'school': u'https://****.lokal/api/v1/schools/schule/', u'dryrun': True, u'user_role': u'student'}). Role: domaincontroller_master
Reported again: Version: 4.4-8 errata1029 (Blumenthal) - UCS@school 4.4 v9 (only the end is diffrent) ServerError: Received status_code=500 with reason='Internal Server Error' for requests.post(**files={u'input_file': (u'1631357971-SL20212022.csv', <closed file '<uninitialized file>', mode '<uninitialized file>' at 0x7fcdf390ed20>, 'text/plain')}, url=u'https://****.lokal/api/v1/imports/users/', auth=(u'Administrator', u'***********'), headers={u'Accept': u'application/json'}, params=None, data={u'school': u'https://****.lokal/api/v1/schools/schule/', u'dryrun': True, u'user_role': u'student'}).
Reported again in Ticket number 2021120721000431