任务单 #45784

Newest version 20221002 stops the document from compiling

开放日期: 2022-10-06 04:36 最后更新: 2022-12-13 22:05

报告人:
(匿名)
属主:
类型:
状态:
关闭
组件:
(无)
里程碑:
(无)
优先:
5 - Medium
严重性:
5 - Medium
处理结果:
Fixed
文件:

Details

Simply loading the package would stop the document from compiling:

  1. \documentclass{article}
  2. \usepackage{luatexja}
  3. \begin{document}
  4. Text.
  5. \end{document}

One gets lots of error messages, start with:

Custom whatsit ja_al_boundary = 6...texlive/2022/texmf-dist/tex/luatex/luatexja/ltj-base.lua:231: module 'lualibs-gzip' not found:
	no field package.preload['lualibs-gzip']
	[kpse lua searcher] file not found: 'lualibs-gzip'
stack traceback:
	[C]: in function 'require'
	...texlive/2022/texmf-dist/tex/luatex/luatexja/ltj-base.lua:231: in main chunk
	[C]: in function 'require'
	...texlive/2022/texmf-dist/tex/luatex/luatexja/luatexja.lua:12: in local 'load_module'
	...texlive/2022/texmf-dist/tex/luatex/luatexja/luatexja.lua:101: in main chunk
	[C]: in function 'dofile'
	[\directlua]:1: in main chunk.
l.178 }
     
The lua interpreter ran into a problem, so the
remainder of this lua chunk will be ignored.

(/usr/local/texlive/2022/texmf-dist/tex/luatex/luatexja/ltj-base.sty
Package: ltj-base 2021-03-16
\ltj@tempcntb=\count198
\ltj@tempcntc=\count199
\ltj@afbox=\box51
)
\ltj@@italic@inner=\luafunction26
\ltj@@start@time@measure@inner=\luafunction27
\ltj@@stop@time@measure@inner=\luafunction28
[\directlua]:1: attempt to index a nil value (field 'jfont')
stack traceback:
	[\directlua]:1: in main chunk.
l.215 }
     
The lua interpreter ran into a problem, so the
remainder of this lua chunk will be ignored.

\ltj@@jfont@inner=\luafunction29
[\directlua]:1: attempt to index a nil value (field 'jfont')
stack traceback:
	[\directlua]:1: in main chunk.
l.233 }
     
The lua interpreter ran into a problem, so the
remainder of this lua chunk will be ignored.

\ltj@zw@inner=\luafunction30
\ltj@zh@inner=\luafunction31
\ltj@reset@globaldefs@inner=\luafunction32
\ltj@restore@globaldefs@inner=\luafunction33
\ltj@@disihb@inner=\luafunction34
\ltj@@ihb@inner=\luafunction35
\ltj@@fakeparbegin@inner=\luafunction36
\ltj@@fakeboxbdd@inner=\luafunction37
\ltj@@ins@xk@inner=\luafunction38
\ltj@@ins@k@inner=\luafunction39
[\directlua]:1: attempt to index a nil value (local 'ltjj')
stack traceback:
	[\directlua]:1: in main chunk.
l.276 }
     
The lua interpreter ran into a problem, so the
remainder of this lua chunk will be ignored.

[\directlua]:1: attempt to index a nil value (field 'stack')
stack traceback:
	[\directlua]:1: in main chunk.
l.311   }
       %
The lua interpreter ran into a problem, so the
remainder of this lua chunk will be ignored.

[\directlua]:1: attempt to index a nil value (field 'stack')
stack traceback:
	[\directlua]:1: in main chunk.
l.316   }
       %
The lua interpreter ran into a problem, so the
remainder of this lua chunk will be ignored.

\ltjsetkanjiskip@inner=\luafunction40
\ltjsetxkanjiskip@inner=\luafunction41
[\directlua]:1: attempt to index a nil value (field 'stack')
stack traceback:
	[\directlua]:1: in main chunk.
l.412 }
     
The lua interpreter ran into a problem, so the
remainder of this lua chunk will be ignored.

\ltj@@getparam@one@inner=\luafunction42
\ltj@alljachar@inner=\luafunction43
[\directlua]:1: attempt to index a nil value (field 'direction')
stack traceback:
	[\directlua]:1: in main chunk.
