Bug 306211 - msghack fails, invalid character for encoding
Summary: msghack fails, invalid character for encoding
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gettext
Version: 7
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jens Petersen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-09-25 23:24 UTC by Paul W. Frields
Modified: 2007-11-30 22:12 UTC (History)
0 users

Fixed In Version: 0.16.1-9.fc7
Clone Of:
Environment:
Last Closed: 2007-10-24 07:08:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Paul W. Frields 2007-09-25 23:24:15 UTC
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):
gettext-0.16.1-8.fc7

Comment 1 Jens Petersen 2007-09-26 00:26:12 UTC
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.

Comment 2 Jens Petersen 2007-10-15 06:34:52 UTC
Thanks, this should get fixed in gettext-0.16.1-9.fc7.

Comment 3 Fedora Update System 2007-10-18 02:30:40 UTC
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'

Comment 4 Paul W. Frields 2007-10-21 16:44:24 UTC
Looks good here, thanks Jens!

Comment 5 Fedora Update System 2007-10-24 07:08:44 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.