From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/101867 Path: news.gmane.org!.POSTED!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Attempt to call a nil value Date: Sat, 8 Sep 2018 18:42:57 +0200 Message-ID: <40ddb399-3d0e-e496-9244-738bf9df46c9@gmail.com> References: <443cabfe-976a-7b7a-51b8-e727f98e07d2@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0710483974800125802==" X-Trace: blaine.gmane.org 1536424938 13716 195.159.176.226 (8 Sep 2018 16:42:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 8 Sep 2018 16:42:18 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 PostboxApp/6.1.2 To: mailing list for ConTeXt users , Lars Original-X-From: ntg-context-bounces@ntg.nl Sat Sep 08 18:42:14 2018 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fygJJ-0003U1-Dv for gctc-ntg-context-518@m.gmane.org; Sat, 08 Sep 2018 18:42:13 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 0350E64468; Sat, 8 Sep 2018 18:44:08 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uASU6ladMMEs; Sat, 8 Sep 2018 18:44:07 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 45FBF644A2; Sat, 8 Sep 2018 18:44:07 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 4E9B7644A2 for ; Sat, 8 Sep 2018 18:44:06 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lI0SKWUOWFTp for ; Sat, 8 Sep 2018 18:44:05 +0200 (CEST) Original-Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 8A77064468 for ; Sat, 8 Sep 2018 18:43:55 +0200 (CEST) Original-Received: by mail-wm0-f42.google.com with SMTP id q8-v6so17398731wmq.4 for ; Sat, 08 Sep 2018 09:43:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=uxJfl1vQ2r7Ht3xYvsmlUAwJHPiyqB2QxNw7qzvO08s=; b=I1c42d1AAyEIXwN63ldleE1EZ/9KeZzex+2wsykp1XxX85HEPRDTZY0XIWPfVROWey xQK/oP64mNcr8F3vQuLsG3jAC7lgdXeghgXmnWpxg2gVaFvnCTqGgzG+bZMkqyXs8OD+ 0KEzuxWZdjw97GvHcf6uSRzRKR+Mrh5UEEMgDbLECot8mGIHH/a1XJxF0fEtOqNVptQM K4r0wzNEoHl42Zw0asA6QT9tz/dYaQn06MCqcpUl26T2ai2EYsknI8J3/3fCK9BgofNT X3EE8+liNpb9Q2na9iBB7I243xqvFGcAgwYHTpKyAfGVAfExhFS2/8I1I2Nc7w8jvotf vnEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=uxJfl1vQ2r7Ht3xYvsmlUAwJHPiyqB2QxNw7qzvO08s=; b=R+bqbS1e7lLt+d8diJVTYYvDCrysO376OHcyGyWoTcYdTuRIp6j8KfQ8188UGlVR3G gQuWE7WxF6fOyxps2je6yqY8NK24nIh8q1o4uZG4yVeY6lqFOCcTqbpPKes0fmDTu/RD 07JszKuAYBOV0r5o8OoNIaR7W8loGibP/wZidhcTugrigyRWnBaLJdkpe1OmsLdYNC2s aXHkAka6r78UlOzN4oHLjt12m+QwL2ct111FggI+rC2nUUx9Pv7OXw+2RoBfn0ATMJEO S4/H9MXMNda6xaMgQAiqJhkTjtvpIVm54mejXu3wXBEdl2KVWx0/KfyU4GBzsy24z1hq zE5g== X-Gm-Message-State: APzg51BbQm10h66ZUfacjUoCIUkigxjKYklhK/JWsmRnb/Cn0xrOX3uV 19Fh9ifQTCrqd7Z32D97js8= X-Google-Smtp-Source: ANB0VdY5P66yfN9+Z4/GbDdnHLOfYN1LyyuRlZlcTQNYvzwi5YB4fBDXI5HR86/BQOKhFTMCBacDEQ== X-Received: by 2002:a1c:1eca:: with SMTP id e193-v6mr7660119wme.99.1536425035021; Sat, 08 Sep 2018 09:43:55 -0700 (PDT) Original-Received: from [192.168.1.11] (x4d073c37.dyn.telefonica.de. [77.7.60.55]) by smtp.gmail.com with ESMTPSA id x24-v6sm18827963wrd.13.2018.09.08.09.43.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 08 Sep 2018 09:43:54 -0700 (PDT) In-Reply-To: <443cabfe-976a-7b7a-51b8-e727f98e07d2@gmail.com> Content-Language: en-US X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:101867 Archived-At: This is a multi-part message in MIME format. --===============0710483974800125802== Content-Type: multipart/alternative; boundary="------------5A3AA92D98FB1A93556499E3" Content-Language: en-US This is a multi-part message in MIME format. --------------5A3AA92D98FB1A93556499E3 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit mtxrun loads the wrong lua file, while it should load mtx-context.lua it actually uses context.lua. Since there is no context.lua in the distribution I guess context.lua is one of your files you put in the text directory, remove this file (or put it in a different folder) and ConTeXt should work again. Wolfgang Lars schrieb am 08.09.18 um 18:00: > > Hello list, > > since one of the last beta updates (now I have 2018.09.01) I can't use > ConTeXt on my Win 10 32bit tablet anymore. I can't make PDFs because I > get an error message. In fact, with CTX in my system path of course, > even when I type the following into my command prompt, I get the same > error: > > mtxrun --script context > > ./context.lua:11: attempt to call a nil value (method 'add_rule') > > This could have to do with the last adaption to Textadept 10. On my > Win 10 x64 PC there is no problem. Any clues? > > Cheers and thanks, Lars. > > > > ___________________________________________________________________________________ > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ --------------5A3AA92D98FB1A93556499E3 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit mtxrun loads the wrong lua file, while it should load mtx-context.lua it actually uses context.lua.

Since there is no context.lua in the distribution I guess context.lua is one of your files you put in the text directory, remove this file (or put it in a different folder) and ConTeXt should work again.

Wolfgang


Lars schrieb am 08.09.18 um 18:00:

Hello list,

since one of the last beta updates (now I have 2018.09.01) I can't use ConTeXt on my Win 10 32bit tablet anymore. I can't make PDFs because I get an error message. In fact, with CTX in my system path of course, even when I type the following into my command prompt, I get the same error:

mtxrun --script context

./context.lua:11: attempt to call a nil value (method 'add_rule')

This could have to do with the last adaption to Textadept 10. On my Win 10 x64 PC there is no problem. Any clues?

Cheers and thanks, Lars.



___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

--------------5A3AA92D98FB1A93556499E3-- --===============0710483974800125802== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============0710483974800125802==--