\yoko ....direction.set_list_direction(4, 'yoko')}
                                                  
l.597 \yoko
         
The lua interpreter ran into a problem, so the
remainder of this lua chunk will be ignored.

\ltj@@lua@populate@insertwhatsit@inner=\luafunction44
[\directlua]:1: attempt to index a nil value (field 'direction')
stack traceback:
	[\directlua]:1: in main chunk.
l.606 }
     
The lua interpreter ran into a problem, so the
remainder of this lua chunk will be ignored.

\ltj@@vadjust@begin@inner=\luafunction45
\ltj@@vadjust@dirhook@inner=\luafunction46
\ltj@@vadjust@check@dir@inner=\luafunction47
[\directlua]:1: attempt to index a nil value (field 'direction')
stack traceback:
	[\directlua]:1: in main chunk.
l.625 }
     
The lua interpreter ran into a problem, so the
remainder of this lua chunk will be ignored.

[\directlua]:1: attempt to index a nil value (field 'stack')
stack traceback:
	[\directlua]:1: in main chunk.
l.640   }
       $%
The lua interpreter ran into a problem, so the
remainder of this lua chunk will be ignored.

\ltj@@box@dirhook@inner=\luafunction48
\ltj@@reset@badness@inner=\luafunction49
\ltj@@lua@raisebox@inner=\luafunction50
[\directlua]:1: attempt to index a nil value (field 'direction')
stack traceback:
	[\directlua]:1: in main chunk.
l.678 }
     
The lua interpreter ran into a problem, so the
remainder of this lua chunk will be ignored.

\ltj@@lua@unboxcheckdir@inner=\luafunction51
[\directlua]:1: attempt to index a nil value (field 'direction')
stack traceback:
	[\directlua]:1: in main chunk.
l.721 }
     
The lua interpreter ran into a problem, so the
remainder of this lua chunk will be ignored.

[\directlua]:1: attempt to call a nil value (field 'load_kinsoku')
stack traceback:
	[\directlua]:1: in main chunk.
l.766 \directlua{luatexja.load_kinsoku()}
                                       
The lua interpreter ran into a problem, so the
remainder of this lua chunk will be ignored.

(/usr/local/texlive/2022/texmf-dist/tex/luatex/luatexja/ltj-latex.sty
Package: ltj-latex 2021-10-24 LaTeX support of LuaTeX-ja
[\directlua]:1: attempt to index a nil value (field 'direction')
stack traceback:
	[\directlua]:1: in main chunk.
l.52   }
      
The lua interpreter ran into a problem, so the
remainder of this lua chunk will be ignored.

任务单历史 (3/5 Histories)

2022-10-06 04:36 Updated by: None
  • New Ticket "Newest version 20221002 stops the document from compiling" created
2022-10-06 07:59 Updated by: h7k
评论

Thanks for the report. It seems that lualibs-gzip.lua is renamed to lualibs-util-zip.lua in latest lualibs (v2.75, 2022-10-05). I'll check today.

2022-10-06 08:22 Updated by: h7k
评论
I made a patch (commit 1e1611d). I'll upload a new version to CTAN in few days.
  1. index 41caef5..4a95616 100644
  2. --- a/src/ltj-base.lua
  3. +++ b/src/ltj-base.lua
  4. @@ -226,9 +226,12 @@ end
  5. -- But sometimes we want to create only the precompiled cache,
  6. -- when its 'text' version is already present in LuaTeX-ja distribution.
  7. -require('lualibs-lpeg') -- string.split
  8. -require('lualibs-os') -- os.type
  9. -require('lualibs-gzip') -- gzip.*
  10. +if not os.type then require'lualibs-os' end
  11. +if not string.split then require'lualibs-lpeg' end
  12. +if not gzip then
  13. + if kpse.find_file('lualibs-util-zip', 'lua') then require'lualibs-util-zip'
  14. + else require'lualibs-gzip' end
  15. +end
  16. do
  17. local kpse_var_value = kpse.var_value
2022-10-06 19:31 Updated by: h7k
  • 属主 Update from (无) to h7k
  • 处理结果 Update from to Fixed
评论

I uploaded the new version (20221006.0) to CTAN.

2022-12-13 22:05 Updated by: h7k
  • 状态 Update from 开启 to 关闭

Attachment File List

No attachments

编辑

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » 登录名