Bug 54113 - schoolimport/dry-run/progress: ServerError: Received status_code=500 with reason='Internal Server Error'
schoolimport/dry-run/progress: ServerError: Received status_code=500 with rea...
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:
Blocks:
  Show dependency treegraph
 
Reported: 2021-11-19 17:09 CET by Maximilian Janßen
Modified: 2022-05-25 18:12 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 2: Improvement: Would be a product improvement
Who will be affected by this bug?: 1: Will affect a very 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.023
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2022052421000517, 2021091821000211, 2021091121000189, 2020091921000425
Bug group (optional): 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-19 17:09:35 CET
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
Comment 1 Maximilian Janßen univentionstaff 2021-11-19 17:33:56 CET
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'}).
Comment 2 Riya Bhattacharjee univentionstaff 2022-02-01 16:29:34 CET
Reported again in Ticket number 2021120721000431