/usr/bin/luatools:2329: bad argument #1 to '(for generator)' (directory metatable expected, got nil)
Hello, While doing context foo I do get LuaTools | merging library /usr/share/texmf/tex/context/base/data-ctx.lua LuaTools | merging library /usr/share/texmf/tex/context/base/luat-fio.lua LuaTools | merging library /usr/share/texmf/tex/context/base/luat-cnf.lua LuaTools | saving merge from cont-en.lua LuaTools | using compiled initialization file: cont-en.luc LuaTools | using lua initialization file: cont-en.luc /usr/bin/luatools:2329: bad argument #1 to '(for generator)' (directory metatable expected, got nil) What should I do to get beyond that error message? I'm using Debian on an AMD64, context package is version 2009.11.26-2 Cheers Geert Stappers --
And is there a policy on top-posting vs. bottom-posting? Yes.
On 14-6-2011 6:48, Stappers wrote:
Hello,
While doing
context foo
I do get
LuaTools | merging library /usr/share/texmf/tex/context/base/data-ctx.lua LuaTools | merging library /usr/share/texmf/tex/context/base/luat-fio.lua LuaTools | merging library /usr/share/texmf/tex/context/base/luat-cnf.lua LuaTools | saving merge from cont-en.lua LuaTools | using compiled initialization file: cont-en.luc LuaTools | using lua initialization file: cont-en.luc /usr/bin/luatools:2329: bad argument #1 to '(for generator)' (directory metatable expected, got nil)
What should I do to get beyond that error message?
I'm using Debian on an AMD64, context package is version 2009.11.26-2
way too old .. luatex as well as context moved on (and luatools in no longer used) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Tue, 14 Jun 2011, Hans Hagen wrote:
On 14-6-2011 6:48, Stappers wrote:
Hello,
While doing
context foo
I do get
LuaTools | merging library /usr/share/texmf/tex/context/base/data-ctx.lua LuaTools | merging library /usr/share/texmf/tex/context/base/luat-fio.lua LuaTools | merging library /usr/share/texmf/tex/context/base/luat-cnf.lua LuaTools | saving merge from cont-en.lua LuaTools | using compiled initialization file: cont-en.luc LuaTools | using lua initialization file: cont-en.luc /usr/bin/luatools:2329: bad argument #1 to '(for generator)' (directory metatable expected, got nil)
What should I do to get beyond that error message?
I'm using Debian on an AMD64, context package is version 2009.11.26-2
way too old .. luatex as well as context moved on (and luatools in no longer used)
FWIW, I get the same error message on my TL2010 installation. $luatex --version This is LuaTeX, Version beta-0.67.0-2011042320 (rev 4192) $context --version MTXrun | main context file: /usr/share/texmf-dist/tex/context/base/context.tex MTXrun | current version: 2010.05.24 13:05 $context --make MTXrun | running command: luatools --make --compile cont-en .... LuaTools | using compiled initialization file: cont-en.luc LuaTools | using lua initialization file: cont-en.luc /usr/bin/luatools:2734: bad argument #1 to '(for generator)' (directory metatable expected, got nil) ... I am pretty sure that ConTeXt in TL2010 was working at some stage and failed after I updated. I normally just use the minimals, so I never bothered to dig into this. Aditya
On 14-6-2011 8:57, Aditya Mahajan wrote:
On Tue, 14 Jun 2011, Hans Hagen wrote:
On 14-6-2011 6:48, Stappers wrote:
Hello,
While doing
context foo
I do get
LuaTools | merging library /usr/share/texmf/tex/context/base/data-ctx.lua LuaTools | merging library /usr/share/texmf/tex/context/base/luat-fio.lua LuaTools | merging library /usr/share/texmf/tex/context/base/luat-cnf.lua LuaTools | saving merge from cont-en.lua LuaTools | using compiled initialization file: cont-en.luc LuaTools | using lua initialization file: cont-en.luc /usr/bin/luatools:2329: bad argument #1 to '(for generator)' (directory metatable expected, got nil)
What should I do to get beyond that error message?
I'm using Debian on an AMD64, context package is version 2009.11.26-2
way too old .. luatex as well as context moved on (and luatools in no longer used)
FWIW, I get the same error message on my TL2010 installation.
$luatex --version This is LuaTeX, Version beta-0.67.0-2011042320 (rev 4192)
$context --version MTXrun | main context file: /usr/share/texmf-dist/tex/context/base/context.tex MTXrun | current version: 2010.05.24 13:05
$context --make MTXrun | running command: luatools --make --compile cont-en ..... LuaTools | using compiled initialization file: cont-en.luc LuaTools | using lua initialization file: cont-en.luc /usr/bin/luatools:2734: bad argument #1 to '(for generator)' (directory metatable expected, got nil) ....
I am pretty sure that ConTeXt in TL2010 was working at some stage and failed after I updated. I normally just use the minimals, so I never bothered to dig into this.
There has been a change in the lua lfs functions dealing with dir scanning and although the context lua code has been adapted to this, it might not be the case in all distributions. So, it's an unlucky combination of older / newer code. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Aditya Mahajan
-
Hans Hagen
-
Stappers