ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* mtxrun:1741: attempt to index a nil value
@ 2008-08-08 11:15 Henning Hraban Ramm
  2008-08-08 21:38 ` Hans Hagen
  2008-08-12  5:57 ` David Rogers
  0 siblings, 2 replies; 7+ messages in thread
From: Henning Hraban Ramm @ 2008-08-08 11:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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?


Greetlings, Hraban
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: mtxrun:1741: attempt to index a nil value
  2008-08-08 11:15 mtxrun:1741: attempt to index a nil value Henning Hraban Ramm
@ 2008-08-08 21:38 ` Hans Hagen
  2008-08-08 23:09   ` Henning Hraban Ramm
  2008-08-12  5:57 ` David Rogers
  1 sibling, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2008-08-08 21:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Henning Hraban Ramm wrote:

> 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.

what mtxrun do you run ... you need to copy the file mtxrun.lua in the 
scripth path to mtxrun in the bin path

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: mtxrun:1741: attempt to index a nil value
  2008-08-08 21:38 ` Hans Hagen
@ 2008-08-08 23:09   ` Henning Hraban Ramm
  2008-08-09  7:27     ` Mojca Miklavec
  0 siblings, 1 reply; 7+ messages in thread
From: Henning Hraban Ramm @ 2008-08-08 23:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 2008-08-08 um 23:38 schrieb Hans Hagen:

> Henning Hraban Ramm wrote:
>> 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.
>
> what mtxrun do you run ... you need to copy the file mtxrun.lua in the
> scripth path to mtxrun in the bin path

I copied the complete shell session to the previous mail:
I.e. I get first-setup via rsync from the garden and run it;
it fetches the bin dir and runs mtxrun from there, and that already  
fails.

This error occurrs at work on a Mac G5 (PPC) running OSX 10.4; ConTeXt  
is installed in /usr/local/ConTeXt.
At home, on a Mac mini (Intel) running OSX 10.5, it works; here  
ConTeXt is installed in ~/Library/texmf.
Both installations use the "garden way".

On monday I'll check whether there's another mtxrun.lua somewhere on  
the system - but the path configuration is correct.


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: mtxrun:1741: attempt to index a nil value
  2008-08-08 23:09   ` Henning Hraban Ramm
@ 2008-08-09  7:27     ` Mojca Miklavec
  2008-08-12 12:23       ` Henning Hraban Ramm
  0 siblings, 1 reply; 7+ messages in thread
From: Mojca Miklavec @ 2008-08-09  7:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sat, Aug 9, 2008 at 1:09 AM, Henning Hraban Ramm <hraban@fiee.net> wrote:
> Am 2008-08-08 um 23:38 schrieb Hans Hagen:
>
>> Henning Hraban Ramm wrote:
>>> 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.
>>
>> what mtxrun do you run ... you need to copy the file mtxrun.lua in the
>> scripth path to mtxrun in the bin path
>
> I copied the complete shell session to the previous mail:
> I.e. I get first-setup via rsync from the garden and run it;
> it fetches the bin dir and runs mtxrun from there, and that already
> fails.
>
> This error occurrs at work on a Mac G5 (PPC) running OSX 10.4; ConTeXt
> is installed in /usr/local/ConTeXt.
> At home, on a Mac mini (Intel) running OSX 10.5, it works; here
> ConTeXt is installed in ~/Library/texmf.
> Both installations use the "garden way".

Thanks for the other hint about PPC. Can you please retry the installation?

I had problems cross-compiling luatex, so it remained at an old
version for quite some time. After the issue had been fixed, I still
had a tiny bug in my scripts which prevented the new binaries to be
uploaded.

If others (FreeBSD) have problems - many people have problems with
commiting files to the SVN repository. It seems to be some SVN version
incompatibility issue, but I do not dare touching svn on the server.

Mojca
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: mtxrun:1741: attempt to index a nil value
  2008-08-08 11:15 mtxrun:1741: attempt to index a nil value Henning Hraban Ramm
  2008-08-08 21:38 ` Hans Hagen
@ 2008-08-12  5:57 ` David Rogers
  2008-08-12  6:31   ` Yue Wang
  1 sibling, 1 reply; 7+ messages in thread
From: David Rogers @ 2008-08-12  5:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: mtxrun:1741: attempt to index a nil value
  2008-08-12  5:57 ` David Rogers
@ 2008-08-12  6:31   ` Yue Wang
  0 siblings, 0 replies; 7+ messages in thread
From: Yue Wang @ 2008-08-12  6:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi

> sudo ./first-setup.sh

I always update the context minimals in this way, so I have never
heard about this problem:(

Yue Wang
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: mtxrun:1741: attempt to index a nil value
  2008-08-09  7:27     ` Mojca Miklavec
@ 2008-08-12 12:23       ` Henning Hraban Ramm
  0 siblings, 0 replies; 7+ messages in thread
From: Henning Hraban Ramm @ 2008-08-12 12:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users

2008/8/9 Mojca Miklavec <mojca.miklavec.lists@gmail.com>:
>> This error occurrs on a Mac G5 (PPC) running OSX 10.4; ConTeXt
>> is installed in /usr/local/ConTeXt.

> Thanks for the other hint about PPC. Can you please retry the installation?

All is well again, thank you!


Greetlings, Hraban
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-08-12 12:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-08 11:15 mtxrun:1741: attempt to index a nil value 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
2008-08-12  6:31   ` Yue Wang

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).