Skip to content

Failed to load "luaotfload" module "features". #213

Closed

Description

@dragonstyle

I've recently started receiving this error when attempting to compile a tex document using lualatex. For example, with the test document test.tex:

\documentclass{article}
    % General document formatting
    \usepackage[margin=0.7in]{geometry}
    \usepackage[parfill]{parskip}
    \usepackage[utf8]{inputenc}
    
    % Related to math
    \usepackage{amsmath,amssymb,amsfonts,amsthm}

\begin{document}

Name, date, Exercise X

\section*{Part a}

Put your answer to part a here

\section*{Part b}

etc

\end{document}

the command lualatex test.tex results in the error:

This is LuaHBTeX, Version 1.13.2 (TeX Live 2021) 
 restricted system commands enabled.
(./test.tex
LaTeX2e <2021-11-15> patch level 1


luaotfload | load : FATAL ERROR
luaotfload | load :   × Failed to load "luaotfload" module "features".
luaotfload | load :   × Error message:
luaotfload | load :     × "...texmf-dist/tex/luatex/luaotfload/luaotfload-features.lua:835: module 'lua-uni-normalize' not found:".
luaotfload | load :     × "no field package.preload['lua-uni-normalize']".
luaotfload | load :     × "[kpse lua searcher] file not found: 'lua-uni-normalize'".

stack traceback:
	.../TinyTeX/texmf-dist/tex/luatex/luaotfload/luaotfload.lua:200: in upvalue 'loadmodule'
	.../TinyTeX/texmf-dist/tex/luatex/luaotfload/luaotfload.lua:275: in local 'initialize'
	.../TinyTeX/texmf-dist/tex/luatex/luaotfload/luaotfload.lua:340: in field 'main'
	[\directlua]:1: in main chunk

Curious if I should be doing something differently or if this is perhaps related to the recent 3.19 release. Any help appreciated.

Activity

  1. zauguin commented on Feb 26, 2022

    @zauguin
    Member

    It is related to the release: The new version requires the lua-uni-normalize package which does not seem to be installed on your system. Which distribution do you use?

  2. dragonstyle commented on Feb 26, 2022

    @dragonstyle
    Author

    Thank you! I can confirm that after installing lua-uni-normalize it compiles the tex fine.

    I'm using https://github.com/yihui/tinytex.

  3. FrankMittelbach commented on Feb 26, 2022

    @FrankMittelbach
    Member

    looks like it is a tiny bit too tiny now :-)

  4. zauguin commented on Feb 26, 2022

    @zauguin
    Member

    I reported the additional dependency to the TeX Live list, hopefully Tiny TeX & co will pick it up once it's listed there.

  5. FrankMittelbach commented on Feb 26, 2022

    @FrankMittelbach
    Member

    why not open an issue on their github instead?

  6. dragonstyle commented on Feb 26, 2022

    @dragonstyle
    Author

    Will do thank you!

  7. added a commit that references this issue on Mar 1, 2022
    157b62d
  8. added a commit that references this issue on Mar 31, 2022
    8545ee6
  9. added a commit that references this issue on Dec 31, 2022
    ed1abbc
  10. added a commit that references this issue on Jan 18, 2023
    f961474
  11. added a commit that references this issue on May 11, 2026
    12a87a2
  12. added a commit that references this issue on May 14, 2026
    6550f94
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions