Re: No xml2po on window



On Wed, 2005-07-20 at 22:32 +0700, Ross Golder wrote:
[snip]

Thanks. Is there maybe something odd about the installed python, or
maybe we need a newer python (only python 2.2 is installed)? xml2po is
giving me this traceback:

Traceback (most recent call last):
  File "/usr/bin/xml2po", line 717, in ?
    doSerialize(doc)
  File "/usr/bin/xml2po", line 482, in doSerialize
    outtxt += doSerialize(child)
  File "/usr/bin/xml2po", line 476, in doSerialize
    (starttag, content, endtag, translation) = processElementTag(node,
repl, 1)
  File "/usr/bin/xml2po", line 395, in processElementTag
    myrepl.append(processElementTag(child, myrepl, 1))
  File "/usr/bin/xml2po", line 407, in processElementTag
    translation = getTranslation(outtxt, isSpacePreserveNode(node))
  File "/usr/bin/xml2po", line 223, in getTranslation
    return gt.ugettext(text.decode('utf-8'))
  File "/usr/lib/python2.2/gettext.py", line 202, in ugettext
    return unicode(tmsg, self._charset)
TypeError: decoding Unicode is not supported


-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]