UnicodeDecodeError when using Chinese font name for clock or date
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Variety |
Fix Released
|
High
|
Peter Levi |
Bug Description
ERROR: 2014-07-21 17:32:07,879: apply_clock() 'Could not apply clock:'
Traceback (most recent call last):
File "/opt/extras.
cmd = self.build_
File "/opt/extras.
clock_filter = self.replace_
File "/opt/extras.
date_font_name, date_font_size = Util.gtk_
File "/opt/extras.
rest = gtk_font_
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 0: ordinal not in range(128)
variey.conf
# Clock settings
# clock_enabled = <True or False>
# clock_font = <FontName Size>, default is "Ubuntu Condensed, 70"
# clock_date_font = <FontName Size>, default is "Ubuntu Condensed, 30"
clock_enabled = True
clock_font = Sawasdee 70
clock_date_font = 幼圆 30
Related branches
Changed in variety: | |
status: | New → Fix Committed |
Changed in variety: | |
milestone: | none → 0.5.0 |
status: | Fix Committed → Fix Released |
Attach here that font please (the ttf file, from under /usr/share/ fonts/truetype or ~/.local/fonts). Thanks.