Hi Gabor 2013/3/24 Gabor Kelemen <kelem...@gnome.hu>: > 2013-03-24 12:03 keltezéssel, Daniel Mustieles García írta: >> Hi Jiro, >> >> Here is the script I've used to generate the reports. >> > > Hi Daniel > > I have tried to run gtxml on a single file I have updated yesterday, but > I get a UnicodeDecodeError: > > $ gtxml hu/hu.po > Traceback (most recent call last): > File "/usr/bin/gtxml", line 5, in <module> > gtxml.main() > File "/usr/lib/python2.7/dist-packages/pyg3t/gtxml.py", line 160, in main > for bad_msg, err in gtxml.check_msgs(cat): > File "/usr/lib/python2.7/dist-packages/pyg3t/gtxml.py", line 53, in > check_msgs > self.check_msg(msg) > File "/usr/lib/python2.7/dist-packages/pyg3t/gtxml.py", line 46, in > check_msg > self.check_string(msgstr) > File "/usr/lib/python2.7/dist-packages/pyg3t/gtxml.py", line 25, in > check_string > xmlstring = self._filter(string) > File "/usr/lib/python2.7/dist-packages/pyg3t/gtxml.py", line 21, in > _filter > xml = u''.join([u'<xml>', string.replace(u'\\"', u'"'), u'</xml>']) > UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 24: > ordinal not in range(128) > > This is on Ubuntu Precise, with gtxml from the PPA > https://launchpad.net/~pyg3t-dev-team/+archive/ppa > and with any documentation po file. > > What else is needed for this to work? > > Thanks in advance > Gabor Kelemen
I think we have fixed this in trunk, but due to very little time on our hands we haven't managed a release lately :S Maybe your system encoding is different than on the systems where we wrote it. If you send the file I can take a look. Regards Ask _______________________________________________ gnome-i18n mailing list gnome-i18n@gnome.org https://mail.gnome.org/mailman/listinfo/gnome-i18n