On Wed, Mar 24, 2021 at 10:10:08PM +0100, Thibaut Cuvelier wrote:
> On Wed, 24 Mar 2021 at 18:14, Scott Kostyshak <skost...@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 <rikih...@lyx.org>
> > > wrote:
> > >
> > > > On 3/23/21 4:13 PM, Thibaut Cuvelier wrote:
> > > >
> > > > On Tue, 23 Mar 2021 at 15:48, Richard Kimberly Heck <rikih...@lyx.org>
> > > > wrote:
> > > >
> > > >> On 3/22/21 7:33 PM, Thibaut Cuvelier wrote:
> > > >> > commit 0f782b0ded08953dbcde48f22d51ba87133bc029
> > > >> > Author: Thibaut Cuvelier <tcuvel...@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

Can you reproduce the long execution time if you run the above command directly?

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

Ah that is a helpful clue. I don't know why that would cause the process to 
take so much time though.

Scott

Attachment: signature.asc
Description: PGP signature

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

Reply via email to