latex3 / luaotfload

OpenType font loader for LuaTeX
Other
59 stars 6 forks source link

bad argument #2 to 'stringformat' (number expected, got string) #245

Open mvastola opened 1 year ago

mvastola commented 1 year ago

I'm running into the error mentioned in the title on this line in luaotfload-database.lua.

I don't know lua, but assuming that's printf format string syntax, putting pwd there was a typo. (And the next block I see has an argument when none are specified in the format string.)

(This error had only been visible when I turned on verbose mode, and silently prevented the command from doing anything, which made this a bit frustrating.)