ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* LuaTex error "attempt to index global 'lang' (a nil value)"
@ 2008-04-05 15:34 Roland
  2008-04-06  8:45 ` Taco Hoekwater
       [not found] ` <6faad9f00804081453o1843a680v1b25cb4453d0564d@mail.gmail.com>
  0 siblings, 2 replies; 12+ messages in thread
From: Roland @ 2008-04-05 15:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

I've been following Thomas Schmitz's great instructions at
http://www.ntg.nl/pipermail/ntg-context/2007/027418.html to set up
Luatex. All works fine and without errors but the last step:

   $ luatools --ini --verbose --compile cont-en
   LuaTools | version 1.1.1 - 2006+ - PRAGMA ADE / CONTEXT

   LuaTools | skipping configuration for /texmf-local/web2c from
/tmp/luatex-cache/context/fcf214085bb2c4fcd9a0f9a9f0d0aecf/trees/d80510d450a3fa2a64df4d3741825f1d
   LuaTools | skipping configuration for /texmf/web2c from
/tmp/luatex-cache/context/fcf214085bb2c4fcd9a0f9a9f0d0aecf/trees/3113242409ded67a0ad7bd508bd26609
   LuaTools | locating list of /Users/rs/.texlive2007/texmf-config
   LuaTools | locating list of /Users/rs/.texlive2007/texmf-var
   LuaTools | locating list of /Users/rs/Library/texmf
   LuaTools | locating list of /usr/local/texlive/2007/texmf-config
   LuaTools | locating list of /usr/local/texlive/2007/texmf-var
   LuaTools | locating list of /usr/local/texlive/2007/texmf
   LuaTools | locating list of /usr/local/texlive/texmf-local
   LuaTools | locating list of /usr/local/texlive/2007/texmf-dist
   LuaTools | loading files for /Users/rs/.texlive2007/texmf-var from
/tmp/luatex-cache/context/fcf214085bb2c4fcd9a0f9a9f0d0aecf/trees/f1bc347f62f0cb65067c428b92016cc8

   [snip]

   loading : Context Attribute Macros / initialization
   systems : defining attribute mark with number 1
   systems : defining attribute state with number 2
   systems : defining attribute trigger with number 3
   systems : defining attribute skip with number 4
   systems : defining attribute penalty with number 5
   systems : defining attribute colormodel with number 6
   systems : defining attribute color with number 7
   systems : defining attribute transparency with number 8
   systems : defining attribute overprint with number 9
   systems : defining attribute negative with number 10
   systems : defining attribute effect with number 11
   ) (/usr/local/texlive/texmf-local/tex/context/base/node-ini.tex
   loading : Node Support (initialization)
   ! LuaTeX error
...al/texlive/texmf-local/tex/context/base/node-ini.lua:506: attempt
to index global 'lang' (a nil value).
   \ctxluabytecode ...ode " .. "#1" .. str) end end }

   \registerctxluafile ...{\the \luabytecodecounter }
                                                     \fi
   l.16 \registerctxluafile{node-ini}{1.001}

   ?

Anybody have an idea what is wrong? I'm on Leopard 10.5.2.

Thanks
Roland
___________________________________________________________________________________
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] 12+ messages in thread

* Re: LuaTex error "attempt to index global 'lang' (a nil value)"
  2008-04-05 15:34 LuaTex error "attempt to index global 'lang' (a nil value)" Roland
@ 2008-04-06  8:45 ` Taco Hoekwater
  2008-04-06 18:09   ` Roland
       [not found] ` <6faad9f00804081453o1843a680v1b25cb4453d0564d@mail.gmail.com>
  1 sibling, 1 reply; 12+ messages in thread
From: Taco Hoekwater @ 2008-04-06  8:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Roland wrote:
> Hi,
> 
> I've been following Thomas Schmitz's great instructions at
> http://www.ntg.nl/pipermail/ntg-context/2007/027418.html to set up
> Luatex. All works fine and without errors but the last step:


Hans and me are to blame, for not keeping the binaries on
www.luatex.org synced. Afaics, everytyhing else in Thomas'
instructions is ok, so if you fetch the binary from

http://minimals.contextgarden.net/current/bin/luatex/

you should be ready to run in 'no time'.

We will change the binary links on www.luatex.org to the new minimal
distributions on contextgarden, I think.

Best wishes,
Taco
___________________________________________________________________________________
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] 12+ messages in thread

* Re: LuaTex error "attempt to index global 'lang' (a nil value)"
  2008-04-06  8:45 ` Taco Hoekwater
@ 2008-04-06 18:09   ` Roland
  2008-04-07  8:11     ` Taco Hoekwater
  0 siblings, 1 reply; 12+ messages in thread
From: Roland @ 2008-04-06 18:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Taco, thanks for the quick reply. Something seems to work better
now (no more errors about missing texmf directories) but I still get
an error message after installing the new binary you pointed me to:

	(/usr/local/texlive/texmf-local/tex/context/base/sort-lan.tex
	loading : Context Sorting Macros (languages)
	(/usr/local/texlive/texmf-local/tex/context/base/sort-lan.mkiv))error:
