Red Hat Bugzilla – Bug 803222
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe3 in position 23: ordinal not in range(128)
Last modified: 2012-04-11 23:45:10 EDT
Description of problem:
When adding VL PGothic to ans-serif, the exception in summary happens.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.run fonts-tweak-tool in LANG=ja_JP.UTF-8
3.select VL Pゴシック for sans-serif
the exception occurs.
It seems that this problem is related to pygobject3 in f17, where Gtk.TreeModel.get() always returns byte string rather than unicode, even if the column is set with Python's unicode value like:
for f in self.fontslist[lang][alias]:
Try the following script on f16 and f17:
from gi.repository import Gtk
store = Gtk.ListStore(str)
iter = store.get_iter_first()
print store.get(iter, 0)
I'll prepare a patch for fonts-tweak-tool tomorrow, but if urgent please feel free to fix it yourself.
fonts-tweak-tool-0.0.4-1.fc16 has been submitted as an update for Fedora 16.
fonts-tweak-tool-0.0.4-1.fc17 has been submitted as an update for Fedora 17.
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing fonts-tweak-tool-0.0.4-1.fc17'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
fonts-tweak-tool-0.0.5-1.fc16 has been submitted as an update for Fedora 16.
fonts-tweak-tool-0.0.5-1.fc17 has been submitted as an update for Fedora 17.
fonts-tweak-tool-0.0.5-1.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.
fonts-tweak-tool-0.0.5-1.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.