hatim ali wrote:

> Dear Uwe Stoehr
> 
> not work, this the msg:
> 
> Traceback (most recent call last):
>   File "/usr/local/share/lyx/lyx2lyx/lyx2lyx", line 86, in <module>
>     main()
>   File "/usr/local/share/lyx/lyx2lyx/lyx2lyx", line 81, in main
>     doc.write()
>   File "/usr/local/share/lyx/lyx2lyx/LyX.py", line 369, in write
>     self.output.write(line.encode(self.encoding)+"\n")
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xd8 in position 44:
> ordinal not in range(128) Error: فشل تحويل المخطوطة
> ----------------------------------------

This means that lyx2lyx can't write the output in utf8 encoding, since it 
can't decode the line. Since others cannot reproduce the problem with 
directories consisting only of ASCII characters, and it appeared quite 
recently, my guess would be that convert_origin() adds the document 
directory using the wrong encoding.


Georg

Reply via email to