...al/texlive/texmf-local/tex/context/base/node-ini.lua:345: attempt
to index field 'otf' (a nil value)
	.
	l.3174

Any idea?
Thanks
Roland

On 06/04/2008, Taco Hoekwater <taco@elvenkind.com> wrote:
> Roland wrote:
>  > Hi,
>  >
>  > I've been following Thomas Schmitz's great instructions at
>  > http://www.ntg.nl/pipermail/ntg-context/2007/027418.html to set up
>  > Luatex. All works fine and without errors but the last step:
>
>
>
> Hans and me are to blame, for not keeping the binaries on
>  www.luatex.org synced. Afaics, everytyhing else in Thomas'
>  instructions is ok, so if you fetch the binary from
>
>  http://minimals.contextgarden.net/current/bin/luatex/
>
>  you should be ready to run in 'no time'.
>
>  We will change the binary links on www.luatex.org to the new minimal
>  distributions on contextgarden, I think.
>
>  Best wishes,
>  Taco
>  ___________________________________________________________________________________
>  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
>  ___________________________________________________________________________________
>
___________________________________________________________________________________
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] 12+ messages in thread

* Re: LuaTex error "attempt to index global 'lang' (a nil value)"
  2008-04-06 18:09   ` Roland
@ 2008-04-07  8:11     ` Taco Hoekwater
  2008-04-08 21:37       ` Roland
  0 siblings, 1 reply; 12+ messages in thread
From: Taco Hoekwater @ 2008-04-07  8:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users



Roland wrote:
> Hi Taco, thanks for the quick reply. Something seems to work better
> now (no more errors about missing texmf directories) but I still get
> an error message after installing the new binary you pointed me to:
> 
> 	(/usr/local/texlive/texmf-local/tex/context/base/sort-lan.tex
> 	loading : Context Sorting Macros (languages)
> 	(/usr/local/texlive/texmf-local/tex/context/base/sort-lan.mkiv))error:
> ...al/texlive/texmf-local/tex/context/base/node-ini.lua:345: attempt
> to index field 'otf' (a nil value)
> 	.
> 	l.3174
> 
> Any idea?

No, this is about as confusing to me as it is to you. Can you post
a full log  please? I would like to know where the line 3174
comes from.

Best wishes,
Taco
___________________________________________________________________________________
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] 12+ messages in thread

* Re: LuaTex error "attempt to index global 'lang' (a nil value)"
  2008-04-07  8:11     ` Taco Hoekwater
