DocBook v2
Thibaut Cuvelier
tcuvelier at lyx.org
Mon Aug 31 17:57:12 UTC 2020
On Mon, 31 Aug 2020 at 19:31, Kornel Benko <kornel at lyx.org> wrote:
> Am Mon, 31 Aug 2020 19:24:58 +0200
> schrieb Thibaut Cuvelier <tcuvelier at lyx.org>:
>
> > > After everything is compiled, got to the build directory and use
> > > $ ctest -R docbook5 -j4
> > > provided that you have 4 processors active.
> > >
> > This command works like a charm (as long as the path is correctly
> configured). For now,
> > it looks like exactly all the tests fail, I guess there is still work to
> do!
>
> Select some export
> $ ctest -R export/doc/Intro_docbook5
>
> Check the log-output in build-dir
> Testing/Temporary/LastTest.log
> and eventually send it to me. Maybe you miss some commands, or perl-module.
>
A first issue is that CTest doesn't find my Python installation. For
instance, this is what I can find in this log file:
Start testing: Aug 31 19:19 Romance Daylight Time
----------------------------------------------------------
240/7444 Testing: export/export/MissingEndLayoutBetweenTables_docbook5
240/7444 Test: export/export/MissingEndLayoutBetweenTables_docbook5
Command: "C:/Program Files/CMake/bin/cmake.exe"
"-DLYX_ROOT=D:/LyX/lyx-unstable/autotests/export"
"-DLYX_TESTS_USERDIR=D:/LyX/lyx-unstable/cmake-build-debug/Testing/.lyx"
"-Dlyx=D:/LyX/lyx-unstable/cmake-build-debug/bin/LyX.exe"
"-DWORKDIR=D:/LyX/lyx-unstable/cmake-build-debug/autotests/out-home"
"-Dformat=docbook5" "-Dfonttype=defaultF" "-Dextension=xml"
"-Dfile=MissingEndLayoutBetweenTables" "-Dinverted=0"
"-DTOP_SRC_DIR=D:/LyX/lyx-unstable" "-DIgnoreErrorMessage="
"-DPERL_EXECUTABLE=C:/Program Files (x86)/LyX 2.3/Perl/bin/perl.exe"
"-DXMLLINT_EXECUTABLE=XMLLINT_EXECUTABLE-NOTFOUND" "-DENCODING=default"
"-P" "D:/LyX/lyx-unstable/development/autotests/export.cmake"
Directory: D:/LyX/lyx-unstable/cmake-build-debug/autotests/out-home
"export/export/MissingEndLayoutBetweenTables_docbook5" start time: Aug 31
19:19 Romance Daylight Time
Output:
----------------------------------------------------------
-- IgnoreErrorMessage = ""
-- using fonttype = defaultF
-- Converting with perl
D:/LyX/lyx-unstable/development/autotests/useSystemFonts.pl
-- Using source
"D:/LyX/lyx-unstable/autotests/export/MissingEndLayoutBetweenTables.lyx"
-- Using dest
"D:/LyX/lyx-unstable/cmake-build-debug/autotests/out-home/AbC_DyhT7p/export/MissingEndLayoutBetweenTables.lyx"
res1 = 1 for
"D:\LyX\lyx-unstable\autotests\export\MissingEndLayoutBetweenTables.lyx" to
be copied to
D:\LyX\lyx-unstable\cmake-build-debug\autotests\out-home\AbC_DyhT7p\export\MissingEndLayoutBetweenTables.lyx
-- Executing D:/LyX/lyx-unstable/cmake-build-debug/bin/LyX.exe -dbg info
-userdir "D:/LyX/lyx-unstable/cmake-build-debug/Testing/.lyx" -E docbook5
export/MissingEndLayoutBetweenTables.xml
"D:/LyX/lyx-unstable/cmake-build-debug/autotests/out-home/AbC_DyhT7p/export/MissingEndLayoutBetweenTables.lyx"
Setting debug level to info
Debugging `info' (General information)
support\filetools.cpp (1038): Running: py -3 -c "from __future__ import
print_function;import sys; print(sys.version_info[:2], end=\"\")"
'py' is not recognized as an internal or external command,
operable program or batch file.
support\filetools.cpp (1038): Running: py -2 -c "from __future__ import
print_function;import sys; print(sys.version_info[:2], end=\"\")"
'py' is not recognized as an internal or external command,
operable program or batch file.
support\filetools.cpp (1038): Running: python -c "from __future__ import
print_function;import sys; print(sys.version_info[:2], end=\"\")"
Python was not found but can be installed from the Microsoft Store:
https://go.microsoft.com/fwlink?linkID=2082640Manually looking for python
in PATH ...
Examining "C:/Users/Thibaut/AppData/Local/Microsoft/WindowsApps/python.exe"
support\filetools.cpp (1038): Running:
"C:/Users/Thibaut/AppData/Local/Microsoft/WindowsApps/python.exe" -c "from
__future__ import print_function;import sys; print(sys.version_info[:2],
end=\"\")"
Python was not found but can be installed from the Microsoft Store:
https://go.microsoft.com/fwlink?linkID=2082640Examining
"C:/Users/Thibaut/AppData/Local/Microsoft/WindowsApps/python3.exe"
support\filetools.cpp (1038): Running:
"C:/Users/Thibaut/AppData/Local/Microsoft/WindowsApps/python3.exe" -c "from
__future__ import print_function;import sys; print(sys.version_info[:2],
end=\"\")"
Python was not found but can be installed from the Microsoft Store:
https://go.microsoft.com/fwlink?linkID=2082640Examining
"C:/Users/Thibaut/AppData/Local/Programs/MiKTeX
2.9/miktex/bin/x64/pythontex.exe"
support\filetools.cpp (1038): Running:
"C:/Users/Thibaut/AppData/Local/Programs/MiKTeX
2.9/miktex/bin/x64/pythontex.exe" -c "from __future__ import
print_function;import sys; print(sys.version_info[:2], end=\"\")"
Python was not found but can be installed from the Microsoft Store:
https://go.microsoft.com/fwlink?linkID=2082640Examining
"C:/Users/Thibaut/AppData/Local/Microsoft/WindowsApps/python.exe"
support\filetools.cpp (1038): Running:
"C:/Users/Thibaut/AppData/Local/Microsoft/WindowsApps/python.exe" -c "from
__future__ import print_function;import sys; print(sys.version_info[:2],
end=\"\")"
Python was not found but can be installed from the Microsoft Store:
https://go.microsoft.com/fwlink?linkID=2082640Examining
"C:/Users/Thibaut/AppData/Local/Microsoft/WindowsApps/python3.exe"
support\filetools.cpp (1038): Running:
"C:/Users/Thibaut/AppData/Local/Microsoft/WindowsApps/python3.exe" -c "from
__future__ import print_function;import sys; print(sys.version_info[:2],
end=\"\")"
Python was not found but can be installed from the Microsoft Store:
https://go.microsoft.com/fwlink?linkID=2082640Warning: No python v2.x or
3.x binary found.
LyX: reconfiguring user directory
support\Systemcall.cpp (250): Running: python -tt
"D:/LyX/lyx-unstable/lib/configure.py"
--binary-dir="D:/LyX/lyx-unstable/cmake-build-debug/bin/"
support\Systemcall.cpp (291): Systemcall: 'python -tt
"D:/LyX/lyx-unstable/lib/configure.py"
--binary-dir="D:/LyX/lyx-unstable/cmake-build-debug/bin/"' finished with
exit code 9009
Python was not found but can be installed from the Microsoft Store:
https://go.microsoft.com/fwlink?linkID=2082640LyX: Done!
I do have Python, but the Anaconda distribution, so the binary is at an
unusual location (C:\Users\Thibaut\Anaconda3\python.exe). Setting the path
accordingly (with the Python folder *before* the tricky python.exe file
Microsoft ships with new Windows versions that just prints a message…) and
it can go further.
Then, CTest tried to use my LyX 2.3-bundled Perl, but it lacks at least the
XML::Parser module. I'm getting a full Perl installation (but it's not like
I have a good downloading speed right now…).
By the way, is there a wiki page indicating what you need to get the tests
running? Or should I start writing it?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200831/602afb95/attachment-0001.html>
More information about the lyx-devel
mailing list