ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "David Rogers" <davidandrewrogers@gmail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: mtxrun:1741: attempt to index a nil value
Date: Mon, 11 Aug 2008 22:57:51 -0700	[thread overview]
Message-ID: <495f0f2e0808112257k109676f2rfaf7977f0a51cfa2@mail.gmail.com> (raw)
In-Reply-To: <954f61110808080415u476a99f5xce50f58e8590325c@mail.gmail.com>

On Fri, Aug 8, 2008 at 4:15 AM, Henning Hraban Ramm <hraban@fiee.net> 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
___________________________________________________________________________________


  parent reply	other threads:[~2008-08-12  5:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-08 11:15 Henning Hraban Ramm
2008-08-08 21:38 ` Hans Hagen
2008-08-08 23:09   ` Henning Hraban Ramm
2008-08-09  7:27     ` Mojca Miklavec
2008-08-12 12:23       ` Henning Hraban Ramm
2008-08-12  5:57 ` David Rogers [this message]
2008-08-12  6:31   ` Yue Wang

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=495f0f2e0808112257k109676f2rfaf7977f0a51cfa2@mail.gmail.com \
    --to=davidandrewrogers@gmail.com \
    --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).