updatetex2lyxtests not running on Windows

Thibaut Cuvelier tcuvelier at lyx.org
Wed Mar 24 21:10:08 UTC 2021


On Wed, 24 Mar 2021 at 18:14, Scott Kostyshak <skostysh at lyx.org> wrote:

> On Tue, Mar 23, 2021 at 11:27:35PM +0100, Thibaut Cuvelier wrote:
> > On Tue, 23 Mar 2021 at 22:08, Richard Kimberly Heck <rikiheck at lyx.org>
> > wrote:
> >
> > > On 3/23/21 4:13 PM, Thibaut Cuvelier wrote:
> > >
> > > On Tue, 23 Mar 2021 at 15:48, Richard Kimberly Heck <rikiheck at lyx.org>
> > > wrote:
> > >
> > >> On 3/22/21 7:33 PM, Thibaut Cuvelier wrote:
> > >> > commit 0f782b0ded08953dbcde48f22d51ba87133bc029
> > >> > Author: Thibaut Cuvelier <tcuvelier at lyx.org>
> > >> > Date:   Tue Mar 23 00:08:50 2021 +0100
> > >> >
> > >> >     DocBook: add a parameter to change the namespace prefix for
> MathML.
> > >>
> > >> Any time the syntax of semantics of the LyX file itself changes, it's
> a
> > >> format change, so: (1) Bump the document format; (2) Write a lyx2lyx
> > >> routine to remove the new parameter; (3) Do what needs doing with
> > >> tex2lyx. See lib/doc/Document.lyx, section 2.2.
> > >>
> > >
> > > I had missed that, thanks for the notice. It should be corrected in the
> > > new commit: 7a1e048f. There is nothing to add in tex2lyx, as its
> behaviour
> > > should not change with this new parameter.
> > >
> > > The one last thing to do, then, is to update the tex2lyx tests.
> Otherwise,
> > > Scott will very soon complain that they are all failing.
> > >
> > With CMake, according to the docs, it should just be running the
> > updatetex2lyxtests target. However, it does not do a lot of things: in
> one
> > hour, it only changed one file. Here is the patch:
>
> I think that is the correct target. When I run that target, it takes 45
> seconds and produced the diff that I committed at b2b68c3e. I went ahead
> and committed the diff so that we can fix the tests while we work
> through this issue.
>
> Does it show which commands it is running in the terminal? If not,
> perhaps you can look in the process manager? I attach my log for
> comparison.
>

Here is the complete output from CMake:

C:\Users\Thibaut\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\203.7717.62\bin\cmake\win\bin\cmake.exe
--build D:\LyX\lyx-unstable\cmake-build-debug --target updatetex2lyxtests
-- Git-hash = 56bd50ea6c
-- Created D:/LyX/lyx-unstable/cmake-build-debug/lyx_date.tmp
-- Created D:/LyX/lyx-unstable/cmake-build-debug/lyx_commit_hash.tmp
[  0%] Built target lyx_version
[  3%] Built target zlibstatic
[  5%] Built target hunspell
[  5%] Built target iconv
[  5%] Built target mytheslibstatic
[  5%] Built target frontends
[ 51%] Built target frontend_qt
[ 61%] Built target mathed
[ 67%] Built target support
[ 77%] Built target insets
[ 78%] Built target graphics
[ 94%] Built target LyX
[100%] Built target tex2lyx
[100%] Generating Tex2lyxFilesUpdated

Then, I only have a tex2lyx.exe process that is running and doing nothing
(no CPU usage, RAM does not vary, no IO operations either: the user and
system times are fixed and do not increase with time). Here is the command
being executed:

D:/LyX/lyx-unstable/cmake-build-debug/bin/tex2lyx.exe  -roundtrip -f
D:\LyX\lyx-unstable\src\tex2lyx\test\test.ltx

[image: image.png]

Here is the current stack (as shown by Process Explorer:
https://docs.microsoft.com/en-us/sysinternals/downloads/process-explorer):

[image: image.png]

It really looks like there is only one thread, waiting on something:

[image: image.png]

The standard task manager doesn't see any waiting chain:

[image: image.png]

Here is the result of attaching a debugger to the process, then stopping
the process (as if there were a breakpoint):

[image: image.png]

The error message seems to indicate that Python is not found. However, this
executable is started from a Python script…

[image: image.png]

I have a dump of the process if you want to analyse it further.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20210324/ffbf7d4c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 18980 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20210324/ffbf7d4c/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 66113 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20210324/ffbf7d4c/attachment-0007.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 15222 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20210324/ffbf7d4c/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 7045 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20210324/ffbf7d4c/attachment-0009.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 98876 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20210324/ffbf7d4c/attachment-0010.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 32217 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20210324/ffbf7d4c/attachment-0011.png>


More information about the lyx-devel mailing list