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
Attachment:
signature.asc
Description: OpenPGP digital signature