Skip to content
This repository has been archived by the owner on Jan 7, 2020. It is now read-only.

Attempt to index global "cache" #46

Open
N-Holzschuch opened this issue Jun 4, 2012 · 3 comments
Open

Attempt to index global "cache" #46

N-Holzschuch opened this issue Jun 4, 2012 · 3 comments

Comments

@N-Holzschuch
Copy link

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
Copy link
Owner

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
Copy link
Collaborator

eroux commented Apr 9, 2013

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

@phi-gamma
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants