On Sat, Apr 17, 2010 at 03:04:41PM +0200, rgh...@lyx.org wrote:

> Author: rgheck
> Date: Sat Apr 17 15:04:41 2010
> New Revision: 34186
> URL: http://www.lyx.org/trac/changeset/34186
> 
> Log:
> LyX version info for InsetInfo.

I am not able to load old documents anymore:

Traceback (most recent call last):
  File "/usr/local/src/lyx/lyx-devel/lib/lyx2lyx/lyx2lyx", line 23, in <module>
    import LyX
  File "/usr/local/src/lyx/lyx-devel/lib/lyx2lyx/LyX.py", line 91, in <module>
    convert = getattr(__import__("lyx_" + step), mode)
  File "/usr/local/src/lyx/lyx-devel/lib/lyx2lyx/lyx_2_0.py", line 25, in 
<module>
    import lyx2lyx_version
ImportError: No module named lyx2lyx_version
Error: Conversion script failed
----------------------------------------
/home/ef/newfile3.lyx is from an older version of LyX, but the lyx2lyx script 
failed to convert it.

The problem seems to be that lyx2lyx_version.py gets generated in the
build dir, whereas python expects it in the source dir?

-- 
Enrico

Reply via email to