@ 2008-04-08 21:37       ` Roland
  2008-04-08 22:04         ` Hans Hagen
  2008-04-09  8:01         ` Taco Hoekwater
  0 siblings, 2 replies; 12+ messages in thread
From: Roland @ 2008-04-08 21:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users

yes, here goes:

$ luatools --ini --verbose --compile cont-en

LuaTools | version 1.1.1 - 2006+ - PRAGMA ADE / CONTEXT

LuaTools | skipping configuration for /texmf-local/web2c from
/tmp/luatex-cache/context/fcf214085bb2c4fcd9a0f9a9f0d0aecf/trees/d80510d450a3fa2a64df4d3741825f1d
LuaTools | skipping configuration for /texmf/web2c from
/tmp/luatex-cache/context/fcf214085bb2c4fcd9a0f9a9f0d0aecf/trees/3113242409ded67a0ad7bd508bd26609
LuaTools | locating list of /Users/rs/.texlive2007/texmf-config
LuaTools | locating list of /Users/rs/.texlive2007/texmf-var
LuaTools | locating list of /Users/rs/Library/texmf
LuaTools | locating list of /usr/local/texlive/2007/texmf-config
LuaTools | locating list of /usr/local/texlive/2007/texmf-var
LuaTools | locating list of /usr/local/texlive/2007/texmf
LuaTools | locating list of /usr/local/texlive/texmf-local
LuaTools | locating list of /usr/local/texlive/2007/texmf-dist
LuaTools | loading files for /Users/rs/.texlive2007/texmf-var from
/tmp/luatex-cache/context/fcf214085bb2c4fcd9a0f9a9f0d0aecf/trees/f1bc347f62f0cb65067c428b92016cc8
LuaTools | loading files for /Users/rs/Library/texmf from
/tmp/luatex-cache/context/fcf214085bb2c4fcd9a0f9a9f0d0aecf/trees/060f50e7db2104cfd20ae5a16b964fee
LuaTools | loading files for /usr/local/texlive/2007/texmf-config from
/tmp/luatex-cache/context/fcf214085bb2c4fcd9a0f9a9f0d0aecf/trees/729867c88f88a392262749cb9c3d602b
LuaTools | loading files for /usr/local/texlive/2007/texmf-var from
/tmp/luatex-cache/context/fcf214085bb2c4fcd9a0f9a9f0d0aecf/trees/8e784414cbc94d079ab302f28581fb78
LuaTools | loading files for /usr/local/texlive/2007/texmf from
/tmp/luatex-cache/context/fcf214085bb2c4fcd9a0f9a9f0d0aecf/trees/2adb941cffe60c990191225deee5cf98
LuaTools | loading files for /usr/local/texlive/texmf-local from
/tmp/luatex-cache/context/fcf214085bb2c4fcd9a0f9a9f0d0aecf/trees/1f08e3a96247a4bd25d903ca1cb00c0e
LuaTools | loading files for /usr/local/texlive/2007/texmf-dist from
/tmp/luatex-cache/context/fcf214085bb2c4fcd9a0f9a9f0d0aecf/trees/caabba858325c30f4015e448eae0e0e7
LuaTools | creating initialization file cont-en
LuaTools | using library path : /usr/local/texlive/texmf-local/tex/context/base
LuaTools | using lua libraries: l-string.lua l-lpeg.lua l-table.lua
l-boolean.lua l-number.lua l-set.lua l-unicode.lua l-md5.lua l-os.lua
l-io.lua l-file.lua l-url.lua l-dir.lua l-utils.lua l-tex.lua
luat-env.lua luat-lib.lua luat-inp.lua luat-tmp.lua luat-zip.lua
luat-tex.lua
LuaTools | using compiled initialization file cont-en.luc
LuaTools | using lua initialization file cont-en.luc
LuaTools | running command: luatex --ini --lua="cont-en.luc"
"/usr/local/texlive/texmf-local/tex/context/base/cont-en.tex" \\dump
(/usr/local/texlive/texmf-local/tex/context/base/cont-en.tex
(/usr/local/texlive/texmf-local/tex/context/base/context.tex
(/usr/local/texlive/texmf-local/tex/context/base/syst-pln.tex)
(/usr/local/texlive/texmf-local/tex/context/base/syst-prm.tex)
(/usr/local/texlive/texmf-local/tex/context/base/luat-env.tex)
(/usr/local/texlive/texmf-local/tex/context/base/luat-lib.tex)
(/usr/local/texlive/texmf-local/tex/context/base/syst-cat.tex
(/usr/local/texlive/texmf-local/tex/context/base/syst-cat.mkiv))
(/usr/local/texlive/texmf-local/tex/context/base/syst-etx.tex)
(/usr/local/texlive/texmf-local/tex/context/base/syst-pdt.tex)
(/usr/local/texlive/texmf-local/tex/context/base/syst-omg.tex)
(/usr/local/texlive/texmf-local/tex/context/base/syst-xtx.tex)
(/usr/local/texlive/texmf-local/tex/context/base/syst-mtx.tex)
(/usr/local/texlive/texmf-local/tex/context/base/syst-gen.tex
loading : Context System Macros / General
) (/usr/local/texlive/texmf-local/tex/context/base/syst-ext.tex
loading : Context System Macro's / Extras
) (/usr/local/texlive/texmf-local/tex/context/base/syst-chr.tex)
(/usr/local/texlive/texmf-local/tex/context/base/syst-fnt.tex)
(/usr/local/texlive/texmf-local/tex/context/base/syst-new.tex)
(/usr/local/texlive/texmf-local/tex/context/base/syst-con.tex
loading : Context System Macro's / Conversions
(/usr/local/texlive/texmf-local/tex/context/base/syst-con.mkiv))
(/usr/local/texlive/texmf-local/tex/context/base/syst-var.tex
loading : Context System Macro's / Variables
) (/usr/local/texlive/texmf-local/tex/context/base/syst-str.tex
loading : Context System Macro's / Strings
(/usr/local/texlive/texmf-local/tex/context/base/syst-str.mkiv))
(/usr/local/texlive/texmf-local/tex/context/base/syst-rtp.tex
loading : Context Core Macros / Run Time Processes
(/usr/local/texlive/texmf-local/tex/context/base/syst-rtp.mkiv))
(/usr/local/texlive/texmf-local/tex/context/base/supp-ini.tex
loading : Context Support Macros / Initializations
) (/usr/local/texlive/texmf-local/tex/context/base/supp-fil.tex
loading : Context Support Macros / Files
(/usr/local/texlive/texmf-local/tex/context/base/supp-fil.mkiv))
(/usr/local/texlive/texmf-local/tex/context/base/supp-dir.tex)
(/usr/local/texlive/texmf-local/tex/context/base/mult-ini.tex
loading : Context Multilingual Macros / Initialization
(/usr/local/texlive/texmf-local/tex/context/base/mult-ini.mkiv))
(/usr/local/texlive/texmf-local/tex/context/base/mult-fst.tex)
(/usr/local/texlive/texmf-local/tex/context/base/mult-sys.tex
loading : Context Multilingual Macros / System
interface : defining english interface

interface : using english messages

) (/usr/local/texlive/texmf-local/tex/context/base/mult-con.tex
loading : Context Multilingual Macros / Constants
) (/usr/local/texlive/texmf-local/tex/context/base/mult-com.tex
loading : Context Multilingual Macros / Commands
) (/usr/local/texlive/texmf-local/tex/context/base/luat-ini.tex
loading : Lua Support Macros (initialization)
) (/usr/local/texlive/texmf-local/tex/context/base/luat-lmx.tex
loading : Lua Support Macros (lmx)
) (/usr/local/texlive/texmf-local/tex/context/base/luat-uni.tex
loading : Lua Support Macros (unicode)
) (/usr/local/texlive/texmf-local/tex/context/base/char-ini.tex
loading : Character Support (initialization)
) (/usr/local/texlive/texmf-local/tex/context/base/char-def.tex
loading : Unicode Support (tables)
) (/usr/local/texlive/texmf-local/tex/context/base/char-utf.tex
loading : Unicode Support (utf)
) (/usr/local/texlive/texmf-local/tex/context/base/toks-ini.tex
loading : Token Support (initialization)
) (/usr/local/texlive/texmf-local/tex/context/base/attr-ini.tex
loading : Context Attribute Macros / initialization
systems : defining attribute mark with number 1
systems : defining attribute state with number 2
systems : defining attribute trigger with number 3
systems : defining attribute skip with number 4
systems : defining attribute penalty with number 5
systems : defining attribute colormodel with number 6
systems : defining attribute color with number 7
systems : defining attribute transparency with number 8
systems : defining attribute overprint with number 9
systems : defining attribute negative with number 10
systems : defining attribute effect with number 11
) (/usr/local/texlive/texmf-local/tex/context/base/node-ini.tex
loading : Node Support (initialization)
) (/usr/local/texlive/texmf-local/tex/context/base/thrd-ran.tex)
(/usr/local/texlive/texmf-local/tex/context/base/thrd-trg.tex)
(/usr/local/texlive/texmf-local/tex/context/base/core-var.tex
loading : Context Core Macros / Variables
) (/usr/local/texlive/texmf-local/tex/context/base/luat-deb.tex
loading : Communication Support (initialization)
) (/usr/local/texlive/texmf-local/tex/context/base/supp-box.tex
loading : Context Support Macros / Boxes
system (OMEGA) : [line 3005] dir
) (/usr/local/texlive/texmf-local/tex/context/base/supp-mrk.tex
loading : Context Support Macros / Marks
) (/usr/local/texlive/texmf-local/tex/context/base/supp-vis.tex
loading : Context Support Macros / Visualization
) (/usr/local/texlive/texmf-local/tex/context/base/supp-fun.tex
loading : Context Support Macros / Fun Stuff
) (/usr/local/texlive/texmf-local/tex/context/base/supp-eps.tex
loading : Context Support Macros / EPS
) (/usr/local/texlive/texmf-local/tex/context/base/supp-spe.tex
loading : Context Support Macros / Specials
) (/usr/local/texlive/texmf-local/tex/context/base/supp-ran.tex
loading : Third Party Macros / Random Number Generation
) (/usr/local/texlive/texmf-local/tex/context/base/supp-mps.tex
(/usr/local/texlive/texmf-local/tex/context/base/supp-ini.tex
loading : Context Support Macros / Initializations
)
loading : Context Support Macros / MetaPost Inclusion
) (/usr/local/texlive/texmf-local/tex/context/base/supp-tpi.tex
loading : Context Support Macros / TPIC Conversion
) (/usr/local/texlive/texmf-local/tex/context/base/supp-mat.tex
loading : Context Support Macros / Math
) (/usr/local/texlive/texmf-local/tex/context/base/supp-ali.tex)
(/usr/local/texlive/texmf-local/tex/context/base/supp-num.tex
loading : Context Support Macros / Number (Digit) Handling
) (/usr/local/texlive/texmf-local/tex/context/base/typo-ini.tex
loading : Context Typographic Macros (ini)
) (/usr/local/texlive/texmf-local/tex/context/base/verb-ini.tex
loading : Context Verbatim Macros / Initialization
) (/usr/local/texlive/texmf-local/tex/context/base/core-ins.tex
loading : Context Insertion Macros / General
) (/usr/local/texlive/texmf-local/tex/context/base/core-fil.tex
loading : Context Core Macros / File Support
) (/usr/local/texlive/texmf-local/tex/context/base/core-con.tex
loading : Context Core Macros / Conversion Macros
(/usr/local/texlive/texmf-local/tex/context/base/core-con.mkiv))
(/usr/local/texlive/texmf-local/tex/context/base/cont-fil.tex
loading : Context File Synonyms
) (/usr/local/texlive/texmf-local/tex/context/base/thrd-tab.tex)
(/usr/local/texlive/texmf-local/tex/context/base/supp-pat.tex
loading : Context Language Macros / Loading Generic Patterns
) (/usr/local/texlive/texmf-local/tex/context/base/regi-ini.tex
(/usr/local/texlive/texmf-local/tex/context/base/regi-ini.mkiv))
(/usr/local/texlive/texmf-local/tex/context/base/enco-ini.tex
loading : Context Encoding Macros (ini)
system (LUATEX) : [line 1002]
(/usr/local/texlive/texmf-local/tex/context/base/enco-ini.mkiv
encoding       : coding 032 is loaded
 (/usr/local/texlive/texmf-local/tex/context/base/enco-032.tex)
encoding       : unknown coding 033

encoding       : coding 037 is loaded
 (/usr/local/texlive/texmf-local/tex/context/base/enco-037.tex))
encoding       : coding def is loaded
 (/usr/local/texlive/texmf-local/tex/context/base/enco-def.tex)
encoding       : coding acc is loaded
 (/usr/local/texlive/texmf-local/tex/context/base/enco-acc.tex)
encoding       : coding raw is loaded
 (/usr/local/texlive/texmf-local/tex/context/base/enco-raw.tex)
encoding       : coding com is loaded
 (/usr/local/texlive/texmf-local/tex/context/base/enco-com.tex)
encoding       : coding cas is loaded
 (/usr/local/texlive/texmf-local/tex/context/base/enco-cas.tex)
encoding       : coding mis is loaded
 (/usr/local/texlive/texmf-local/tex/context/base/enco-mis.tex))
(/usr/local/texlive/texmf-local/tex/context/base/filt-ini.tex
loading : Context Filter Macros (ini)
) (/usr/local/texlive/texmf-local/tex/context/base/hand-ini.tex
loading : Context Handling Macros (ini)
(/usr/local/texlive/texmf-local/tex/context/base/hand-ini.mkiv))
(/usr/local/texlive/texmf-local/tex/context/base/regi-syn.tex
loading : Context Regime Macros (synonyms)
) (/usr/local/texlive/texmf-local/tex/context/base/lang-ini.tex
loading : Context Language Macros / Initialization
(/usr/local/texlive/texmf-local/tex/context/base/lang-ini.mkiv))
(/usr/local/texlive/texmf-local/tex/context/base/lang-ctx.tex
loading : Context Language Macros / Generic Patterns
) (/usr/local/texlive/texmf-local/tex/context/base/lang-dis.tex
loading : Context Language Macros / Distribution Patterns
) (/usr/local/texlive/texmf-local/tex/context/base/unic-ini.mkiv
loading : Context UNICODE Macros (ini)
) (/usr/local/texlive/texmf-local/tex/context/base/core-gen.tex
loading : Context Core Macros / General
) (/usr/local/texlive/texmf-local/tex/context/base/core-new.tex
loading : Context Core Macros / New Ones
) (/usr/local/texlive/texmf-local/tex/context/base/core-uti.tex
loading : Context Core Macros / Utility File Handling
(/usr/local/texlive/texmf-local/tex/context/base/core-uti.mkiv))
(/usr/local/texlive/texmf-local/tex/context/base/core-two.tex
loading : Context Core Macros / Two Pass Data
(/usr/local/texlive/texmf-local/tex/context/base/core-two.mkiv))
(/usr/local/texlive/texmf-local/tex/context/base/core-stg.tex)
(/usr/local/texlive/texmf-local/tex/context/base/spec-mis.tex
loading : Context Special Macros / Miscellaneous Macros
) (/usr/local/texlive/texmf-local/tex/context/base/spec-ini.tex
loading : Context Special Macros / Initialization
) (/usr/local/texlive/texmf-local/tex/context/base/spec-def.tex
loading : Context Special Macros / Definitions
specials       : loading definition file dvi
 (/usr/local/texlive/texmf-local/tex/context/base/spec-dvi.tex)
specials       : tex loaded

specials       : loading definition file ps
 (/usr/local/texlive/texmf-local/tex/context/base/spec-ps.tex)
specials       : tex loaded

specials       : loading definition file tr
 (/usr/local/texlive/texmf-local/tex/context/base/spec-tr.tex)
specials       : tex loaded
 (/usr/local/texlive/texmf-local/tex/context/base/spec-def.mkiv))
(/usr/local/texlive/texmf-local/tex/context/base/spec-var.tex
loading : Context Special Macros / Variables
) (/usr/local/texlive/texmf-local/tex/context/base/colo-new.tex
loading : Context Color Macros / initialization
(/usr/local/texlive/texmf-local/tex/context/base/colo-new.mkiv)
color          : rgb color space is supported

color          : cmyk color space is supported

color          : mpcmyk color space is supported

color          : mpspot color space is supported

color          : system rgb is loaded
 (/usr/local/texlive/texmf-local/tex/context/base/colo-rgb.tex))
(/usr/local/texlive/texmf-local/tex/context/base/colo-ext.tex
loading : Context Color Macros / extras
) (/usr/local/texlive/texmf-local/tex/context/base/lang-mis.tex
loading : Context Language Macros / Compounds
) (/usr/local/texlive/texmf-local/tex/context/base/lang-url.tex
loading : Context Language Macros / URL
(/usr/local/texlive/texmf-local/tex/context/base/lang-url.mkiv))
(/usr/local/texlive/texmf-local/tex/context/base/lang-spe.tex
loading : Context Language Macros / Specifics
) (/usr/local/texlive/texmf-local/tex/context/base/lang-lab.tex
loading : Language Head and Label Texts
) (/usr/local/texlive/texmf-local/tex/context/base/lang-ger.tex
loading : Germanic Languages
) (/usr/local/texlive/texmf-local/tex/context/base/lang-ita.tex
loading : Italic Languages
) (/usr/local/texlive/texmf-local/tex/context/base/lang-sla.tex
loading : Slavic Languages
(/usr/local/texlive/texmf-local/tex/context/base/lang-sla.mkiv))
(/usr/local/texlive/texmf-local/tex/context/base/lang-alt.tex
loading : Altaic Languages
) (/usr/local/texlive/texmf-local/tex/context/base/lang-ana.tex
loading : Anatolian Languages
) (/usr/local/texlive/texmf-local/tex/context/base/lang-art.tex
loading : Artificial Languages
) (/usr/local/texlive/texmf-local/tex/context/base/lang-bal.tex
loading : Baltic Languages
) (/usr/local/texlive/texmf-local/tex/context/base/lang-cel.tex
loading : Celtic Languages
) (/usr/local/texlive/texmf-local/tex/context/base/lang-grk.tex
loading : Greek Language
) (/usr/local/texlive/texmf-local/tex/context/base/lang-ind.tex
loading : Indo-Iranian Languages
) (/usr/local/texlive/texmf-local/tex/context/base/lang-ura.tex
loading : Uralic Languages
) (/usr/local/texlive/texmf-local/tex/context/base/lang-vn.tex
loading : Vietnamese Language
) (/usr/local/texlive/texmf-local/tex/context/base/symb-ini.tex
loading : Context Symbol Libraries / Initialization
) (/usr/local/texlive/texmf-local/tex/context/base/sort-ini.tex
loading : Context Sorting Macros (ini)
(/usr/local/texlive/texmf-local/tex/context/base/sort-ini.mkiv
(/usr/local/texlive/texmf-local/tex/context/base/sort-def.tex
(/usr/local/texlive/texmf-local/tex/context/base/sort-def.mkiv))
(/usr/local/texlive/texmf-local/tex/context/base/sort-lan.tex
loading : Context Sorting Macros (languages)
(/usr/local/texlive/texmf-local/tex/context/base/sort-lan.mkiv))))
(/usr/local/texlive/texmf-local/tex/context/base/core-spa.tex
loading : Context Spacing Macros
(/usr/local/texlive/texmf-local/tex/context/base/core-spa.mkiv
loading : Context Core Macros / Buffers
systems : defining attribute kern-chars with number 12
systems : defining attribute skip-category with number 13
systems : defining attribute skip-penalty with number 14
systems : defining attribute skip-order with number 15
systems : defining attribute snap-category with number 16
systems : defining attribute display-math with number 17
systems : defining attribute spacing with number 18
systems : defining attribute kern with number 19
systems : defining attribute case with number 20
systems : defining attribute breakpoint with number 21
)) (/usr/local/texlive/texmf-local/tex/context/base/core-grd.tex
loading : Context Core Macros / Grid Snapping
) (/usr/local/texlive/texmf-local/tex/context/base/core-mar.tex
loading : Context Core Macros / Markings
) (/usr/local/texlive/texmf-local/tex/context/base/core-pos.tex
loading : Context Positioning Support
(/usr/local/texlive/texmf-local/tex/context/base/core-pos.mkiv))
(/usr/local/texlive/texmf-local/tex/context/base/core-mak.tex
loading : Context Core Macros / General Makeup Commands
) (/usr/local/texlive/texmf-local/tex/context/base/core-dat.tex
loading : Context Database Support
) (/usr/local/texlive/texmf-local/tex/context/base/core-ver.tex
loading : Context Core Macros / Verbatim
(/usr/local/texlive/texmf-local/tex/context/base/core-ver.mkiv))
(/usr/local/texlive/texmf-local/tex/context/base/core-rul.tex
loading : Context Core Macros / Ruled Content Handling
) (/usr/local/texlive/texmf-local/tex/context/base/core-vis.tex
loading : Context Support Macros / Visualization
) (/usr/local/texlive/texmf-local/tex/context/base/core-num.tex
loading : Context Core Macros / Numbering
) (/usr/local/texlive/texmf-local/tex/context/base/core-tsp.tex
loading : Context OTR Macros / Floating Bodies
) (/usr/local/texlive/texmf-local/tex/context/base/core-tab.tex
loading : Context Core Macros / TaBlE Embedding
) (/usr/local/texlive/texmf-local/tex/context/base/core-nav.tex
loading : Context Core Macros / Navigation
) (/usr/local/texlive/texmf-local/tex/context/base/core-ref.tex
loading : Context Core Macros / Cross Referencing
(/usr/local/texlive/texmf-local/tex/context/base/sort-lan.tex
loading : Context Sorting Macros (languages)
(/usr/local/texlive/texmf-local/tex/context/base/sort-lan.mkiv))error:
...al/texlive/texmf-local/tex/context/base/node-ini.lua:345: attempt
to index field 'otf' (a nil value)
.
l.3174

?
___________________________________________________________________________________
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] 12+ messages in thread

* Re: LuaTex error "attempt to index global 'lang' (a nil value)"
  2008-04-08 21:37       ` Roland
