From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/102370 Path: news.gmane.org!.POSTED!not-for-mail From: luigi scarso Newsgroups: gmane.comp.tex.context Subject: Re: mtxrun --script fonts --reload: Question to behaviour Date: Mon, 22 Oct 2018 20:00:37 +0200 Message-ID: References: <20181022122522.GE15304@akela.mendelu.cz> <20181022143212.GF15304@akela.mendelu.cz> <20181022171619.GG15304@akela.mendelu.cz> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0749890684408342237==" X-Trace: blaine.gmane.org 1540231151 26223 195.159.176.226 (22 Oct 2018 17:59:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 22 Oct 2018 17:59:11 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Oct 22 19:59:06 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 1gEeTm-0006Zc-0Y for gctc-ntg-context-518@m.gmane.org; Mon, 22 Oct 2018 19:59:02 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 95E358D472; Mon, 22 Oct 2018 20:01:03 +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 Lgbl2STCXmAl; Mon, 22 Oct 2018 20:01:02 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C6F3D8D469; Mon, 22 Oct 2018 20:01:02 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C12A98D198 for ; Mon, 22 Oct 2018 20:01:01 +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 k69CQXvQC227 for ; Mon, 22 Oct 2018 20:01:00 +0200 (CEST) Original-Received: from mail-ua1-f52.google.com (mail-ua1-f52.google.com [209.85.222.52]) (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 490AC8D196 for ; Mon, 22 Oct 2018 20:00:50 +0200 (CEST) Original-Received: by mail-ua1-f52.google.com with SMTP id c11so2902009uan.5 for ; Mon, 22 Oct 2018 11:00:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=thFQeeTzvYsiXcmooX4hCj8C0OyBrweVb6qkqSrNQBo=; b=HJeVOdqc0nkTHd9dt2sFqfClJWQtkcJWfAID9bkEC2tay9P5CBrsbcX3cwl7KGbEvw xGZqJHdC8XNiBlcynkVyoIU7+Q3nbVOqmAdZsN/Pny4sNMKr9GARaUa9KSwki9FZB6Kk XyyOU8BKA6Hu4zetUThxUzYOHffF0kgvMMgNZnA0MJr59JhpDv0jlLUhF5GmHLwV5t2N 9iIBvrxw5/3GMwL2f0zMz/r/wsHuv4imA4pUj6upA4VHtenKli/aS16Wua+2Z7JhfMXr 12GVj4YK75tLQSWavTF7n1LInUP17EWdXB7N6e7u4Jfv3Dl69NSBFfgyTPuPqOCy2hWJ yKcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=thFQeeTzvYsiXcmooX4hCj8C0OyBrweVb6qkqSrNQBo=; b=F3Jz2Z6Lb3hNoU8nI1rxfQr8ul6hBQ0Pdus2InAuvqwE6Io3zQ49G0h3goNl6XJ1ra Y2qlL2Vmty1xIzufmvGkzNUi8r20D3hntR5HG9EapPA9QGn7Fc7ka8PZtjEB9IgM86Ug RC8St6Nb2XTz7GusxKoIRRFodv1MJ/FFJrfNDXC0KaDj8Qr4vxV8n6fLBvNVNH7kKS/M V78a1uAezq7V+PTvKQ/YZjNV7DAU8zplmrd0xa6yZxLQbDEgpTX7hb91Ylc49MbwXanF nGcvKPelNjhkGF5R696KJ172FwKnyc4MHndkBHaOoeAsG6BdGv9xbYmvve04Gtn8J07T yk6g== X-Gm-Message-State: ABuFfogIFbGDxIQ90CQxFkOf8e7xJow7lszu653K8HmNehznKhKm08al tBx+EdA2FE8VM85u99W1ObnthqCoawwo2QlPbS2Kx/Il X-Google-Smtp-Source: ACcGV62DzO1ercUlDEVYYZ/aSdbXjBQEsK/f1Su7YZBWEwnF81R31LX7I/N0trncSfFZTCvQPZYB0z2Te72ZYeOdl7g= X-Received: by 2002:ab0:7319:: with SMTP id v25mr19616106uao.32.1540231248574; Mon, 22 Oct 2018 11:00:48 -0700 (PDT) In-Reply-To: <20181022171619.GG15304@akela.mendelu.cz> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.20 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:102370 Archived-At: --===============0749890684408342237== Content-Type: multipart/alternative; boundary="000000000000717f050578d50829" --000000000000717f050578d50829 Content-Type: text/plain; charset="UTF-8" On Mon, Oct 22, 2018 at 7:21 PM Tomas Hala wrote: > > Mon, Oct 22, 2018 ve 04:40:46PM +0200 luigi scarso napsal(a): > # On Mon, Oct 22, 2018 at 4:32 PM Tomas Hala <[1]tomas.hala@mendelu.cz> > # wrote: > # > # Mon, Oct 22, 2018 ve 04:22:43PM +0200 luigi scarso napsal(a): > # # On Mon, Oct 22, 2018 at 2:25 PM Tomas Hala > # <[1][2]tomas.hala@mendelu.cz> > # # wrote: > # # > # # Hi all, > # # > # # doing some test with fonts I discovered that > # # > # # mtxrun--script fonts --reload > # # > # # crashed (line 479, TL 2018) on existing directory if this > # directory has > # # incorrect permissions (in tested case I set 000 for making > the > # directory > # # and its subtree completely invisible). > # # > # # what do you mean with "crashed" ? > # > # $ chmod 000 /home/thala/texmf/fonts/fffctx-fonts-for-testing/ > # $ mtxrun --script fonts --reload > # resolvers | trees | analyzing 'home:texmf' > # /home/share/texlive/lastedition/bin/i386-linux/mtxrun:479: cannot > open > # /home/thala/texmf/fonts/fffctx-fonts-for-testing/: Permission denied > # > # and it stops doing nothing else. > # > # ok, but as far as I can see it's not a crash, > # it's just an error like "open file foo" when you have not the right > # permissions on foo. > # In other words: mtxrun doesn't have the right permissions in that > folder > # so it' correct that it stops > # *and* exits. If it stops and hang forever, of if it stops with a seg. > # fault, then it's an error, > # -- > # luigi > # > > I understand the explanation, thank you. But why it stops? I can imagine > the > behaviour with skipping inaccessible directories (eg. with some warning > messages)... Is there any way how to persuade it to continue the work? > hm, dunno, it's a lua script, perhaps you can hide these errors, but to me the current behavior is ok, because when I see this error I know the *I* am doing something wrong that I need to fix. -- luigi --000000000000717f050578d50829 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Mon= , Oct 22, 2018 at 7:21 PM Tomas Hala <tomas.hala@mendelu.cz> wrote:

