Re: 2.4.0 testing on windows 10

2020-11-01 Thread Yu Jin
Am Sa., 31. Okt. 2020 um 21:00 Uhr schrieb Kornel Benko :

> Am Sat, 31 Oct 2020 17:33:24 +0100
> schrieb Yu Jin :
>
> > Am Sa., 31. Okt. 2020 um 15:51 Uhr schrieb Thibaut Cuvelier <
> > tcuvel...@lyx.org>:
> >
> > > On Sat, 31 Oct 2020 at 10:07, Andrew Parsloe 
> wrote:
> > >
> > >> I've installed 2.4.0 testing on a windows 10 machine.
> > >>
> > >> 1. when launching LyX the command window remains open.
> > >>
> > >> 2. the first preview encountered (e.g. math inset with preview On)
> > >> generates this message twice in the command window:
> > >>
> > >> RunCommand: could not terminate child process: Invalid argument
> > >>
> > >> Subsequent previews do not generate the message.
> > >>
> > > I can reproduce this. LyX tries to run py -2 and py -3 to detect some
> > > Python installation, but I thought this was due to my using a
> nonbundled
> > > version of Python.
> > >
> >
> > I would not worry too much, this is normal:
> > https://www.lyx.org/trac/ticket/11712
> >
> > I actually worry more about the open command window. I compiled and built
> > Windows installer as before with the 2.3.x betainstallers. Should I have
> > toggled the CMake setting to suppress/deactivate the command window?
> > Totally didn't think about that.
>
> Right, we should make it configurable at runtime. Like:
>   $ lyx -console
> and since we sometimes need the output in the command window, it should
> not be disabled
> at cmake-configuration time.
>
> This is also the reason that console is on by default for the MSVC
> compiler. (As it is for
> lyx2.3.x too BTW)
>

Yeah the setting itself is on, but when I compile and then run lyx, the
console is not shown. It's this way if I compile from the repo branch 2.3.x
and from Riki's tarballs.
-- 
Eugene
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: 2.4.0 testing on windows 10

2020-10-31 Thread Kornel Benko
Am Sat, 31 Oct 2020 17:33:24 +0100
schrieb Yu Jin :

> Am Sa., 31. Okt. 2020 um 15:51 Uhr schrieb Thibaut Cuvelier <
> tcuvel...@lyx.org>:
> 
> > On Sat, 31 Oct 2020 at 10:07, Andrew Parsloe  wrote:
> >
> >> I've installed 2.4.0 testing on a windows 10 machine.
> >>
> >> 1. when launching LyX the command window remains open.
> >>
> >> 2. the first preview encountered (e.g. math inset with preview On)
> >> generates this message twice in the command window:
> >>
> >> RunCommand: could not terminate child process: Invalid argument
> >>
> >> Subsequent previews do not generate the message.
> >>
> > I can reproduce this. LyX tries to run py -2 and py -3 to detect some
> > Python installation, but I thought this was due to my using a nonbundled
> > version of Python.
> >
> 
> I would not worry too much, this is normal:
> https://www.lyx.org/trac/ticket/11712
> 
> I actually worry more about the open command window. I compiled and built
> Windows installer as before with the 2.3.x betainstallers. Should I have
> toggled the CMake setting to suppress/deactivate the command window?
> Totally didn't think about that.

Right, we should make it configurable at runtime. Like:
  $ lyx -console
and since we sometimes need the output in the command window, it should not be 
disabled
at cmake-configuration time.

This is also the reason that console is on by default for the MSVC compiler. 
(As it is for
lyx2.3.x too BTW)

Kornel


pgp7UAL2mEtz2.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: 2.4.0 testing on windows 10

2020-10-31 Thread Yu Jin
Am Sa., 31. Okt. 2020 um 15:51 Uhr schrieb Thibaut Cuvelier <
tcuvel...@lyx.org>:

> On Sat, 31 Oct 2020 at 10:07, Andrew Parsloe  wrote:
>
>> I've installed 2.4.0 testing on a windows 10 machine.
>>
>> 1. when launching LyX the command window remains open.
>>
>> 2. the first preview encountered (e.g. math inset with preview On)
>> generates this message twice in the command window:
>>
>> RunCommand: could not terminate child process: Invalid argument
>>
>> Subsequent previews do not generate the message.
>>
> I can reproduce this. LyX tries to run py -2 and py -3 to detect some
> Python installation, but I thought this was due to my using a nonbundled
> version of Python.
>

I would not worry too much, this is normal:
https://www.lyx.org/trac/ticket/11712

I actually worry more about the open command window. I compiled and built
Windows installer as before with the 2.3.x betainstallers. Should I have
toggled the CMake setting to suppress/deactivate the command window?
Totally didn't think about that.
-- 
Eugene
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: 2.4.0 testing on windows 10

2020-10-31 Thread Thibaut Cuvelier
On Sat, 31 Oct 2020 at 10:07, Andrew Parsloe  wrote:

> I've installed 2.4.0 testing on a windows 10 machine.
>
> 1. when launching LyX the command window remains open.
>
> 2. the first preview encountered (e.g. math inset with preview On)
> generates this message twice in the command window:
>
> RunCommand: could not terminate child process: Invalid argument
>
> Subsequent previews do not generate the message.
>
I can reproduce this. LyX tries to run py -2 and py -3 to detect some
Python installation, but I thought this was due to my using a nonbundled
version of Python.
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: 2.4.0 testing on windows 10

2020-10-31 Thread Andrew Parsloe


On 31/10/2020 10:06 pm, Andrew Parsloe wrote:


I've installed 2.4.0 testing on a windows 10 machine.


I should have mentioned this is the 64-bit installer.


1. when launching LyX the command window remains open.

2. the first preview encountered (e.g. math inset with preview On) 
generates this message twice in the command window:


RunCommand: could not terminate child process: Invalid argument

Subsequent previews do not generate the message.

3. a small cosmetic detail. The File menu lists Open Example after 
Open Recent and just above a separator. People moving from 2.3 are 
used to finding the recent files just above the separator. I think it 
would be better to place Open Example just after New from Template


Attempts to compile some complex documents have not been successful 
initially, but I'll need to investigate further tomorrow.


Andrew

-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


2.4.0 testing on windows 10

2020-10-31 Thread Andrew Parsloe

I've installed 2.4.0 testing on a windows 10 machine.

1. when launching LyX the command window remains open.

2. the first preview encountered (e.g. math inset with preview On) 
generates this message twice in the command window:


RunCommand: could not terminate child process: Invalid argument

Subsequent previews do not generate the message.

3. a small cosmetic detail. The File menu lists Open Example after Open 
Recent and just above a separator. People moving from 2.3 are used to 
finding the recent files just above the separator. I think it would be 
better to place Open Example just after New from Template


Attempts to compile some complex documents have not been successful 
initially, but I'll need to investigate further tomorrow.


Andrew

-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel