Univention Bugzilla – Bug 56111
Traceback during system setup
Last modified: 2023-06-07 09:44:59 CEST
Since commit 0d61cc72671 The system setup tracebacks when an error should be displayed. The commit changed: - to_be_installed, to_be_removed, broken = self.mark(install, remove, dry_run=True) + _, _, broken = self.mark(install, remove, dry_run=True) And therefore overwrote the translation function called "_" Traceback (most recent call last): File "/usr/lib/python3/dist-packages/univention/management/console/modules/setup/setup_script.py", line 334, in run success = self.inner_run() ^^^^^^^^^^^^^^^^ File "/usr/lib/univention-system-setup/scripts/05_role/10role", line 89, in inner_run success = self.install(wanted_server_role_package) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/univention/management/console/modules/setup/setup_script.py", line 453, in install return self.package_manager.install(*pkg_names) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/univention/lib/package_manager.py", line 1134, in install return self.commit(install=pkg_names) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/univention/lib/package_manager.py", line 957, in commit self.progress_state.error('%s: %s' % (pkg.name, _('Failed to install'))) ^^^^^^^^^^^^^^^^^^^^^^ TypeError: 'list' object is not callable +++ This bug was initially created as a clone of Bug #55632 +++ Some leftover references of Python 2.7 exists: management/univention-appcenter/conffiles/etc/univention/service.info/services/univention-appcenter.cfg: > programs=python /usr/bin/univention-run-app %s start mail/univention-spamassassin/debian/univention-spamassassin.postinst: > python -c 'import pty; pty.spawn(["/etc/cron.daily/spamassassin"]) management/univention-appcenter/debian/univention-management-console-module-appcenter.postinst: > python -c "from univention.appcenter.actions import get_action; get_action… management/univention-management-console/usr/share/univention-management-console/saml/update_metadata: > metadata=$(python -c "from saml2.metadata import create_metadata_string…
univention-lib.yaml 90b8419c877a | Bug #56111: fix overwriting of "_" translation variable univention-lib (9.0.14-6) 90b8419c877a | Bug #56111: fix overwriting of "_" translation variable
OK: System setup doesn't traceback when it should raise an error OK: Jenkins tests Verified
<https://errata.software-univention.de/#/?erratum=5.0x705>