On Thursday 20 September 2007 00:22:36 Enrico Forestieri wrote:
> Using LyX 1.4, create a new file containing only a non-ascii character
> (à will do). Save and try to reopen it with 1.6 latest svn (there's no
> problem with 1.5). You can't.
>
> Traceback (most recent call last):
>   File "/usr/local/src/lyx/lyx-1.6.0svn/lib/lyx2lyx/lyx2lyx", line 77, in ?
>     doc = LyX.File(**options.__dict__)
>   File "/usr/local/src/lyx/lyx-1.6.0svn/lib/lyx2lyx/LyX.py", line 615, in
> __init__ self.read()
>   File "/usr/local/src/lyx/lyx-1.6.0svn/lib/lyx2lyx/LyX.py", line 290, in
> read line = self.input.readline().decode(self.encoding)
>   File "encodings/utf_8.py", line 16, in decode
> UnicodeDecodeError: 'utf8' codec can't decode bytes in position 0-1:
> unexpected end of data
> Error: Conversion script failed
> ----------------------------------------
> /home/ef/newfile1.lyx is from a different version of LyX, but the lyx2lyx
> script failed to convert it.

  Could you please send an example file?

> This is with:
> Python 2.4.4 (#2, Aug 16 2007, 02:03:40)
> [GCC 4.1.3 20070812 (prerelease) (Debian 4.1.2-15)] on linux2

This is OK.

-- 
José Abílio

Reply via email to