Discussion:
error while importing beamer file in lyx 2.1
Olivier MOREL
2014-05-07 13:22:52 UTC
Permalink
Dear developers,

I’m enable to open all my files that use beamer presentation class.
After spending many time I find out that this problem occurs when an alert text is placed inside a block.
Here is the error I have:

Warning: end of layout not found!
Warning: InsetArgument not found!
Warning: Wrong parent layout!
LyX: \end_deeper: depth is already null [around line 141 of file /tmp/lyx_tmpdir.qEVuYwB26553/Buffer_convertLyXFormatXXXXXX.lyx.LavAmpY26553 current token: '\end_deeper' context: 'InsetText::read']
LyX: Missing \end_inset at this point. [around line 176 of file /tmp/lyx_tmpdir.qEVuYwB26553/Buffer_convertLyXFormatXXXXXX.lyx.LavAmpY26553 current token: '\end_document' context: 'InsetText::read']
Error: Problème de format de document
----------------------------------------
/tmp/lyx_tmpdir.qEVuYwB26553/Buffer_convertLyXFormatXXXXXX.lyx.LavAmpY26553 se termine de façon inattendue, ce qui signifie qu'il est sans doute corrompu.


Thank you again for the very good job you do,

Best regards,

Olivier


Olivier MOREL
Maître de Conférences / Associate Professor
Laboratoire Le2i UMR 6306 CNRS / Département Mesures Physiques
IUT Le Creusot
12, rue de la Fonderie
71200 Le Creusot

+33(0)3.85.73.10.91-10.51
***@u-bourgogne.fr
Jürgen Spitzmüller
2014-05-07 14:35:01 UTC
Permalink
Dear JÃŒrgen,
Thanks a lot for your prompt message.
Please find a simplified file that gives the error.
This imports fine with the 2.1.1 development version.

You can actually even fix LyX 2.1.0 quite easily. Just look where the file
lyx_2_1.py is installed on your system and replace that file with this one:
http://www.lyx.org/trac/export/bd206ff5f5b2902ef87baa27c359f7a1b58f418d/lyxgit/lib/lyx2lyx/lyx_2_1.py

HTH
JÃŒrgen

Loading...