Build failed in Jenkins: Build branch "master" » ubuntu-xenial-qt4-autotools-extended #686

2018-01-15 Thread ci-lyx
https://ci.inria.fr/lyx/job/build-master-head/job/ubuntu-xenial-qt4-autotools-extended/686/--
Started by an SCM change
Building remotely on lyx-linux1 (linux) in workspace 

[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Done
Cloning the remote Git repository
Using shallow clone
Avoid fetching tags
Honoring refspec on initial clone
Cloning repository git://git.lyx.org/lyx.git
 > git init 
 > 
 >  # timeout=10
Fetching upstream changes from git://git.lyx.org/lyx.git
 > git --version # timeout=10
 > git fetch --no-tags --progress git://git.lyx.org/lyx.git 
 > +refs/heads/*:refs/remotes/origin/* --depth=1
ERROR: Error cloning remote repo 'origin'
hudson.plugins.git.GitException: Command "git fetch --no-tags --progress 
git://git.lyx.org/lyx.git +refs/heads/*:refs/remotes/origin/* --depth=1" 
returned status code 128:
stdout: 
stderr: remote: Counting objects: 32267, done.
remote: Compressing objects:   0% (1/23592)   
remote: Compressing objects:   1% (236/23592)   
remote: Compressing objects:   2% (472/23592)   
remote: Compressing objects:   3% (708/23592)   
remote: Compressing objects:   4% (944/23592)   
remote: Compressing objects:   5% (1180/23592)   
remote: Compressing objects:   6% (1416/23592)   
remote: Compressing objects:   7% (1652/23592)   
remote: Compressing objects:   8% (1888/23592)   
remote: Compressing objects:   9% (2124/23592)   
remote: Compressing objects:  10% (2360/23592)   
remote: Compressing objects:  11% (2596/23592)   
remote: Compressing objects:  12% (2832/23592)   
remote: Compressing objects:  13% (3067/23592)   
remote: Compressing objects:  14% (3303/23592)   
remote: Compressing objects:  15% (3539/23592)   
remote: Compressing objects:  16% (3775/23592)   
remote: Compressing objects:  17% (4011/23592)   
remote: Compressing objects:  18% (4247/23592)   
remote: Compressing objects:  18% (4369/23592)   
remote: Compressing objects:  19% (4483/23592)   
remote: Compressing objects:  20% (4719/23592)   
remote: Compressing objects:  21% (4955/23592)   
remote: Compressing objects:  22% (5191/23592)   
remote: Compressing objects:  23% (5427/23592)   
remote: Compressing objects:  24% (5663/23592)   
remote: Compressing objects:  25% (5898/23592)   
remote: Compressing objects:  26% (6134/23592)   
remote: Compressing objects:  27% (6370/23592)   
remote: Compressing objects:  28% (6606/23592)   
remote: Compressing objects:  29% (6842/23592)   
remote: Compressing objects:  30% (7078/23592)   
remote: Compressing objects:  31% (7314/23592)   
remote: Compressing objects:  32% (7550/23592)   
remote: Compressing objects:  32% (7671/23592)   
remote: Compressing objects:  33% (7786/23592)   
remote: Compressing objects:  34% (8022/23592)   
remote: Compressing objects:  35% (8258/23592)   
remote: Compressing objects:  36% (8494/23592)   
remote: Compressing objects:  37% (8730/23592)   
remote: Compressing objects:  38% (8965/23592)   
remote: Compressing objects:  39% (9201/23592)   
remote: Compressing objects:  39% (9270/23592)   
remote: Compressing objects:  40% (9437/23592)   
remote: Compressing objects:  41% (9673/23592)   
remote: Compressing objects:  42% (9909/23592)   
remote: Compressing objects:  43% (10145/23592)   
remote: Compressing objects:  44% (10381/23592)   
remote: Compressing objects:  44% (10477/23592)   
remote: Compressing objects:  45% (10617/23592)   
remote: Compressing objects:  46% (10853/23592)   
remote: Compressing objects:  47% (11089/23592)   
remote: Compressing objects:  48% (11325/23592)   
remote: Compressing objects:  49% (11561/23592)   
remote: Compressing objects:  50% (11796/23592)   
remote: Compressing objects:  51% (12032/23592)   
remote: Compressing objects:  52% (12268/23592)   
remote: Compressing objects:  53% (12504/23592)   
remote: Compressing objects:  54% (12740/23592)   
remote: Compressing objects:  55% (12976/23592)   
remote: Compressing objects:  56% (13212/23592)   
remote: Compressing objects:  57% (13448/23592)   
remote: Compressing objects:  58% (13684/23592)   
remote: Compressing objects:  59% (13920/23592)   
remote: Compressing objects:  60% (14156/23592)   
remote: Compressing objects:  60% (14234/23592)   
remote: Compressing objects:  61% (

Test wish for a new lfunc

2018-01-15 Thread Kornel Benko
Could we please get a new function, say
export-wait maxtime
to wait for an export to finish for at maximal max-time seconds?
If time exceeds max-time, then use 'export-cancel'.
if no background export in work, then it should be noop.

Kornel

signature.asc
Description: This is a digitally signed message part.


Re: Beamer & Outliner broken

2018-01-15 Thread Pavel Sanda
Andrew Parsloe wrote:
> the problems I experienced trying to do buffer-reload after buffer-export 
> no longer seem to exist.

Good.

> The only sequence I can find that doesn't behave as desired is
>
> command-sequence buffer-export pdf2 ;  buffer-close

Yeah, that's why there is repeat 150x outline-down in the original msg
after the export, just to give it some time ... :)

Pavel


Re: Test wish for a new lfunc

2018-01-15 Thread Pavel Sanda
Kornel Benko wrote:
> Could we please get a new function, say
>   export-wait maxtime
> to wait for an export to finish for at maximal max-time seconds?
> If time exceeds max-time, then use 'export-cancel'.
> if no background export in work, then it should be noop.

I'd say export-wait [maxtime], you want basic functionality
to wait until export is done without time constraints, time
is just nice additional feature.

Pavel



Re: Test wish for a new lfunc

2018-01-15 Thread Kornel Benko
Am Montag, 15. Januar 2018 um 12:55:00, schrieb Pavel Sanda 
> Kornel Benko wrote:
> > Could we please get a new function, say
> > export-wait maxtime
> > to wait for an export to finish for at maximal max-time seconds?
> > If time exceeds max-time, then use 'export-cancel'.
> > if no background export in work, then it should be noop.
> 
> I'd say export-wait [maxtime], you want basic functionality
> to wait until export is done without time constraints, time
> is just nice additional feature.
> 
> Pavel

OK. For tests though, we want a test to finish in a finite time.
That is the reason I didn't use [].
But you have a point.

Kornel

signature.asc
Description: This is a digitally signed message part.


Re: Test wish for a new lfunc

2018-01-15 Thread Jean-Marc Lasgouttes

Le 15/01/2018 à 13:02, Kornel Benko a écrit :

Am Montag, 15. Januar 2018 um 12:55:00, schrieb Pavel Sanda 

Kornel Benko wrote:

Could we please get a new function, say
export-wait maxtime
to wait for an export to finish for at maximal max-time seconds?
If time exceeds max-time, then use 'export-cancel'.
if no background export in work, then it should be noop.


I'd say export-wait [maxtime], you want basic functionality
to wait until export is done without time constraints, time
is just nice additional feature.

Pavel


OK. For tests though, we want a test to finish in a finite time.


What about making os::timeout_min() be configurable by LyXRC (maybe in 
seconds instead of minutes if you prefer)? Then you could set the rc 
variable to some value before doing the export.


JMarc


Re: Test wish for a new lfunc

2018-01-15 Thread Pavel Sanda
Jean-Marc Lasgouttes wrote:
> What about making os::timeout_min() be configurable by LyXRC (maybe in 
> seconds instead of minutes if you prefer)? Then you could set the rc 
> variable to some value before doing the export.

But you still need some wait function, which hangs until export(cancel)
is done. Or new flag for export lfun so we do not run asynchronously.

Pavel


Re: Test wish for a new lfunc

2018-01-15 Thread Kornel Benko
Am Montag, 15. Januar 2018 um 14:10:10, schrieb Pavel Sanda 
> Jean-Marc Lasgouttes wrote:
> > What about making os::timeout_min() be configurable by LyXRC (maybe in 
> > seconds instead of minutes if you prefer)? Then you could set the rc 
> > variable to some value before doing the export.

This is not desirable due to parallel run of tests which use the same lyxrc.
There are tests running about 10 minutes (like export farsi files).
And possible waiting for 10 minutes for a test which should complete in 10 
seconds
is definitely not desirable.

> But you still need some wait function, which hangs until export(cancel)
> is done. Or new flag for export lfun so we do not run asynchronously.

+1

> Pavel

Kornel

signature.asc
Description: This is a digitally signed message part.


Re: Test wish for a new lfunc

2018-01-15 Thread Jean-Marc Lasgouttes

Le 15/01/2018 à 14:10, Pavel Sanda a écrit :

Jean-Marc Lasgouttes wrote:

What about making os::timeout_min() be configurable by LyXRC (maybe in
seconds instead of minutes if you prefer)? Then you could set the rc
variable to some value before doing the export.


But you still need some wait function, which hangs until export(cancel)
is done. Or new flag for export lfun so we do not run asynchronously.


Ah, yes there is this async thing. I thought that we wanted to disable 
it when running in batch mode or in command-sequence, right? Or we could 
have a variable that disables async export.


BTW, what is the difference between buffer-export and buffer-export-as ?

JMarc


Re: Test wish for a new lfunc

2018-01-15 Thread Pavel Sanda
Jean-Marc Lasgouttes wrote:
> Ah, yes there is this async thing. I thought that we wanted to disable it 
> when running in batch mode or in command-sequence, right?

I do not know batch-mode well, but I do not think you can use it for useful
command sequences, you need gui for that (e.g. even buffer export nested
within command-sequence won't work without gui).

But in command sequences the wait-flag or lfun is definitely useful.

> Or we could have a variable that disables async export.

That would be painful to set within sequence commands.

> BTW, what is the difference between buffer-export and buffer-export-as ?

I believe the second opens the dialog for you.
Pavel


Re: Test wish for a new lfunc

2018-01-15 Thread Jean-Marc Lasgouttes

Le 15/01/2018 à 14:21, Kornel Benko a écrit :

This is not desirable due to parallel run of tests which use the same lyxrc.
There are tests running about 10 minutes (like export farsi files).
And possible waiting for 10 minutes for a test which should complete in 10 
seconds
is definitely not desirable.


One can use lyxrc-apply to change locally a pref value for the running 
instance.


JMarc


Re: Test wish for a new lfunc

2018-01-15 Thread Kornel Benko
Am Montag, 15. Januar 2018 um 15:04:55, schrieb Jean-Marc Lasgouttes 

> Le 15/01/2018 à 14:21, Kornel Benko a écrit :
> > This is not desirable due to parallel run of tests which use the same lyxrc.
> > There are tests running about 10 minutes (like export farsi files).
> > And possible waiting for 10 minutes for a test which should complete in 10 
> > seconds
> > is definitely not desirable.
> 
> One can use lyxrc-apply to change locally a pref value for the running 
> instance.
> 
> JMarc

Yes, I just detected it too.

Kornel

signature.asc
Description: This is a digitally signed message part.


Re: LyX version 2.3.0rc1 available

2018-01-15 Thread Liviu Andronic
On 12/17/17, Scott Kostyshak  wrote:
> Public release of LyX version 2.3.0rc1
> 
>

A bit late but Ubuntu packages for RC1 are now available on the devel PPA:
https://launchpad.net/~lyx-devel/+archive/ubuntu/daily

Regards,
Liviu


> We are proud to announce the first public release candidate of the new LyX
> 2.3
> series. This first release candidate was actually available more than a
> month
> ago, but because of problems with our mailing lists we could not officially
> announce it. There have been many changes since then, and we are now moving
> towards a second release candidate.
>
> Please also note that macOS 10.8 is no longer supported (due to our move to
> Qt 5.9.x).
>
> This pre-release is meant for testing and should not be used for serious
> work.
> For curious users who would like to test in order to help catch bugs before
> the 2.3.0 release, please back up all of your documents and be prepared for
> the worst to happen. Most users (who desire a stable LyX version) should
> not
> use this pre-release.
>
> The 2.3 series has a rich set of new features compared to the current
> stable
> series. An overview of the new features can be found here:
>
>   https://wiki.lyx.org/LyX/NewInLyX23
>
> You can download LyX 2.3.0rc1 from ftp://ftp.lyx.org/pub/lyx/devel/.
>
> We appreciate your help in testing this pre-release!
>
> If a file from an earlier version of LyX is opened *and saved* with
> any version of 2.3.x, then the original file will automatically be
> backed up. The backup file will be found in the backup directory, if one
> is set under Tools> Preferences> Paths, or else in the same folder as
> the original file, if no backup directory is set. The filename of the
> backup file will be:
> ORIGNAME-lyxformat-NUM.lyx~
> where NUM is the LyX format number of the original file. In the case of
> 2.2.x file, this will be 508, but in the case of older files it will be
> different.
>
> The file lib/RELEASE-NOTES lists some known issues and problems compared
> to the current stable releases (LyX 2.2.x). We strongly recommend that
> packagers of LyX on various platforms and distributions read this file.
>
> As with any major release, this one comes with a lot of new features but
> also some bugs. If you think you have found a bug in LyX 2.3.0rc1, either
> email the LyX developers' mailing list (lyx-devel at lists.lyx.org),
> or open a bug report at https://www.lyx.org/trac/wiki/BugTrackerHome.
> Please specify if the behavior you are reporting is different from behavior
> in a previous LyX version.
>
> If you have trouble using LyX or have a question, consult the
> documentation that comes with LyX (under Help) and the LyX wiki, which you
> will find at https://wiki.lyx.org/. You can also send email to the LyX
> users'
> list (lyx-users at lists.lyx.org).
>
> The LyX team.
> https://www.lyx.org
>
>


Re: Test wish for a new lfunc

2018-01-15 Thread Scott Kostyshak
On Mon, Jan 15, 2018 at 01:21:57PM +, Kornel Benko wrote:

> There are tests running about 10 minutes (like export farsi files).

Does fa/splash.lyx take about 10 minutes for you? Actually, no PDF
export for Farsi is uninverted for me. Does the export take 10 minutes
to fail for you? I get the attached times.

Scott
$ ctest -R "examples/fa"
Test project /home/scott/lyxbuilds/master/CMakeBuild
  Start 4823: export/examples/fa/splash_lyx16
 1/16 Test #4823: export/examples/fa/splash_lyx16    
Passed   12.91 sec
  Start 4824: export/examples/fa/splash_lyx21
 2/16 Test #4824: export/examples/fa/splash_lyx21    
Passed0.82 sec
  Start 4825: export/examples/fa/splash_lyx22
 3/16 Test #4825: export/examples/fa/splash_lyx22    
Passed1.15 sec
  Start 4826: lyx2lyx/examples/fa/splash
 4/16 Test #4826: lyx2lyx/examples/fa/splash .   
Passed0.12 sec
  Start 4827: check_load/examples/fa/splash
 5/16 Test #4827: check_load/examples/fa/splash ..   
Passed0.29 sec
  Start 4828: export/examples/fa/splash_xhtml
 6/16 Test #4828: export/examples/fa/splash_xhtml    
Passed0.34 sec
  Start 4829: INVERTED.TODO_export/examples/fa/splash_dvi
 7/16 Test #4829: INVERTED.TODO_export/examples/fa/splash_dvi    
Passed0.94 sec
  Start 4830: INVERTED.TODO_export/examples/fa/splash_dvi3_texF
 8/16 Test #4830: INVERTED.TODO_export/examples/fa/splash_dvi3_texF ..   
Passed1.09 sec
  Start 4831: INVERTED.TODO_export/examples/fa/splash_dvi3_systemF
 9/16 Test #4831: INVERTED.TODO_export/examples/fa/splash_dvi3_systemF ...   
Passed2.78 sec
  Start 4832: INVERTED.TODO_export/examples/fa/splash_pdf
10/16 Test #4832: INVERTED.TODO_export/examples/fa/splash_pdf    
Passed0.97 sec
  Start 4833: INVERTED.TODO_export/examples/fa/splash_pdf2
11/16 Test #4833: INVERTED.TODO_export/examples/fa/splash_pdf2 ...   
Passed0.93 sec
  Start 4834: INVERTED.TODO_export/examples/fa/splash_pdf3
12/16 Test #4834: INVERTED.TODO_export/examples/fa/splash_pdf3 ...   
Passed0.93 sec
  Start 4835: INVERTED.TODO_export/examples/fa/splash_pdf4_texF
13/16 Test #4835: INVERTED.TODO_export/examples/fa/splash_pdf4_texF ..   
Passed0.36 sec
  Start 4836: INVERTED.TODO_export/examples/fa/splash_pdf4_systemF
14/16 Test #4836: INVERTED.TODO_export/examples/fa/splash_pdf4_systemF ...   
Passed2.84 sec
  Start 4837: INVERTED.TODO_export/examples/fa/splash_pdf5_texF
15/16 Test #4837: INVERTED.TODO_export/examples/fa/splash_pdf5_texF ..   
Passed1.28 sec
  Start 4838: INVERTED.TODO_export/examples/fa/splash_pdf5_systemF
16/16 Test #4838: INVERTED.TODO_export/examples/fa/splash_pdf5_systemF ...   
Passed2.50 sec



signature.asc
Description: PGP signature


Re: Test wish for a new lfunc

2018-01-15 Thread Scott Kostyshak
On Mon, Jan 15, 2018 at 01:34:45PM +, Pavel Sanda wrote:
> Jean-Marc Lasgouttes wrote:

> > BTW, what is the difference between buffer-export and buffer-export-as ?
> 
> I believe the second opens the dialog for you.

Yes, and also buffer-export takes a second (optional) argument, which is
the destination of the file name.

Scott


signature.asc
Description: PGP signature


Re: Email to translators on Sunday, rc2 two weeks after

2018-01-15 Thread Scott Kostyshak
On Sat, Jan 13, 2018 at 12:57:17AM +, Uwe Stöhr wrote:
> Am 11.01.2018 um 09:40 schrieb Scott Kostyshak:
> 
> > I would like to email translators on Sunday. Please try to get
> > documentation touchups that should be translated done as soon as you
> > can.
> 
> I did so and distributed all available changes. If I missed something,
> please let me know.

I think there are still changes in beamer.lyx. Should those be
distributed?

Scott


signature.asc
Description: PGP signature


Re: Test wish for a new lfunc

2018-01-15 Thread Kornel Benko
Am Montag, 15. Januar 2018 um 13:03:26, schrieb Scott Kostyshak 

> On Mon, Jan 15, 2018 at 01:21:57PM +, Kornel Benko wrote:
> 
> > There are tests running about 10 minutes (like export farsi files).
> 
> Does fa/splash.lyx take about 10 minutes for you? Actually, no PDF
> export for Farsi is uninverted for me. Does the export take 10 minutes
> to fail for you? I get the attached times.
> 
> Scott

Interesting!
1/1 Test #4882: INVERTED.TODO_export/examples/fa/splash_pdf5_systemF ...   
Passed   17.33 sec
1/1 Test #4880: INVERTED.TODO_export/examples/fa/splash_pdf4_systemF ...   
Passed  318.70 sec

Looks like the Farsi-fonts are recalculated each time.
OTOH
1/1 Test #4879: INVERTED.TODO_export/examples/fa/splash_pdf4_texF ...   Passed  
  0.45 sec
1/1 Test #4881: INVERTED.TODO_export/examples/fa/splash_pdf5_texF ...   Passed  
  5.85 sec


Kornel

signature.asc
Description: This is a digitally signed message part.


Re: Test wish for a new lfunc

2018-01-15 Thread Scott Kostyshak
On Mon, Jan 15, 2018 at 06:42:31PM +, Kornel Benko wrote:
> Am Montag, 15. Januar 2018 um 13:03:26, schrieb Scott Kostyshak 
> 
> > On Mon, Jan 15, 2018 at 01:21:57PM +, Kornel Benko wrote:
> > 
> > > There are tests running about 10 minutes (like export farsi files).
> > 
> > Does fa/splash.lyx take about 10 minutes for you? Actually, no PDF
> > export for Farsi is uninverted for me. Does the export take 10 minutes
> > to fail for you? I get the attached times.
> > 
> > Scott
> 
> Interesting!
> 1/1 Test #4882: INVERTED.TODO_export/examples/fa/splash_pdf5_systemF ...   
> Passed   17.33 sec
> 1/1 Test #4880: INVERTED.TODO_export/examples/fa/splash_pdf4_systemF ...   
> Passed  318.70 sec
> 
> Looks like the Farsi-fonts are recalculated each time.
> OTOH
> 1/1 Test #4879: INVERTED.TODO_export/examples/fa/splash_pdf4_texF ...   
> Passed0.45 sec
> 1/1 Test #4881: INVERTED.TODO_export/examples/fa/splash_pdf5_texF ...   
> Passed5.85 sec

Note that I have not updated my TL installation for a while (on
purpose).

Scott


signature.asc
Description: PGP signature


Jenkins build is back to normal : Build branch "master" » ubuntu-xenial-qt4-autotools-extended #687

2018-01-15 Thread ci-lyx
https://ci.inria.fr/lyx/job/build-master-head/job/ubuntu-xenial-qt4-autotools-extended/687/


Re: Test wish for a new lfunc

2018-01-15 Thread Kornel Benko
Am Montag, 15. Januar 2018 um 14:01:25, schrieb Scott Kostyshak 

> On Mon, Jan 15, 2018 at 06:42:31PM +, Kornel Benko wrote:
> > Am Montag, 15. Januar 2018 um 13:03:26, schrieb Scott Kostyshak 
> > 
> > > On Mon, Jan 15, 2018 at 01:21:57PM +, Kornel Benko wrote:
> > > 
> > > > There are tests running about 10 minutes (like export farsi files).
> > > 
> > > Does fa/splash.lyx take about 10 minutes for you? Actually, no PDF
> > > export for Farsi is uninverted for me. Does the export take 10 minutes
> > > to fail for you? I get the attached times.
> > > 
> > > Scott
> > 
> > Interesting!
> > 1/1 Test #4882: INVERTED.TODO_export/examples/fa/splash_pdf5_systemF ...   
> > Passed   17.33 sec
> > 1/1 Test #4880: INVERTED.TODO_export/examples/fa/splash_pdf4_systemF ...   
> > Passed  318.70 sec
> > 
> > Looks like the Farsi-fonts are recalculated each time.
> > OTOH
> > 1/1 Test #4879: INVERTED.TODO_export/examples/fa/splash_pdf4_texF ...   
> > Passed0.45 sec
> > 1/1 Test #4881: INVERTED.TODO_export/examples/fa/splash_pdf5_texF ...   
> > Passed5.85 sec
> 
> Note that I have not updated my TL installation for a while (on
> purpose).
> 
> Scott

Hm, I don't think it depends on TL. Using system fonts is slow here.
In fact, installing "fonts-farsiweb" and "ttf-freefarsi" improved the 
compilation dramatically.

1/1 Test #4880: INVERTED.TODO_export/examples/fa/splash_pdf4_systemF ...   
Passed4.65 sec

Kornel

signature.asc
Description: This is a digitally signed message part.


Re: Test wish for a new lfunc

2018-01-15 Thread Scott Kostyshak
On Mon, Jan 15, 2018 at 07:47:50PM +, Kornel Benko wrote:

> Hm, I don't think it depends on TL. Using system fonts is slow here.
> In fact, installing "fonts-farsiweb" and "ttf-freefarsi" improved the 
> compilation dramatically.
> 
> 1/1 Test #4880: INVERTED.TODO_export/examples/fa/splash_pdf4_systemF ...   
> Passed4.65 sec

Ah, makes sense. I don't have those packages installed but I have them
from TL I think.

Scott


signature.asc
Description: PGP signature