Univention Bugzilla – Bug 39131
System setup fails and does not complete when German language + english locale is selected
Last modified: 2015-10-27 09:42:03 CET
Appliance mode: When choosing German as language on the first screen and an english location (tested with boston and new york city), several tracebacks occur and can be found in setup.log. This prevents the configuration and installation of any univention-server-* package. The symptom is that system setup finishes within seconds, and clicking on finish does not complete system setup. Traceback (most recent call last): File "/usr/lib/univention-system-setup/scripts/05_role/10role", line 37, in <module> from univention.management.console.modules.setup.setup_script import AptScript, main, _ File "/usr/lib/pymodules/python2.7/univention/management/console/modules/__init__.py", line 34, in <module> import univention.management.console.protocol File "/usr/lib/pymodules/python2.7/univention/management/console/protocol/__init__.py", line 187, in <module> from session import * File "/usr/lib/pymodules/python2.7/univention/management/console/protocol/session.py", line 69, in <module> from ..acl import LDAP_ACLs File "/usr/lib/pymodules/python2.7/univention/management/console/acl.py", line 72, in <module> import univention.admin.modules File "/usr/lib/pymodules/python2.7/univention/admin/modules.py", line 44, in <module> import univention.admin.syntax File "/usr/lib/pymodules/python2.7/univention/admin/syntax.py", line 3043, in <module> class Country(select): File "/usr/lib/pymodules/python2.7/univention/admin/syntax.py", line 3164, in Country locale.setlocale(locale.LC_ALL, "") File "/usr/lib/python2.7/locale.py", line 547, in setlocale return _setlocale(category, locale) locale.Error: unsupported locale setting
Created attachment 7094 [details] setup.log of affected system
Created attachment 7095 [details] profile of affected system
Commit 62882 adds a try-except-block that prevents a crash in case of a missing locale.
YAML is in commit 62897.
OK: This traceback is gone from the system setup log OK: UMC behavior OK: yaml Verified
<http://errata.univention.de/ucs/4.0/284.html>