On Sat, May 10, 2014 at 11:29:48PM +0200, Enrico Forestieri wrote: > commit c668ebf61151e1cdf6b583dc5ecdc8f8a0cfc678 > Author: Enrico Forestieri <for...@lyx.org> > Date: Sat May 10 23:25:11 2014 +0200 > > Fix bugs #8546 and #9055, and introduce new separator inset.
This commit seems to have caused a lyx2lyx regression (at least, git bisect suggests it). The attached file opens with 2.1.x but does not open with 2.2dev. I get the following output: $ lyx master -e pdf2 mwe.lyx Traceback (most recent call last): File "/home/scott/lyxbuilds/master/repo/lib/lyx2lyx/lyx2lyx", line 86, in <module> main() File "/home/scott/lyxbuilds/master/repo/lib/lyx2lyx/lyx2lyx", line 79, in main doc = LyX.File(**options.__dict__) File "/home/scott/lyxbuilds/master/repo/lib/lyx2lyx/LyX.py", line 734, in __init__ self.read() File "/home/scott/lyxbuilds/master/repo/lib/lyx2lyx/LyX.py", line 347, in read line = self.input.readline().decode(self.encoding) File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xfb in position 0: invalid start byte Error: Conversion script failed ---------------------------------------- /home/scott/Dropbox/Inbox/LyX_bisect/mwe.lyx is from an older version of LyX and the lyx2lyx script failed to convert it. LyX failed to load the following file: /home/scott/Dropbox/Inbox/LyX_bisect/mwe.lyx $ Scott
#LyX 2.1 created this file. For more info see http://www.lyx.org/ \lyxformat 474 \begin_document \begin_header \textclass article \use_default_options true \maintain_unincluded_children false \language english \language_package default \inputencoding auto \fontencoding global \font_roman default \font_sans default \font_typewriter default \font_math auto \font_default_family default \use_non_tex_fonts false \font_sc false \font_osf false \font_sf_scale 100 \font_tt_scale 100 \graphics default \default_output_format default \output_sync 0 \bibtex_command default \index_command default \float_placement tbh \paperfontsize 12 \spacing single \use_hyperref false \papersize default \use_geometry true \use_package amsmath 1 \use_package amssymb 1 \use_package cancel 0 \use_package esint 1 \use_package mathdots 1 \use_package mathtools 0 \use_package mhchem 1 \use_package stackrel 0 \use_package stmaryrd 0 \use_package undertilde 0 \cite_engine natbib \cite_engine_type authoryear \biblio_style plainnat \use_bibtopic false \use_indices false \paperorientation portrait \suppress_date false \justification true \use_refstyle 0 \index Index \shortcut idx \color #008000 \end_index \leftmargin 1.5in \topmargin 1in \rightmargin 1in \bottommargin 1in \secnumdepth 3 \tocdepth 3 \paragraph_separation skip \defskip 9bp \quotes_language english \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false \html_math_output 0 \html_css_as_file 0 \html_be_strict false \end_header \begin_body \begin_layout Standard \begin_inset Tabular <lyxtabular version="3" rows="3" columns="7"> <features rotate="0" tabularvalignment="middle"> <column alignment="left" valignment="top" width="0pt"> <column alignment="left" valignment="top" width="0pt"> <column alignment="left" valignment="top"> <column alignment="left" valignment="top"> <column alignment="left" valignment="top"> <column alignment="left" valignment="top"> <column alignment="left" valignment="top" width="0pt"> <row topspace="0.1cm"> <cell multicolumn="1" alignment="left" valignment="top" topline="true" usebox="none"> \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset </cell> <cell alignment="left" valignment="top" topline="true" usebox="none"> \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset </cell> <cell alignment="left" valignment="top" topline="true" usebox="none"> \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset </cell> <cell alignment="left" valignment="top" topline="true" usebox="none"> \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset </cell> <cell alignment="left" valignment="top" topline="true" usebox="none"> \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset </cell> <cell alignment="left" valignment="top" topline="true" usebox="none"> \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset </cell> <cell alignment="left" valignment="top" topline="true" usebox="none"> \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset </cell> </row> <row bottomspace="0.1cm"> <cell alignment="left" valignment="top" bottomline="true" usebox="none"> \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset </cell> <cell alignment="left" valignment="top" bottomline="true" usebox="none"> \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset </cell> <cell alignment="left" valignment="top" bottomline="true" usebox="none"> \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset </cell> <cell alignment="left" valignment="top" bottomline="true" usebox="none"> \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset </cell> <cell alignment="left" valignment="top" bottomline="true" usebox="none"> \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset </cell> <cell alignment="left" valignment="top" bottomline="true" usebox="none"> \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset </cell> <cell alignment="left" valignment="top" bottomline="true" usebox="none"> \begin_inset Text \begin_layout Plain Layout \family roman \series medium \shape up \size normal \emph off \bar no \strikeout off \uuline off \uwave off \noun off \color none abc \end_layout \end_inset </cell> </row> <row topspace="0.1cm"> <cell multicolumn="1" alignment="left" valignment="top" topline="true" usebox="none"> \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset </cell> <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \begin_layout Plain Layout ���������������t������ \end_layout \end_inset </cell> <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \begin_layout Plain Layout ���������������t������ \end_layout \end_inset </cell> <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \begin_layout Plain Layout ���������������t������ \end_layout \end_inset </cell> <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> \begin_inset Text \begin_layout Plain Layout ���������������t������ \end_layout \end_inset </cell> <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> \begin_inset Text \begin_layout Plain Layout ���������������t������ \end_layout \end_inset </cell> <cell multicolumn="2" alignment="center" valignment="top" usebox="none"> \begin_inset Text \begin_layout Plain Layout ���������������t������ \end_layout \end_inset </cell> </row> </lyxtabular> \end_inset \end_layout \end_body \end_document