@ 2008-04-08 22:04         ` Hans Hagen
  2008-04-09  8:01         ` Taco Hoekwater
  1 sibling, 0 replies; 12+ messages in thread
From: Hans Hagen @ 2008-04-08 22:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Roland wrote:

> yes, here goes:
> (/usr/local/texlive/texmf-local/tex/context/base/sort-lan.mkiv))error:
> ....al/texlive/texmf-local/tex/context/base/node-ini.lua:345: attempt
> to index field 'otf' (a nil value)
> ..
> l.3174

it looks like tex is typesetting something (otherwise there is no reason 
for calling the function)

you can try to press enter and keep going till there is a log file; 
often that one then shows missing characters that give an indication of 
where some spurious text was encountered (maybe some wrong download or so)

Hans

-----------------------------------------------------------------
                                           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] 12+ messages in thread

* Re: LuaTex error "attempt to index global 'lang' (a nil value)"
  2008-04-08 21:37       ` Roland
  2008-04-08 22:04         ` Hans Hagen
@ 2008-04-09  8:01         ` Taco Hoekwater
  1 sibling, 0 replies; 12+ messages in thread
From: Taco Hoekwater @ 2008-04-09  8:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users



Roland wrote:
> ) (/usr/local/texlive/texmf-local/tex/context/base/core-ref.tex
> loading : Context Core Macros / Cross Referencing
> (/usr/local/texlive/texmf-local/tex/context/base/sort-lan.tex
> loading : Context Sorting Macros (languages)
> (/usr/local/texlive/texmf-local/tex/context/base/sort-lan.mkiv))error:
> ...al/texlive/texmf-local/tex/context/base/node-ini.lua:345: attempt
> to index field 'otf' (a nil value)
> .
> l.3174

That is in core-ref.tex. In my version of core-ref, line 3174 is
the empty line following \presetlocalframed[\??bt]:

----------
\def\complexbutton
   {\docomplexbutton\??bt}

\presetlocalframed[\??bt]

\long\def\docomplexbutton#1[#2]#3#4% get rid of possible space ...
   {\dodocomplexbutton#1[#2]{#3}#4} % #4 == [

\def\buttonframed{\dodoubleempty\localframed[\??bt]} % goodie
------------

Please, have a look to see what your core-ref.tex contains.

Best wishes,
Taco



___________________________________________________________________________________
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] 12+ messages in thread

* Re: LuaTex error "attempt to index global 'lang' (a nil value)"
       [not found] ` <6faad9f00804081453o1843a680v1b25cb4453d0564d@mail.gmail.com>
