Univention Bugzilla – Bug 52637
Migrate ucs-school-umc-wizards to Python 3
Last modified: 2021-11-29 17:19:35 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
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
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
QA: code review OK manual UMC test of umc school wizards OK
UCS@school 5.0 v1 has been released. https://docs.software-univention.de/release-notes-ucsschool-5.0v1-de.html If this error occurs again, please clone this bug.