From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/43101 Path: news.gmane.org!not-for-mail From: "David Rogers" Newsgroups: gmane.comp.tex.context Subject: Re: mtxrun:1741: attempt to index a nil value Date: Mon, 11 Aug 2008 22:57:51 -0700 Message-ID: <495f0f2e0808112257k109676f2rfaf7977f0a51cfa2@mail.gmail.com> References: <954f61110808080415u476a99f5xce50f58e8590325c@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1218520791 17940 80.91.229.12 (12 Aug 2008 05:59:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Aug 2008 05:59:51 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Tue Aug 12 08:00:42 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1KSmvy-0006Bt-03 for gctc-ntg-context-518@m.gmane.org; Tue, 12 Aug 2008 08:00:42 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 150771FBD5; Tue, 12 Aug 2008 07:59:41 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08641-03-3; Tue, 12 Aug 2008 07:58:40 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8F0F81FB71; Tue, 12 Aug 2008 07:58:39 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2DB1B1FB71 for ; Tue, 12 Aug 2008 07:58:34 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 09727-02-2 for ; Tue, 12 Aug 2008 07:57:54 +0200 (CEST) Original-Received: from rv-out-0708.google.com (rv-out-0708.google.com [209.85.198.244]) by ronja.ntg.nl (Postfix) with ESMTP id 9FF021FB6D for ; Tue, 12 Aug 2008 07:57:53 +0200 (CEST) Original-Received: by rv-out-0708.google.com with SMTP id f25so2709848rvb.14 for ; Mon, 11 Aug 2008 22:57:52 -0700 (PDT) Original-Received: by 10.140.178.17 with SMTP id a17mr4086480rvf.156.1218520671828; Mon, 11 Aug 2008 22:57:51 -0700 (PDT) Original-Received: by 10.141.42.1 with HTTP; Mon, 11 Aug 2008 22:57:51 -0700 (PDT) In-Reply-To: <954f61110808080415u476a99f5xce50f58e8590325c@mail.gmail.com> Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:43101 Archived-At: On Fri, Aug 8, 2008 at 4:15 AM, Henning Hraban Ramm wrote: > For I had some problems with my installation I tried to start from > scratch. But I'm stuck with an error in mtxrun: > > Welcome to Darwin! > user$ cd /usr/local/ConTeXt/ > /usr/local/ConTeXt user$ rsync -ptv > rsync://contextgarden.net/minimals/setup/first-setup.sh . > first-setup.sh > > sent 115 bytes received 1757 bytes 1248.00 bytes/sec > total size is 1638 speedup is 0.88 > /usr/local/ConTeXt user$ ./first-setup.sh receiving file list ... done > bin/ > bin/mtx-update-old.lua > bin/mtx-update.lua > bin/mtxrun > bin/texlua > > sent 186 bytes received 6127742 bytes 331239.35 bytes/sec > total size is 6126659 speedup is 1.00 > MtxRun | version 1.1.0 - 2007+ - PRAGMA ADE / CONTEXT > > MtxRun | variable SELFAUTOLOC set to /usr/local/ConTeXt/bin > MtxRun | variable SELFAUTODIR set to /usr/local/ConTeXt > MtxRun | variable SELFAUTOPARENT set to /usr/local > MtxRun | variable TEXMFCNF set to > {$SELFAUTODIR,$SELFAUTOPARENT}{,{/share,}/texmf{-local,.local,}/web2c} > MtxRun | no cnf files found (TEXMFCNF may not be set/known) > MtxRun | using script: bin/mtx-update.lua > > state | loaded > update | start > /usr/local/ConTeXt/bin/mtxrun:1741: attempt to index a nil value > > > And that's it. > > Line 1741 of mtxrun contains a popen command to execute a system > command; but even if I change that (e.g. printing the accessed > variable before), the error stays at that line, so the message is > probably wrong. > > Please help? I had the same problem. I then gave the command as: sudo ./first-setup.sh That succeeded, and the resulting ConTeXt installation seems to run correctly - but I'm not smart enough to know why this worked or why it should be necessary. David ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________