From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/101869 Path: news.gmane.org!.POSTED!not-for-mail From: Lars Newsgroups: gmane.comp.tex.context Subject: Re: Attempt to call a nil value Date: Sat, 8 Sep 2018 21:06:39 +0200 Message-ID: <76dd7bbc-7558-0ef5-0c75-b8fe4131bc25@gmail.com> References: <443cabfe-976a-7b7a-51b8-e727f98e07d2@gmail.com> <40ddb399-3d0e-e496-9244-738bf9df46c9@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7823004624754146093==" X-Trace: blaine.gmane.org 1536433504 17915 195.159.176.226 (8 Sep 2018 19:05:04 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 8 Sep 2018 19:05:04 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 To: Wolfgang Schuster , mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Sep 08 21:05:00 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 1fyiXT-0004Vn-J9 for gctc-ntg-context-518@m.gmane.org; Sat, 08 Sep 2018 21:04:59 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 9A0CC64758; Sat, 8 Sep 2018 21:06:53 +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 e-b0DuJcnRjv; Sat, 8 Sep 2018 21:06:52 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id DB7DA6474E; Sat, 8 Sep 2018 21:06:52 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E36B66474E for ; Sat, 8 Sep 2018 21:06:51 +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 9eWypdo1aZZx for ; Sat, 8 Sep 2018 21:06:51 +0200 (CEST) Original-Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) (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 352646474D for ; Sat, 8 Sep 2018 21:06:41 +0200 (CEST) Original-Received: by mail-wr1-f53.google.com with SMTP id 20-v6so17920990wrb.12 for ; Sat, 08 Sep 2018 12:06:41 -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; bh=1t+JrczF9GL+w02Am/Ijl5vD6R7QsCGknT7uWMYo+Co=; b=hR7wP8pUshcG7duqpBoGoj6QbNwCwaYFTDCtCXgu+mLdx9AVcCeGHba0i4UBlUAjzO qcpfm6KeDVhKtgyQ3Seg3+1EMfkfQBnHjx/hQMb8iJ1FbtT/0wR9pIDnLlhP1hD6+uhf lW0dz1btqp8OzyQRDlcSpw7piaBTUSZ4wvmmSSzwEU7XMb8D/vLsR2Ti/h+HBu0sMRk4 NKPnWZK5DbWsAVtTMSXXEHXfJQ0fEOFT6MnJT4e/5qcQcSVu4DRYnLSFkyg5+nIib5UZ CWCPwHrzFZd9h+bNszjjG2dSQtzsOb/YUogUljV2M/tYZdyoiuhvGyFe2PCLbZomxAH+ mxGA== 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; bh=1t+JrczF9GL+w02Am/Ijl5vD6R7QsCGknT7uWMYo+Co=; b=YTDvkO9mEQ3KucgHTh3IPOTO3fcWLhofmGBN67KtwlW9T8pHMO6+RIPtD+B8QRzBxf XfMFqGdZkJRB995HcXfkc15QjPcgtoyxoSR12Rt5g2mS6DUogrnUm0PsBUWEQYp7iO10 niySmhncVg0hF7vzAh8XtSeotel4TdF3co8lQs8Ec2gkizMKxdDsaNlSw9eWNMTICEOn 76wA2JOedx4qNzzCfEnkFLCgqpn3paaL5xTLXNYAw84tqYpL5PNlp5L5w05HfFPZnO8W sildrSa2uhT32sgSdIjIndLfdDFyUvUFG4LwTAViTIrhvJEdZnZaa0Yc/gtL4r4P2dle 3jHA== X-Gm-Message-State: APzg51BFqq2YrS+aubRQ2VMWMrazdr5lN74M94KEXtKgTyyC9qe1xFkL 6nWg1uzg3QI758WuEV6bwD8lOZQ= X-Google-Smtp-Source: ANB0VdYIxCR4WoRt+kxx+3mryO1jbYBDATF5FVsa0egEuV6rkbELeL6RuI3vvX6WsYv0ZPBDYLhYdg== X-Received: by 2002:adf:8024:: with SMTP id 33-v6mr9739371wrk.16.1536433600553; Sat, 08 Sep 2018 12:06:40 -0700 (PDT) Original-Received: from [192.168.0.103] (port-92-196-82-29.dynamic.qsc.de. [92.196.82.29]) by smtp.gmail.com with ESMTPSA id z10-v6sm12314925wrv.22.2018.09.08.12.06.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 08 Sep 2018 12:06:39 -0700 (PDT) In-Reply-To: <40ddb399-3d0e-e496-9244-738bf9df46c9@gmail.com> 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:101869 Archived-At: This is a multi-part message in MIME format. --===============7823004624754146093== Content-Type: multipart/alternative; boundary="------------160F327C0D429199CEC08424" This is a multi-part message in MIME format. --------------160F327C0D429199CEC08424 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Thank you very much Wolfgang. You were a big help, as usual. It never came to my mind, that the Textadept lexer file /context.lua/ in my working directory could interfere with /mtxmrun/, which is located elsewhere. I should also have tried to process files from another directory instead of trying it from another PC. But since on my tablet PC I only have one single TeX directory, it didn't come to my mind to try another one. So again, thank you. Cheers, Lars. P. S.: From what I read so far you're a real TeX genius. It's always a pleasure to write with you. P. P. S.: Some people really should learn from you, not only when it comes to TeX. Am 08/09/2018 um 18:42 schrieb Wolfgang Schuster: > 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 >> ___________________________________________________________________________________ > --------------160F327C0D429199CEC08424 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit

Thank you very much Wolfgang. You were a big help, as usual. It never came to my mind, that the Textadept lexer file context.lua in my working directory could interfere with mtxmrun, which is located elsewhere. I should also have tried to process files from another directory instead of trying it from another PC. But since on my tablet PC I only have one single TeX directory, it didn't come to my mind to try another one. So again, thank you.

Cheers, Lars.

P. S.: From what I read so far you're a real TeX genius. It's always a pleasure to write with you.

P. P. S.: Some people really should learn from you, not only when it comes to TeX.


Am 08/09/2018 um 18:42 schrieb Wolfgang Schuster:
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
___________________________________________________________________________________


--------------160F327C0D429199CEC08424-- --===============7823004624754146093== 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 --===============7823004624754146093==--