ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Unable to generate luatex formats
@ 2008-04-12 20:53 Michael Green
  2008-04-13  8:02 ` Taco Hoekwater
                   ` (3 more replies)
  0 siblings, 4 replies; 38+ messages in thread
From: Michael Green @ 2008-04-12 20:53 UTC (permalink / raw)
  To: ntg-context

I'm getting the following error when running this command: luatools -- 
ini --verbose --compile cont-en

LuaTools | running command: luatex --ini --lua="cont-en.luc" "/usr/ 
local/texlive/2007/texmf-dist/tex/context/base/cont-en.tex" \\dump
This is LuaTeX, Version snapshot-0.25.2-2008041101 (Web2C 7.5.6)  
(INITEX)
(/usr/local/texlive/2007/texmf-dist/tex/context/base/cont-en.tex
(/usr/local/texlive/2007/../texmf-local/tex/context/base/context.tex
(/usr/local/texlive/2007/../texmf-local/tex/context/base/syst-pln.tex)
(/usr/local/texlive/2007/../texmf-local/tex/context/base/syst-prm.tex)
(/usr/local/texlive/2007/../texmf-local/tex/context/base/luat-env.tex
! LuaTeX error [string "luas[0]"]:1: attempt to call field  
'luafilechunk' (a ni
l value).
\ctxluabyteload ...nvironment.luafilechunk("#1") }

\ ...fproductionrun \else \ctxluabyteload {#1}{#2}
                                                   \fi \global  
\everyloadluac...
l.168 \registerctxluafile{luat-env}{1.001}

?

I see that it is similar to an error that ZS had.

http://www.ntg.nl/pipermail/ntg-context/2008/030012.html

  But while ZS's problem was solved by updating, I'm installing for  
the first time with the newest versions.

What might be amiss? Thanks!

mjg
___________________________________________________________________________________
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] 38+ messages in thread
* Re: Unable to generate luatex formats
@ 2008-04-15  5:43 Michael Green
  0 siblings, 0 replies; 38+ messages in thread
From: Michael Green @ 2008-04-15  5:43 UTC (permalink / raw)
  To: ntg-context

The two files Taco pointed to *appear* to be OK (though I'm too  
inexperienced to say with certainty). That leaves something esoteric  
or a tossed salad of old and new code.

Since this is mainly a matter of learning and curiosity for me, I'll  
wait and see how things develop for a bit.

Thanks for your help!

mjg


>> I think either
>>
>>    /usr/local/texlive/texmf-local/tex/context/base/luat-env.tex
>>
>> is not the one from the latest context distribution, or an extra
>> luatools --generate command is needed.
>>
>> You can check the \contextversion by looking at
>>
>>    /usr/local/texlive/texmf-local/tex/context/base/context.tex
>>
>> around line 45, it should say
>>
>>   \edef\contextversion{2008.04.11 14:48}
>>
>>
>> There can be some more esoteric causes,  but these are the two most
>> likely ones.
>>
>
> in previou sversions the env was loaded runtime (this behaviour
> originated in the stepwise development of embedding bytecodes in the
> format, in the beginning all chunks were loaded at runtime); i managed
> to get rid of that; in addition to taco's suggestions ... so it  
> could be
> that old code and new code is mixed.

___________________________________________________________________________________
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] 38+ messages in thread
* Unable to generate luatex formats
@ 2008-04-15 16:10 Michael Green
  0 siblings, 0 replies; 38+ messages in thread
From: Michael Green @ 2008-04-15 16:10 UTC (permalink / raw)
  To: ntg-context

[A] My experience is similar to Hans van der Meer's (quoted below).

luatools --generate does what I think it's supposed to.

luatools luat-env.lua returns a blank line.

[B] I followed Thomas Schmitz's instructions and used the  
source .luatex method, for what it's worth.

http://archive.contextgarden.net/message/ 
20071002.175335.21873a03.en.html

.luatex contains:

export TEXMFCACHE="/tmp"
export TEXMFCNF="/usr/local/texlive/2007/texmf/web2c"
export TEXMF="{/Users/michaelgreen/.texlive2007/texmf-config,/Users/ 
michaelgreen/.texlive2007/texmf-var,/Users/michaelgreen/Library/ 
texmf,/usr/local/texlive/2007/texmf-config,!!/usr/local/texlive/2007/ 
texmf-var,/usr/local/texlive/2007/texmf,/usr/local/texlive/2007/../ 
texmf-local,!!/usr/local/texlive/2007/texmf-dist}"
export LUAINPUTS="{/usr/local/texlive/texmf-local/tex/context/base,/ 
usr/local/texlive/2007/texmf-dist/scripts/context/lua,/usr/local/ 
texlive/texmf-local/scripts/context/lua}"

