From 13faf9b4dc86c0db45b272ec00e50d9e9d21aee6 Mon Sep 17 00:00:00 2001 From: Ben Price Date: Sat, 8 Nov 2025 15:04:13 +0000 Subject: [PATCH] More useful error message if no writeable cache path kpathsea has some perhaps-surprising rules around "safe filenames". We attempt to make this information more discoverable by linking from the error message. --- src/fontloader/runtime/fontloader-basics-gen.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fontloader/runtime/fontloader-basics-gen.lua b/src/fontloader/runtime/fontloader-basics-gen.lua index ebd9818c..527f9fa3 100644 --- a/src/fontloader/runtime/fontloader-basics-gen.lua +++ b/src/fontloader/runtime/fontloader-basics-gen.lua @@ -253,7 +253,7 @@ do end if not writable then - logs.report("system","no writeable cache path, quiting") + logs.report("system","no writeable cache path, quiting. Try setting TEXMFCACHE or TEXMFVAR and reading https://www.tug.org/texinfohtml/kpathsea.html#Safe-filenames") os.exit() elseif #readables == 0 then logs.report("system","no readable cache path, quiting")