@ 2008-04-12 13:58   ` Roland
  2008-04-12 14:24     ` Roland
  0 siblings, 1 reply; 12+ messages in thread
From: Roland @ 2008-04-12 13:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hmmm this produces something funny:

$ luatools --selfupdate

LuaTools | to be replaced old script /usr/texbin/luatools
LuaTools | unable to locate new script
LuaTools |
LuaTools | runtime: 0.005 seconds

Perhaps some link is wrong or I shouldn't use the alias /usr/texbin
(as installed by MacTeX)?

On 08/04/2008, Mojca Miklavec <mojca.miklavec.lists@gmail.com> wrote:
> Did you try to run
>    luatools --selfupdate
>  ?
___________________________________________________________________________________
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] 12+ messages in thread

* Re: LuaTex error "attempt to index global 'lang' (a nil value)"
  2008-04-12 13:58   ` Roland
@ 2008-04-12 14:24     ` Roland
  2008-04-13  7:30       ` Taco Hoekwater
  2008-04-13  9:55       ` Mojca Miklavec
  0 siblings, 2 replies; 12+ messages in thread
From: Roland @ 2008-04-12 14:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

@Mojca, I found that /usr/texbin was pointing to a missing directory,
so this caused the problem mentioned below. I took /usr/texbin out of
the $PATH and replaced it with /usr/local/texlive/2007/bin/i386-darwin
-- this lets luatools --selfupdate run correctly:


	LuaTools | to be replaced old script
