José Matos wrote:
On Thursday 24 May 2007 09:48:58 Helge Hafting wrote:
My problem is the exact opposite.
If I run LyX from the source dir, then I can open documents.
If I then run "make install" and run the (same) installed LyX,
then I can't open documents, not even the help documents
or a "new" document - because lyx2lyx fails me.

  I understand the reason, but it is strange.

  If you run lyx from the console what is the error output?

First a messagebox:
/home/helgehaf/.lyx/templates/defaults.lyx
is from a different version of lyx,
but the lyx2lyx script failed to convert it.

So - this will probably fix itself if I delete the old .lyx directory.
But ordinary users won't understand this sort of thing.  The old
"defaults.lyx" is from an earlier 1.5svn.  Now, this shouldn't happen
if there is a policy of supporting even files written by beta versions.

The console error message:
Warning: 271: Format not supported.
Warning: Quiting.
Error: Conversion script failed
----------------------------------------
/home/helgehaf/.lyx/templates/defaults.lyx is from a different version of LyX, but the lyx2lyx script failed to convert it.


On the side: Perhaps the failed version (217) should be displayed in the
dialog box too?  Surely that would help if ever some confused user
reports a problem?

Looking at the defaults.lyx file, it is actually \lyxformat 263
The document type is my own layout.  Of course that one
might be buggy - but the same happens with the userguide.

I notice that I get exactly the same messages for the userguide,
so I wonder: Do lyx2lyx read defaults.lyx when other documents
are processed too?  If so - why?

Also, why would lyx2lyx bother processing the userguide
distributed with LyX, surely that one should be the right version
to begin with?  Or maybe not in a beta version. :-)


Helge Hafting


Reply via email to