Re: [LyX/master] lyx2lyx/lyx_2_2.py: correct reversion of boxes

2017-04-20 Thread Scott Kostyshak
On Fri, Apr 21, 2017 at 01:05:44AM +0200, Uwe Stöhr wrote:
> El 19.04.2017 a las 06:58, Scott Kostyshak escribió:
> 
> > >  lyx2lyx/lyx_2_2.py: correct reversion of boxes
> > 
> > git bisect suggests that this commit broke the test
> > 
> >export/doc/Math_lyx21
> > 
> > Uwe, can you take a look?
> 
> At first I don't understand why I don't get any error or warning when doing
> 
> lyx -e lyx21x Math.lyx
> lyx -batch Math.21.lyx
> 
> Math.21.lyx is then correctly created without errors but using the -batch
> mode I don't get any error or warning too. Therefore the tests are all
> always passed for me.

Good to know. That's a problem that we should hopefully fix. I think
using "-batch" in that way is undocumented behavior. Perhaps we could do
something like execute "lyx-quit".

> I already asked Kornel what I can do but it seems to
> be a bug of LyX.
> 
> I fixed the lyx2lyx bug now.

Thanks, the lyx2lyx tests all pass now.

Scott


signature.asc
Description: PGP signature


Re: [LyX/master] lyx2lyx/lyx_2_2.py: correct reversion of boxes

2017-04-20 Thread Uwe Stöhr

El 19.04.2017 a las 06:58, Scott Kostyshak escribió:


 lyx2lyx/lyx_2_2.py: correct reversion of boxes


git bisect suggests that this commit broke the test

   export/doc/Math_lyx21

Uwe, can you take a look?


At first I don't understand why I don't get any error or warning when doing

lyx -e lyx21x Math.lyx
lyx -batch Math.21.lyx

Math.21.lyx is then correctly created without errors but using the 
-batch mode I don't get any error or warning too. Therefore the tests 
are all always passed for me. I already asked Kornel what I can do but 
it seems to be a bug of LyX.


I fixed the lyx2lyx bug now.

regards Uwe


Re: [LyX/master] lyx2lyx/lyx_2_2.py: correct reversion of boxes

2017-04-18 Thread Scott Kostyshak
On Mon, Apr 17, 2017 at 04:06:56AM +0200, Uwe Stöhr wrote:
> commit 5b4cc6b6c84b4d3b35e7122a6ee9160816d2e108
> Author: Uwe Stöhr 
> Date:   Mon Apr 17 04:06:52 2017 +0200
> 
> lyx2lyx/lyx_2_2.py: correct reversion of boxes

git bisect suggests that this commit broke the test

  export/doc/Math_lyx21

Uwe, can you take a look?

Scott


signature.asc
Description: PGP signature