/usr/local/texlive/2007/bin/i386-darwin/luatools
	LuaTools | checking new script
/usr/local/texlive/texmf-local/scripts/context/lua/luatools.lua
	LuaTools | old script content replaced by new content
	LuaTools |
	LuaTools | runtime: 0.056 seconds

But the old problem still persists.

@Hans, I pressed enter when the original error occurs and this just
gives me one more line before the script stops:

	l.3174
	
	?
	../../../../src/texk/web2c/luatexdir/tex/linebreak.c:1599: failed
assertion `alink(cur_p)==temp_head'
	
	LuaTools |
	LuaTools | runtime: 10.399 seconds

@Taco, I think my core-ref.tex contains the same as yours:

  3165  \def\setupbuttons
  3166    {\dodoubleargument\getparameters[\??bt]}
  3167
  3168  \definecomplexorsimpleempty\button
  3169
  3170  \def\complexbutton
  3171    {\docomplexbutton\??bt}
  3172
  3173  \presetlocalframed[\??bt]
  3174
  3175  \long\def\docomplexbutton#1[#2]#3#4% get rid of possible space
before [#4]
  3176    {\dodocomplexbutton#1[#2]{#3}#4} % #4 == [
  3177
  3178  \def\buttonframed{\dodoubleempty\localframed[\??bt]} % goodie
  3179
  3180  \long\def\dodocomplexbutton#1[#2]#3[#4]% #3 can contain [] -> {#3} later

Anybody?
Roland



On 12/04/2008, Roland <ntg-context@rolandsiebelink.com> wrote:
> Hmmm this produces something funny:
>
>  $ luatools --selfupdate
>
>  LuaTools | to be replaced old script /usr/texbin/luatools
>  LuaTools | unable to locate new script
>  LuaTools |
>  LuaTools | runtime: 0.005 seconds
>
>  Perhaps some link is wrong or I shouldn't use the alias /usr/texbin
>  (as installed by MacTeX)?
>
>
>  On 08/04/2008, Mojca Miklavec <mojca.miklavec.lists@gmail.com> wrote:
>  > Did you try to run
>  >    luatools --selfupdate
>  >  ?
>
___________________________________________________________________________________
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] 12+ messages in thread

* Re: LuaTex error "attempt to index global 'lang' (a nil value)"
  2008-04-12 14:24     ` Roland
