On Thursday 08 November 2007 16:51:33 José Matos wrote: > Hi, > today while reviewing old packages I found a bug in lyx2lyx where it > does > not work convert documents with a "default" language. > > The change happened in 1.1.6 and we have the corresponding > transformation, > the problem is that now we try to find the document encoding before > converting the document. > > The easiest solution (after some thought) is to a "default" language > that > defaults to latin1 as its encoding. > > I propose to apply this for both trunk and 1.5.3. May I Jürgen?
It seems that this bug fix uncovers another bug. Trying to open the converted lyx file from http://www.hartkens.de/thomas/project/lyx-cd-box.tar.gz I get a segfault: $ lyx lyx-cd-box.lyx Cannot read layout file `'. Error reading `' (Check `cd-box') Check your installation and try Options/Reconfigure... Cannot read layout file `'. Error reading `' (Check `cd-box') Check your installation and try Options/Reconfigure... step: Counter does not exist: enumi Counter enumi does not exist. step: Counter does not exist: enumi Counter enumi does not exist. step: Counter does not exist: enumi Counter enumi does not exist. step: Counter does not exist: enumi Counter enumi does not exist. step: Counter does not exist: enumi Counter enumi does not exist. step: Counter does not exist: enumi Counter enumi does not exist. step: Counter does not exist: enumi Counter enumi does not exist. step: Counter does not exist: enumi Counter enumi does not exist. step: Counter does not exist: enumi Counter enumi does not exist. step: Counter does not exist: enumi Counter enumi does not exist. step: Counter does not exist: enumi Counter enumi does not exist. <unknown program name>(13944)/ EPSHandler::read: kimgio EPS: starting... <unknown program name>(13944)/ seekToCodeStart: kimgio EPS: normal EPS file <unknown program name>(13944)/ bbox: kimgio EPS BBOX: 266 316 346 476 Fatal error: you need to have a KComponentData object before you do anything that requires it! Examples of this are config objects, standard directories or translations. This happens with 1.5.2 and 1.5.3svn. I don't have a 1.6.x build to test right now... -- José Abílio