Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 28th, 2011  |  syntax: None  |  size: 2.20 KB  |  hits: 150  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. pot2po -t ../xx/homepage.xlf homepage.xlf --errorlevel=traceback
  2. processing 1 files...
  3.  
  4. pot2po: warning: Error processing: input homepage.xlf, output None, template ../xx/homepage.xlf: Traceback (most recent call last):
  5.  
  6.   File "/usr/local/lib/python2.6/dist-packages/translate/misc/optrecurse.py", line 528, in recursiveprocess
  7.     fulltemplatepath)
  8.  
  9.   File "/usr/local/lib/python2.6/dist-packages/translate/misc/optrecurse.py", line 583, in processfile
  10.     **passthroughoptions):
  11.  
  12.   File "/usr/local/lib/python2.6/dist-packages/translate/convert/pot2po.py", line 49, in convertpot
  13.     output_store = convert_stores(input_store, template_store, temp_store, tm, min_similarity, fuzzymatching, **kwargs)
  14.  
  15.   File "/usr/local/lib/python2.6/dist-packages/translate/convert/pot2po.py", line 83, in convert_stores
  16.     input_unit = pretranslate.pretranslate_unit(input_unit, template_store, matchers, mark_reused=True, match_locations=match_locations)
  17.  
  18.   File "/usr/local/lib/python2.6/dist-packages/translate/tools/pretranslate.py", line 109, in pretranslate_unit
  19.     input_unit.merge(matching_unit, authoritative=True)
  20.  
  21.   File "/usr/local/lib/python2.6/dist-packages/translate/storage/xliff.py", line 460, in merge
  22.     super(xliffunit, self).merge(otherunit, overwrite, comments)
  23.  
  24.   File "/usr/local/lib/python2.6/dist-packages/translate/storage/base.py", line 413, in merge
  25.     self.rich_target = otherunit.rich_target
  26.  
  27.   File "/usr/local/lib/python2.6/dist-packages/translate/storage/xliff.py", line 165, in get_rich_target
  28.     return [xml_to_strelem(self.get_target_dom(lang), getXMLspace(self.xmlelement, self._default_xml_space))]
  29.  
  30.   File "/usr/local/lib/python2.6/dist-packages/translate/storage/placeables/lisa.py", line 107, in xml_to_strelem
  31.     result.sub.append(make_placeable(child_dom_node, xml_space))
  32.  
  33.   File "/usr/local/lib/python2.6/dist-packages/translate/storage/placeables/lisa.py", line 80, in make_placeable
  34.     _namespace, tag = misc.parse_tag(node.tag)
  35.  
  36.   File "/usr/local/lib/python2.6/dist-packages/translate/storage/xml_extract/misc.py", line 73, in parse_tag
  37.     match = tag_pattern.match(full_tag)
  38.  
  39. TypeError: expected string or buffer
  40.  
  41. [###########################################] 100%