Bug 52637 - Migrate ucs-school-umc-wizards to Python 3
Migrate ucs-school-umc-wizards to Python 3
Status: RESOLVED FIXED
Product: UCS@school
Classification: Unclassified
Component: General
UCS@school 5.0
Other Linux
: P5 normal (vote)
: UCS@school 5.0
Assigned To: Florian Best
: interim-5
Depends on:
Blocks: 52578
  Show dependency treegraph
 
Reported: 2021-01-12 15:24 CET by Florian Best
Modified: 2021-07-12 15:23 CEST (History)
0 users

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
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 2021-01-12 15:24:59 CET
The package ucs-school-umc-wizards needs to be migrated to Python 3.

See: https://hutten.knut.univention.de/mediawiki/index.php/Python_3_Migration
Comment 1 Florian Best univentionstaff 2021-06-14 16:07:27 CEST
UMC_CommandError is obsolete and needs to be replaced with UMC_Error:

Traceback (most recent call last):
   File "/usr/lib/python2.7/dist-packages/univention/management/console/protocol/modserver.py", line 114, in _load_module
    self.__module = __import__(file_, {}, {}, modname)
  File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/schoolwizards/__init__.py", line 67, in <module>
    from univention.management.console.modules.schoolwizards.SchoolImport import SchoolImport
  File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/schoolwizards/SchoolImport.py", line 39, in <module>
    from univention.management.console.modules import UMC_CommandError
ImportError: cannot import name UMC_CommandError


ucs-school-umc-wizards (12.0.1)
a95821dba0ff | Bug #52637: replace obsolete UMC_CommandError
Comment 2 Florian Best univentionstaff 2021-06-30 11:37:28 CEST
Migrated the module to Python 3:
UMC_CommandError has been replaced with UMC_Error.

ucs-test-ucsschool (7.0.2)
6da3e0c111d1 | Bug #52637: do not respond with repr of python sets

ucs-school-umc-wizards (12.0.2)
9d789d8df4df | fixup! Bug #52637: migrate ucs-school-umc-wizards to Python 3
4bc69aca483b | Bug #52637: migrate ucs-school-umc-wizards to Python 3
6da3e0c111d1 | Bug #52637: do not respond with repr of python sets
9456904dfa1a | Bug #52637: replace obsolete UMC_CommandError