[luatex] Document using lsqlite3 no longer compiles in TeXLive 2020

Nikos Platis nplatis at gmail.com
Sun Apr 12 21:16:04 CEST 2020


Hello,

I hope this is the right place to ask the following question instead of the
texlive mailing list.

I recently installed TeXLive 2020 (using the "upgrade" method described in
https://www.tug.org/texlive/upgrade.html) and a document using lsqlite3
does not compile.

Here is a minimum example:

-------------------
% !TeX program = lualatex
\documentclass{article}
\usepackage{luacode}
\begin{luacode}
sqlite3 = require("lsqlite3")
\end{luacode}
\begin{document}
abc
\end{document}
-------------------

and here are the messages I receive:

-------------------
This is LuaHBTeX, Version 1.12.0 (TeX Live 2020)
restricted system commands enabled.
(./1.tex
LaTeX2e <2020-02-02> patch level 5
L3 programming layer <2020-03-06>
(/usr/local/texlive/2020/texmf-dist/tex/latex/base/article.cls
Document Class: article 2019/12/20 v1.4l Standard LaTeX document class
(/usr/local/texlive/2020/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2020/texmf-dist/tex/lualatex/luacode/luacode.sty
(/usr/local/texlive/2020/texmf-dist/tex/generic/iftex/ifluatex.sty
(/usr/local/texlive/2020/texmf-dist/tex/generic/iftex/iftex.sty))
(/usr/local/texlive/2020/texmf-dist/tex/luatex/luatexbase/luatexbase.sty
(/usr/local/texlive/2020/texmf-dist/tex/luatex/ctablestack/ctablestack.sty)))

(/usr/local/texlive/2020/texmf-dist/tex/latex/l3backend/l3backend-pdfmode.def)

(./1.aux)
(/usr/local/texlive/2020/texmf-dist/tex/latex/base/ts1cmr.fd)...0/tex
mf-dist/tex/luatex/lualibs/lualibs-basic-merged.lua:381: attempt to call a
nil
value (field 'cpath specification')
stack traceback:
       ...0/texmf-dist/tex/luatex/lualibs/lualibs-basic-merged.lua:381: in
field '?'
       ...0/texmf-dist/tex/luatex/lualibs/lualibs-basic-merged.lua:403: in
function <
...0/texmf-dist/tex/luatex/lualibs/lualibs-basic-merged.lua:395>
       [C]: in function 'require'
       [\directlua]:1: in main chunk.
\luacode at dbg@exec ...code at maybe@printdbg {#1} #1 }

l.9 \end{luacode}
-------------------

Let me note that the document compiles fine with TeXLive 2019 on my system.

"luarocks list" gives

-------------------
Rocks installed for Lua 5.3
---------------------------

lsqlite3
  0.9.5-1 (installed) - /usr/lib/luarocks/rocks-5.3
-------------------

Am I missing something, or is there something wrong here?

Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/luatex/attachments/20200412/e85568f0/attachment.html>


More information about the luatex mailing list.