Mon, Oct 22, 2018 ve 04:40:46PM +0200 luigi scarso napsal(a):
#=C2=A0 =C2=A0 On Mon, Oct 22, 2018 at 4:32 PM Tomas Hala <[1]tomas.hala@mendelu.cz&= gt;
#=C2=A0 =C2=A0 wrote:
#
#=C2=A0 =C2=A0 =C2=A0 Mon, Oct 22, 2018 ve 04:22:43PM +0200 luigi scarso na= psal(a):
#=C2=A0 =C2=A0 =C2=A0 #=C2=A0 =C2=A0 On Mon, Oct 22, 2018 at 2:25 PM Tomas = Hala
#=C2=A0 =C2=A0 =C2=A0 <[1][2]tomas.hala@mendelu.cz>
#=C2=A0 =C2=A0 =C2=A0 #=C2=A0 =C2=A0 wrote:
#=C2=A0 =C2=A0 =C2=A0 #
#=C2=A0 =C2=A0 =C2=A0 #=C2=A0 =C2=A0 =C2=A0 Hi all,
#=C2=A0 =C2=A0 =C2=A0 #
#=C2=A0 =C2=A0 =C2=A0 #=C2=A0 =C2=A0 =C2=A0 doing some test with fonts I di= scovered that
#=C2=A0 =C2=A0 =C2=A0 #
#=C2=A0 =C2=A0 =C2=A0 #=C2=A0 =C2=A0 =C2=A0 mtxrun--script fonts --reload #=C2=A0 =C2=A0 =C2=A0 #
#=C2=A0 =C2=A0 =C2=A0 #=C2=A0 =C2=A0 =C2=A0 crashed (line 479, TL 2018) on = existing directory if this
#=C2=A0 =C2=A0 =C2=A0 directory has
#=C2=A0 =C2=A0 =C2=A0 #=C2=A0 =C2=A0 =C2=A0 incorrect permissions (in teste= d case I set 000 for making the
#=C2=A0 =C2=A0 =C2=A0 directory
#=C2=A0 =C2=A0 =C2=A0 #=C2=A0 =C2=A0 =C2=A0 and its subtree completely invi= sible).
#=C2=A0 =C2=A0 =C2=A0 #
#=C2=A0 =C2=A0 =C2=A0 #=C2=A0 =C2=A0 what do you mean with "crashed&qu= ot;=C2=A0 ?=C2=A0
#
#=C2=A0 =C2=A0 =C2=A0 $ chmod 000 /home/thala/texmf/fonts/fffctx-fonts-for-= testing/
#=C2=A0 =C2=A0 =C2=A0 $ mtxrun --script fonts --reload
#=C2=A0 =C2=A0 =C2=A0 resolvers=C2=A0 =C2=A0 =C2=A0 =C2=A0| trees | analyzi= ng 'home:texmf'
#=C2=A0 =C2=A0 =C2=A0 /home/share/texlive/lastedition/bin/i386-linux/mtxrun= :479: cannot open
#=C2=A0 =C2=A0 =C2=A0 /home/thala/texmf/fonts/fffctx-fonts-for-testing/: Pe= rmission denied
#
#=C2=A0 =C2=A0 =C2=A0 and it stops doing nothing else.
#
#=C2=A0 =C2=A0 ok, but=C2=A0 as far as I can see it's not a crash,=C2= =A0
#=C2=A0 =C2=A0 it's just an error like "open file foo"=C2=A0 = when=C2=A0 you have not the right
#=C2=A0 =C2=A0 permissions on foo.
#=C2=A0 =C2=A0 In other words: mtxrun=C2=A0 doesn't have=C2=A0 the righ= t permissions in that folder
#=C2=A0 =C2=A0 so it' correct that it stops
#=C2=A0 =C2=A0 *and* exits. If it stops and hang forever, of if it stops wi= th a seg.
#=C2=A0 =C2=A0 fault,=C2=A0 then it's an error,=C2=A0
#=C2=A0 =C2=A0 --
#=C2=A0 =C2=A0 luigi
#

I understand the explanation, thank you. But why it stops? I can imagine th= e
behaviour with skipping inaccessible directories (eg. with some warning
messages)... Is there any way how to persuade it to continue the work?
<= /blockquote>

hm, dunno, it's a lua script, per= haps you can hide these errors,
but=C2=A0 to me the current behav= ior is ok, because when I see this error=C2=A0
I know the *I* am = doing something wrong that I need to fix.


--
luigi
--000000000000717f050578d50829-- --===============0749890684408342237== 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 --===============0749890684408342237==--