sdwdate started. PID 922
Traceback (most recent call last):
File "usr/bin/sdwdate", line 548, in <module>
sdwdate = Sdwdate()
File "usr/bin/sdwdate", line 108, in __init__
translation = _translations(translations_path, 'sdwdate')
File "/usr/lib/python2.7/dist-packages/guimessages/translations.py", line 17, in __init__
language = locale.getdefaultlocale()[0].split('_')[0]
AttributeError: 'NoneType' object has no attribute 'split'
Also broken with another legitimate LANG value of C.
sudo LANG=C usr/bin/sdwdate
In these cases it should rather fall back to some sane default, i.e. en/us, i.e. as if running sudo LANG=en_US.UTF-8 usr/bin/sdwdate.