Red Hat Bugzilla – Bug 473946
xgettext misinterprets \x escapes in Python Unicode strings
Last modified: 2009-05-29 22:31:43 EDT
Description of problem:
When trying to update po files in gajim, I got this error:
[matej@viklef po]$ make update-po
make: Entering directory `/home/matej/redhat/BUILD/gajim/po'
INTLTOOL_EXTRACT=/usr/bin/intltool-extract srcdir=. /usr/bin/intltool-update --gettext-package gajim --pot
./../src/common/config.py:180: warning: 'msgid' format string with unnamed arguments cannot be properly localized:
The translator cannot reorder the arguments.
Please consider using a format string with named arguments,
and a mapping instead of a tuple for the arguments.
ERROR: xgettext failed to generate PO template file. Please consult
error message above if there is any.
make: *** [gajim.pot] Error 1
make: Leaving directory `/home/matej/redhat/BUILD/gajim/po'
make: *** [update-po] Error 2
When I filed my ticket (which was closed as duplicate of http://trac.gajim.org/ticket/4166), I was told that it is actually bug in xgettext which has been already fixed in Debian (bugs.debian.org/433743 and bugs.debian.org/493218).
I have no idea, whether they sent patches upstream.
Version-Release number of selected component (if applicable):
As far as I can tell the first patch (in debian#433743) is already installed upstream in 0.17.
I am adding the second one from debian#493218 in gettext-0.17-9.fc11.
Can you please change that that solves the problem for you? Thanks.
Yes, gettext-0.17-9.fc11 works. Please, build it for F10 as well.
Thanks - then moving to F10.
gettext-0.17-10.fc10 has been submitted as an update for Fedora 10.
gettext-0.17-10.fc10 has been pushed to the Fedora 10 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'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-5338
gettext-0.17-10.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.