[prestest] Message about path not found (windows)

Karl Berry karl at freefriends.org
Sun Mar 5 01:26:32 CET 2023

Hi Uwe,

    Das System kann den angegebenen Pfad nicht finden.  (*)

Thanks for the report.

Surely about the new context regenerations, based on the point where
it's occurring (between mktexlsr and updmap-sys), but I don't know what
to do about it. What tlmgr and install-tl do is this:

    my $lmtx = "$bindir/luametatex";
    if (defined($localtlpdb->get_package('context'))
        && (-x "$lmtx" || -x "$lmtx.exe")
        && TeXLive::TLUtils::system_ok("$lmtx --version")
       ) {
      $errors += do_cmd_and_check("mtxrun --generate");
      $errors += do_cmd_and_check("context --luatex --generate");

In other words, if (a) the context package is installed (presumably yes,
for you), and (b) the luametatex[.exe] file is present and executable,
and (c) it can actually be run, then (and only then) run ConTeXt's two
--generate commands (both those scripts end up running the luametatex binary).

These were all the safeguards I could think of to only run the commands
if they could actually succeed. It's rather discouraging that something
in your setup defeats them all and it fails anyway. Oh well.

If you're up for debugging, you could try running the two commands
   mtxrun --generate
   context --luatex --generate
from the command line, and see what happens.

(My hunch is that context on Windows is not working right in all cases,
but that's not something I can debug.)

The error message is basically harmless, at least. It just means the
context caches aren't getting updated, which you can do by hand if
desired (presumably). --thanks, karl.

More information about the tex-live mailing list.