Univention Bugzilla – Bug 39136
System setup fails and does not complete when German language + english locale is selected
Last modified: 2015-08-10 23:20:56 CEST
+++ This bug was initially created as a clone of Bug #39131 +++ After fixing the original bug it appears that the traceback was masking the core problem: when selecting German as a language but a location with an associated en_US locale, de_DE is not added to the list of locales in the 'profile' file. System setup should force en_US and de_DE as configured locales. Example traceback: Traceback (most recent call last): File "/usr/lib/univention-system-setup/appliance-hooks.d/20_install_univention_welcome_screen", line 33, in <module> from univention.management.console.modules.setup.setup_script import AptScript, main, _ File "/usr/lib/pymodules/python2.7/univention/management/console/modules/setup/setup_script.py", line 50, in <module> _ = setup_i18n() File "/usr/lib/pymodules/python2.7/univention/management/console/modules/setup/setup_script.py", line 44, in setup_i18n locale.setlocale(locale.LC_ALL, locale.getdefaultlocale()) File "/usr/lib/python2.7/locale.py", line 547, in setlocale return _setlocale(category, locale) locale.Error: unsupported locale setting
r62904 force en_us and de_de univention-system-setup 8.1.69-24.913.201508101852 r62905 yaml I tested successfully with language=german and location=boston
Code review: OK
another test: language: english, location: boston -> profile contains de_DE and en_US
Test: OK Advisory: OK
Please also QA: r62906 Merge to UCS 4.0-3 r62907 Merge to UCS 4.1-0
(In reply to Erik Damrose from comment #5) > Please also QA: > r62906 Merge to UCS 4.0-3 > r62907 Merge to UCS 4.1-0 OK
<http://errata.univention.de/ucs/4.0/285.html>
*** Bug 39134 has been marked as a duplicate of this bug. ***