ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: /usr/bin/luatools:2329: bad argument #1 to '(for generator)' (directory metatable expected, got nil)
Date: Tue, 14 Jun 2011 14:57:59 -0400 (EDT)	[thread overview]
Message-ID: <alpine.LNX.2.02.1106141454140.20451@ybpnyubfg.ybpnyqbznva> (raw)
In-Reply-To: <4DF79F84.6030500@wxs.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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2011-06-14 18:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-14 16:48 Stappers
2011-06-14 17:51 ` Hans Hagen
2011-06-14 18:57   ` Aditya Mahajan [this message]
2011-06-15  7:36     ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LNX.2.02.1106141454140.20451@ybpnyubfg.ybpnyqbznva \
    --to=adityam@umich.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).