Univention Bugzilla – Bug 43711
school installer fails on typo (TypeError: not enough arguments for format string Execution of command 'schoolinstaller/get/schoolinfo)
Last modified: 2023-06-12 15:39:57 CEST
When running the installer of UCS@school 4.2 v1 on a slave to create an educational server: Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/univention/management/console/base.py", line 247, in execute function.__func__(self, request, *args, **kwargs) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 192, in _response return function(self, request) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 318, in _response result = _multi_response(self, request) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 192, in _response return function(self, request) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 440, in _response return list(function(self, iterator, *nones)) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 286, in _fake_func yield function(self, *args) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/schoolinstaller/__init__.py", line 405, in get_schoolinfo return self._umc_master(username, password, master, 'schoolinstaller/get/schoolinfo/master', {'school': school}) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/schoolinstaller/__init__.py", line 459, in _umc_master return umc(username, password, master, uri, data).result File "/usr/lib/pymodules/python2.7/univention/management/console/modules/schoolinstaller/__init__.py", line 138, in umc MODULE.info('Executing on %r: %r %r flavor=%r options=%r' % (master, path, flavor, options)) TypeError: not enough arguments for format string Execution of command 'schoolinstaller/get/schoolinfo' has failed: Fix: 138c138 < MODULE.info('Executing on %r: %r %r flavor=%r options=%r' % (master, path, flavor, options)) --- > MODULE.info('Executing on %r as %r: %r flavor=%r options=%r' % (master, username, path, flavor, options))
*** This bug has been marked as a duplicate of bug 42408 ***
*** This bug has been marked as a duplicate of bug 43389 ***