Unicode characters in localtime raised and UnicodeError and prevented the qt gui from starting