Bug 55083 - UserValidationError: RecursionError: maximum recursion depth exceeded while calling a Python object
UserValidationError: RecursionError: maximum recursion depth exceeded while c...
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: Import scripts
UCS@school 5.0
Other Linux
: P5 normal (vote)
: UCS@school 5.0 v3-errata
Assigned To: Florian Best
Daniel Tröder
https://git.knut.univention.de/univen...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2022-08-10 12:18 CEST by Florian Best
Modified: 2022-08-17 13:26 CEST (History)
0 users

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?: 3: A User would likely not purchase the product
User Pain: 0.171
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2022-08-10 12:18:17 CEST
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/ucsschool/importer/frontend/cmdline.py", line 243, in main
    self.do_import()
  File "/usr/lib/python3/dist-packages/ucsschool/importer/frontend/cmdline.py", line 166, in do_import
    six.reraise(etype, exc, etraceback)
  File "/usr/lib/python3/dist-packages/six.py", line 693, in reraise
    raise value
  File "/usr/lib/python3/dist-packages/ucsschool/importer/frontend/cmdline.py", line 152, in do_import
    importer.mass_import()
  File "/usr/lib/python3/dist-packages/ucsschool/importer/mass_import/mass_import.py", line 88, in mass_import
    self.import_users()
  File "/usr/lib/python3/dist-packages/ucsschool/importer/mass_import/mass_import.py", line 134, in import_users
    self.user_import_stats_str = user_import.log_stats()
  File "/usr/lib/python3/dist-packages/ucsschool/importer/mass_import/user_import.py", line 766, in log_stats
    error,
  File "/usr/lib/python3/dist-packages/ucsschool/importer/exceptions.py", line 232, in __str__
    return "{} {!r}".format(self, self.validation_error)
  File "/usr/lib/python3/dist-packages/ucsschool/importer/exceptions.py", line 232, in __str__
    return "{} {!r}".format(self, self.validation_error)
  File "/usr/lib/python3/dist-packages/ucsschool/importer/exceptions.py", line 232, in __str__
    return "{} {!r}".format(self, self.validation_error)
  [Previous line repeated 245 more times]
RecursionError: maximum recursion depth exceeded while calling a Python object
Comment 2 Florian Best univentionstaff 2022-08-11 09:50:07 CEST
ucs-school-import (18.0.19)
b06c5d31652b | Bug #55083: fix RecursionError in UserValidationError string representation
Comment 3 Daniel Tröder univentionstaff 2022-08-11 09:55:57 CEST
[5.0] b06c5d316 Bug #55083: fix RecursionError in UserValidationError string representation
[5.0] f2ff4c5d2 Bug #55083: advisory

Package: ucs-school-import
Version: 18.0.19A~5.0.0.202208110950
Branch: ucs_5.0-0
Scope: ucs-school-5.0
Comment 4 Tobias Wenzel univentionstaff 2022-08-17 13:26:08 CEST
Errata updates for UCS@school 5.0 v3 have been released.

https://docs.software-univention.de/changelog-ucsschool-5.0v1-de.html

If this error occurs again, please clone this bug.