Can you file a bug and attache the .ts file that you are trying to
parse. Thanks :)

On Mon, 2006-08-28 at 21:54 +0930, Clytie Siddall wrote:
> Hi again :)
> 
> The ts2po converter from the Translate Toolkit gave an error on my  
> vi.ts file from CrossVC:
> ___
> Pearl:~/Vietnamese/Individual projects/Linguist projects/CrossVC  
> clytie$ ts2po -i vi.ts -o crossvc.vi.po --errorlevel=traceback
> processing 1 files...
> 
> ts2po: warning: Error processing: input vi.ts, output crossvc.vi.po,  
> template None: Traceback (most recent call last):
> 
>    File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
> python2.3/site-packages/translate/misc/optrecurse.py", line 418, in  
> recursiveprocess
>      success = self.processfile(fileprocessor, options,  
> fullinputpath, fulloutputpath, fulltemplatepath)
> 
>    File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
> python2.3/site-packages/translate/misc/optrecurse.py", line 471, in  
> processfile
>      if fileprocessor(inputfile, outputfile, templatefile,  
> **passthroughoptions):
> 
>    File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
> python2.3/site-packages/translate/convert/ts2po.py", line 69, in  
> convertts
>      outputpo = convertor.convertfile(inputfile)
> 
>    File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
> python2.3/site-packages/translate/convert/ts2po.py", line 50, in  
> convertfile
>      tsfile = ts.QtTsParser(inputfile)
> 
>    File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
> python2.3/site-packages/translate/storage/ts.py", line 243, in __init__
>      self.document = parse(inputfile)
> 
>    File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
> python2.3/site-packages/translate/storage/ts.py", line 215, in parse
>      if isinstance(file, StringTypes):
> 
> NameError: global name 'StringTypes' is not defined
> 
> [###########################################] 100%
> Pearl:~/Vietnamese/Individual projects/Linguist projects/CrossVC clytie$
> ___
> 
> I hope that is useful. Should I log it as a bug?
> 
> (Meanwhile, how can I convert my .ts file? :( )
> 
> from Clytie (vi-VN, Vietnamese free-software translation team / nhóm  
> Việt hóa phần mềm tự do)
> http://groups-beta.google.com/group/vi-VN
> 
> 
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Translate-pootle mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/translate-pootle
-- 
Dwayne Bailey
Translate.org.za

+27-12-460-1095 (w)
+27-83-443-7114 (cell)


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Translate-pootle mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/translate-pootle

Reply via email to