On 01/14/2010 08:26 AM, Jean-Marc Lasgouttes wrote:
rgheck<rgh...@bobjweil.com> writes:
I offer the attached LyX file as proof.
Trying to open this 2.0.0svn file under 1.6.x made me remember this rather
unintuitive behaviour
Warning: 376: Format not supported.
Warning: Quiting.
Error: Conversion script failed
----------------------------------------
/afs/inria.fr/rocq/home/imara/lasgoutt/dash.lyx is from a different version
of LyX, but the lyx2lyx script failed to convert it.
The last sentence is what I get in a dialog box. Could I get LyX to tell
me that it is a _too_new_ version of the file format?
if (ret.first != 0) {
Alert::error(_("Conversion script failed"),
bformat(_("%1$s is from a different version"
" of LyX, but the lyx2lyx script"
" failed to convert it."),
from_utf8(filename.absFilename())));
return failure;
So yes, I suppose, if lyx2lyx were to return different error codes
depending upon what the problem was.
rh