pot2po -t ../xx/homepage.xlf homepage.xlf --errorlevel=traceback processing 1 files... pot2po: warning: Error processing: input homepage.xlf, output None, template ../xx/homepage.xlf: Traceback (most recent call last): File "/usr/local/lib/python2.6/dist-packages/translate/misc/optrecurse.py", line 528, in recursiveprocess fulltemplatepath) File "/usr/local/lib/python2.6/dist-packages/translate/misc/optrecurse.py", line 583, in processfile **passthroughoptions): File "/usr/local/lib/python2.6/dist-packages/translate/convert/pot2po.py", line 49, in convertpot output_store = convert_stores(input_store, template_store, temp_store, tm, min_similarity, fuzzymatching, **kwargs) File "/usr/local/lib/python2.6/dist-packages/translate/convert/pot2po.py", line 83, in convert_stores input_unit = pretranslate.pretranslate_unit(input_unit, template_store, matchers, mark_reused=True, match_locations=match_locations) File "/usr/local/lib/python2.6/dist-packages/translate/tools/pretranslate.py", line 109, in pretranslate_unit input_unit.merge(matching_unit, authoritative=True) File "/usr/local/lib/python2.6/dist-packages/translate/storage/xliff.py", line 460, in merge super(xliffunit, self).merge(otherunit, overwrite, comments) File "/usr/local/lib/python2.6/dist-packages/translate/storage/base.py", line 413, in merge self.rich_target = otherunit.rich_target File "/usr/local/lib/python2.6/dist-packages/translate/storage/xliff.py", line 165, in get_rich_target return [xml_to_strelem(self.get_target_dom(lang), getXMLspace(self.xmlelement, self._default_xml_space))] File "/usr/local/lib/python2.6/dist-packages/translate/storage/placeables/lisa.py", line 107, in xml_to_strelem result.sub.append(make_placeable(child_dom_node, xml_space)) File "/usr/local/lib/python2.6/dist-packages/translate/storage/placeables/lisa.py", line 80, in make_placeable _namespace, tag = misc.parse_tag(node.tag) File "/usr/local/lib/python2.6/dist-packages/translate/storage/xml_extract/misc.py", line 73, in parse_tag match = tag_pattern.match(full_tag) TypeError: expected string or buffer [###########################################] 100%