From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/40109 Path: news.gmane.org!not-for-mail From: Roland Newsgroups: gmane.comp.tex.context Subject: Re: LuaTex error "attempt to index global 'lang' (a nil value)" Date: Sat, 12 Apr 2008 16:24:05 +0200 Message-ID: References: <6faad9f00804081453o1843a680v1b25cb4453d0564d@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1208010336 30109 80.91.229.12 (12 Apr 2008 14:25:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Apr 2008 14:25:36 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Sat Apr 12 16:26:08 2008 connect(): Connection refused Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1JkggB-0007sr-OG for gctc-ntg-context-518@m.gmane.org; Sat, 12 Apr 2008 16:26:07 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7D0471FBEB; Sat, 12 Apr 2008 16:25:26 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 00184-01-3; Sat, 12 Apr 2008 16:24:44 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 861BD1FB60; Sat, 12 Apr 2008 16:24:44 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BFE5E1FB1F for ; Sat, 12 Apr 2008 16:24:41 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 30729-03-4 for ; Sat, 12 Apr 2008 16:24:07 +0200 (CEST) Original-Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.170]) by ronja.ntg.nl (Postfix) with ESMTP id 12F2B1FB72 for ; Sat, 12 Apr 2008 16:24:06 +0200 (CEST) Original-Received: by wf-out-1314.google.com with SMTP id 23so1136942wfg.5 for ; Sat, 12 Apr 2008 07:24:05 -0700 (PDT) Original-Received: by 10.143.13.16 with SMTP id q16mr272060wfi.326.1208010245419; Sat, 12 Apr 2008 07:24:05 -0700 (PDT) Original-Received: by 10.142.173.17 with HTTP; Sat, 12 Apr 2008 07:24:05 -0700 (PDT) In-Reply-To: Content-Disposition: inline X-Google-Sender-Auth: de5790f9af59e0c3 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:40109 Archived-At: @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 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 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 ___________________________________________________________________________________