Red Hat Bugzilla – Bug 306211
msghack fails, invalid character for encoding
Last modified: 2007-11-30 17:12:16 EST
Description of problem:
The /usr/bin/msghack binary fails with the following error message:
File "/usr/bin/msghack", line 3
SyntaxError: Non-ASCII character '\xf8' in file /usr/bin/msghack on line 3, but
no encoding declared; see http://www.python.org/peps/pep-0263.html for details
This could easily be solved by either running 'iconv' during package building,
or declaring an encoding. I'm not able to check right now whether this
condition exists in Rawhide, but if so, this is a trivial fix.
Version-Release number of selected component (if applicable):
Yes, it is fixed in rawhide for F8, see bug 250248.
Let me leave this open to remind me to do an update for F7.
Thanks, this should get fixed in gettext-0.16.1-9.fc7.
gettext-0.16.1-9.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update gettext'
Looks good here, thanks Jens!
gettext-0.16.1-9.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.