@ 2008-04-13  7:30       ` Taco Hoekwater
  2008-04-14  6:45         ` Thomas A. Schmitz
  2008-04-13  9:55       ` Mojca Miklavec
  1 sibling, 1 reply; 12+ messages in thread
From: Taco Hoekwater @ 2008-04-13  7:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Roland wrote:
> 
> Anybody?

Makes no sense to me. I hope Thomas can have a look. Something obviously
goes wrong for you, but I have never yet see it go _so_ wrong. Is there
a chance of a corrupted download of something?

Best wishes,
Taco
___________________________________________________________________________________
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] 12+ messages in thread

* Re: LuaTex error "attempt to index global 'lang' (a nil value)"
  2008-04-12 14:24     ` Roland
  2008-04-13  7:30       ` Taco Hoekwater
@ 2008-04-13  9:55       ` Mojca Miklavec
  1 sibling, 0 replies; 12+ messages in thread
From: Mojca Miklavec @ 2008-04-13  9:55 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sat, Apr 12, 2008 at 4:24 PM, Roland wrote:
> @Mojca, I found that /usr/texbin was pointing to a missing directory,
>  so this caused the problem mentioned below. I took /usr/texbin out of
>  the $PATH and replaced it with /usr/local/texlive/2007/bin/i386-darwin
>  -- this lets luatools --selfupdate run correctly:

