luaotfload icon indicating copy to clipboard operation
luaotfload copied to clipboard

Attempt to index global "cache"

Open N-Holzschuch opened this issue 12 years ago • 3 comments

This is probably embarassingly easy to solve, but I couldn't find the solution.

I got the latest version of luaotfload from the git server, unpacked and installed.

And now, whenever I try to run mkluatexfontdb, I have this error: "attempt to index global 'caches' (a nil value)"

Here is the report: $ mkluatexfontdb

luaotfload | Updating the font names database luaotfload | Font names database not found, generating new one. This can take several minutes; please be patient. luaotfload | Updating the font names database luaotfload | Scanning fonts known to operating system... luaotfload | Scanning TEXMF fonts... luaotfload | Scanning OS fonts..../otfl-font-nms.lua:740: attempt to index global 'caches' (a nil value)

Any hints?

N-Holzschuch avatar Jun 04 '12 08:06 N-Holzschuch

The master branch is currently unstable (and only God knows if it ever will), so you should be using texlive2011 (even with TeX Live 2012).

khaledhosny avatar Jun 04 '12 08:06 khaledhosny

This problem seems very strange. Do you have lualibs installed?

eroux avatar Apr 09 '13 13:04 eroux

Looks like the search paths have not been updated. Running mktexlsr should fix that. (The table caches was introduced by the git update.)

phi-gamma avatar Apr 09 '13 13:04 phi-gamma