Re: [NTG-context] LuaTex error "attempt to index global 'lang' (a nil value)"
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
Did you try to run luatools --selfupdate ?
@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
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
wrote: Did you try to run luatools --selfupdate ?
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
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
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
participants (4)
-
Mojca Miklavec
-
Roland
-
Taco Hoekwater
-
Thomas A. Schmitz