khaledhosny / luaotfload

Moved to https://github.com/latex3/luaotfload
23 stars 15 forks source link

Attempt to index global "cache" #46

Open N-Holzschuch opened 12 years ago

N-Holzschuch commented 12 years ago

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?

khaledhosny commented 12 years ago

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).

eroux commented 11 years ago

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

phi-gamma commented 11 years ago

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