[C] Is there a chance that this is a permissions issue? I had to make  
luatools.lua executable by hand.

None of the other files in that directory are executable, where  
'that' directory is:

  /usr/local/texlive/texmf-local/scripts/context/lua

mjg

> From: Hans van der Meer <hansm@science.uva.nl>
> Subject: Re: [NTG-context] Unable to generate luatex formats
>
> Same thing here. "luatools luat-env.lua" gives an empty line. After
> "luatools --generate" again the same.
> And I have TEXMFCNF and TEXMF defined in .bashrc
> TEXMFCNF="/usr/local/texlive/2007/texmf/web2c"
> TEXMF="{/Users/hans/TeX/texmf-private,/usr/local/texlive/texmf-
> context,/usr/local/texlive/texmf-local,/usr/local/texlive/2007/texmf,/
> usr/local/texlive/2007/texmf-config,/usr/local/texlive/2007/texmf-
> dist,/usr/local/texlive/2007/texmf-doc,/usr/local/texlive/2007/texmf-
> var}"
>
> So there must be something else amiis.
>
> Hans van der Meer


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

end of thread, other threads:[~2008-04-17 15:31 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-12 20:53 Unable to generate luatex formats Michael Green
2008-04-13  8:02 ` Taco Hoekwater
2008-04-13 11:54   ` Hans Hagen
2008-04-13 10:12 ` Jean Magnan de Bornier
2008-04-15  7:57 ` John Devereux
2008-04-15  9:31   ` Taco Hoekwater
2008-04-15  9:44     ` John Devereux
2008-04-15  9:56       ` Hans Hagen
2008-04-15 10:37         ` John Devereux
2008-04-15 10:46           ` Mojca Miklavec
2008-04-15 11:25             ` John Devereux
2008-04-15 12:17               ` Mojca Miklavec
2008-04-15 12:52                 ` John Devereux
2008-04-15 12:59                   ` Mojca Miklavec
2008-04-16 15:18                     ` John Devereux
2008-04-16 18:29                       ` Mojca Miklavec
2008-04-16 19:24                         ` gnuplot module John Devereux
2008-04-17 13:42                           ` Mojca Miklavec
2008-04-17 14:23                             ` Henning Hraban Ramm
2008-04-17 14:31                               ` Mojca Miklavec
2008-04-17 14:27                             ` John Devereux
2008-04-17 14:37                               ` Mojca Miklavec
2008-04-17 15:31                                 ` John Devereux
2008-04-15 14:16                   ` Unable to generate luatex formats Hans van der Meer
2008-04-15 14:29                     ` Mojca Miklavec
2008-04-15 14:31                       ` Mojca Miklavec
2008-04-15 15:00                     ` Hans Hagen
2008-04-15 10:40         ` Hans van der Meer
2008-04-15  9:43   ` Mojca Miklavec
2008-04-16 10:21   ` John Devereux
2008-04-16 18:53 ` Joel C. Salomon
2008-04-16 19:01   ` Mojca Miklavec
2008-04-16 20:32   ` Hans Hagen
2008-04-17  4:55     ` Joel C. Salomon
2008-04-17  7:50       ` Taco Hoekwater
2008-04-17  8:03       ` Hans Hagen
2008-04-15  5:43 Michael Green
2008-04-15 16:10 Michael Green

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