[Bf-translations-svn] merge_po errors!

Yousef Hurfoush bat3a at msn.com
Thu Nov 17 18:23:48 CET 2011


i tried to use the merge_po.py script in tools to merge my po-s with ar.po and got this error:
File "Z:\Development\blender\BatProject\Gettext\merge_po.py", 
line 25 SyntaxError: Non-ASCII character '\xe2' in file merge_po.py on line 25, but no encoding declared; see http://www.pytho
n.org/peps/pep-0263.html for details
the command i used (merge_po.py ar.po phase3.po)

so as advised by the later page i added to merge_po the next line:
# -*- coding: utf-8 -*-

and the error is gone, but now i get the next error:
File "merge_po.py", line 34, in <module>    import settings
ImportError: No module named settings

can anyone help me with this? i used this script before and it worked OK!
i use windows 7 x64 and python 2.6 x86 and x64, should i install the 3.2 one?

Yousef Harfoush
bat3a at msn.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/bf-translations-svn/attachments/20111117/1dbd7191/attachment.htm 

More information about the Bf-translations-svn mailing list