I have no idea what went wrong, but this implies that your
installation might be slightly broken. /usr/texbin should point to
something. Mine points to
    texbin -> ../Library/TeX/Distributions/.DefaultTeX/Contents/Programs/i386
(and there are some other symlinks in that path as well), but I need
to admit that I have never tried to make luatex work with the existing
installation (tried once and then gave up).

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] 12+ messages in thread

* Re: LuaTex error "attempt to index global 'lang' (a nil value)"
  2008-04-13  7:30       ` Taco Hoekwater
@ 2008-04-14  6:45         ` Thomas A. Schmitz
  0 siblings, 0 replies; 12+ messages in thread
From: Thomas A. Schmitz @ 2008-04-14  6:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users


On Apr 13, 2008, at 9:30 AM, Taco Hoekwater wrote:
> Roland wrote:
>>
>> Anybody?
>
> Makes no sense to me. I hope Thomas can have a look. Something  
> obviously
> goes wrong for you, but I have never yet see it go _so_ wrong. Is  
> there
> a chance of a corrupted download of something?
>
> Best wishes,
> Taco

OK, I'll have a go at it.

Roland, could you send me (off-list) the output of these commands:

echo $PATH

ls -al /usr/local/texlive/2007/bin/i386-darwin

ls -al

luatex --version

And I'll see if I can find anything.

Thomas
___________________________________________________________________________________
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] 12+ messages in thread

end of thread, other threads:[~2008-04-14  6:45 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-05 15:34 LuaTex error "attempt to index global 'lang' (a nil value)" Roland
2008-04-06  8:45 ` Taco Hoekwater
2008-04-06 18:09   ` Roland
2008-04-07  8:11     ` Taco Hoekwater
2008-04-08 21:37       ` Roland
2008-04-08 22:04         ` Hans Hagen
2008-04-09  8:01         ` Taco Hoekwater
     [not found] ` <6faad9f00804081453o1843a680v1b25cb4453d0564d@mail.gmail.com>
2008-04-12 13:58   ` Roland
2008-04-12 14:24     ` Roland
2008-04-13  7:30       ` Taco Hoekwater
2008-04-14  6:45         ` Thomas A. Schmitz
2008-04-13  9:55       ` Mojca Miklavec

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