From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/69167 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context 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) Message-ID: References: <20110614164802.GB32095@gpm.stappers.nl> <4DF79F84.6030500@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1308077909 1094 80.91.229.12 (14 Jun 2011 18:58:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 14 Jun 2011 18:58:29 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jun 14 20:58:25 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QWYog-0002Y9-6f for gctc-ntg-context-518@m.gmane.org; Tue, 14 Jun 2011 20:58:22 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8985CCADB7; Tue, 14 Jun 2011 20:58:21 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id FrTFC-Uexnfr; Tue, 14 Jun 2011 20:58:21 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4ABABCADA7; Tue, 14 Jun 2011 20:58:18 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A76DBCADA7 for ; Tue, 14 Jun 2011 20:58:16 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id lkfGJjgoNNQn for ; Tue, 14 Jun 2011 20:58:05 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 33539CADA3 for ; Tue, 14 Jun 2011 20:58:05 +0200 (CEST) Original-Received: from hackers.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.81]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p5EIw2Zw010273 for ; Tue, 14 Jun 2011 20:58:04 +0200 Original-Received: FROM adi-netbook (bas3-montreal02-1096681357.dsl.bell.ca [65.94.7.141]) By hackers.mr.itd.umich.edu ID 4DF7AF38.BF6E6.23763 ; Authuser adityam; 14 Jun 2011 14:58:00 EDT In-Reply-To: <4DF79F84.6030500@wxs.nl> User-Agent: Alpine 2.02 (LNX 1266 2009-07-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.211.14.81; country=US; region=MI; city=Ann Arbor; postalcode=48109; latitude=42.2923; longitude=-83.7145; metrocode=505; areacode=734; http://maps.google.com/maps?q=42.2923,-83.7145&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0xETSW2GF - 2bd64fe49b50 - 20110614 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:69167 Archived-At: 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 ___________________________________________________________________________________