From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: from cgl.ntg.nl (Cgl.ntg.nl [5.39.185.202]) by inbox.vuxu.org (Postfix) with ESMTP id F398F201C7 for ; Fri, 24 Jan 2025 15:32:06 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 56792485514 for ; Fri, 24 Jan 2025 15:29:43 +0100 (CET) Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=ntg.nl DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ntg.nl; h= content-transfer-encoding:content-type:content-type :list-unsubscribe:list-subscribe:list-post:list-owner:list-help :list-archive:archived-at:list-id:subject:subject:reply-to :precedence:in-reply-to:from:from:references:content-language :user-agent:mime-version:date:date:message-id:received:received :received:received:received:received:received; s=cgl; t= 1737728982; x=1740320983; bh=tBofnsDw4E1ec4Bm4r8h3a7zeS28WpbzOfK vbP4hi80=; b=VN0p3dVfPbuOpaYUB6qd2VPhxiF3Jay3ePHfgtbg0VMYMDgfRlF LGyv81ex0QXQfkrVRV/S7+2A0+JROIOiaLY0UduNHIjhPxK8LB+3gq+PiuKRhiUM J7X0kkyCHpW4sJRADvWATShHrxuGj9Y923nsETqZoi7TFwK4Z+O6og4w= X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" header.d=xs4all.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 23E4-ap2Ft7Z for ; Fri, 24 Jan 2025 15:29:42 +0100 (CET) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 8ECB74852D2 for ; Fri, 24 Jan 2025 15:28:36 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 2B2E14852B5 for ; Fri, 24 Jan 2025 15:27:53 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id p5XDJGeAmbMC for ; Fri, 24 Jan 2025 15:27:52 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=195.121.94.186; helo=ewsoutbound.kpnmail.nl; envelope-from=j.hagen@xs4all.nl; receiver= Received: from ewsoutbound.kpnmail.nl (ewsoutbound.kpnmail.nl [195.121.94.186]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id CF4F84852B1 for ; Fri, 24 Jan 2025 15:27:52 +0100 (CET) X-KPN-MessageId: 64b3a39e-da5f-11ef-9de4-00505699b430 Received: from smtp.kpnmail.nl (unknown [10.31.155.8]) by ewsoutbound.so.kpn.org (Halon) with ESMTPS id 64b3a39e-da5f-11ef-9de4-00505699b430; Fri, 24 Jan 2025 15:27:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xs4all.nl; s=xs4all01; h=content-type:from:to:subject:mime-version:date:message-id; bh=He61AHYHw/5JTp7uPSi+tCgFrrfcyNHfnEag/BjM3GM=; b=FPM38A9turLTVkErMQb/BDrguxMppyePNhxbmKnGZVlaDDxtBNGdBO81NpCzSenClnLzAoJsE5ixc 7RmYIukWKEcYToIx0XwYeVuA0eK6VNgABTN95wMWxiVkdZbjaF8KMt0TjrsIDsuZ3TKDL2Ce0stkeB 8VIc5P2vNks4G/sj4QPUzZPifIsF5CZftvDxEn1eZmLr0ewVxf9lwn9MhTD1Xmq5T2UH0gU5Ptxr8Z bKo8q0OMV7JINTwAyw5NlPy5Y/KrNekPdt4paeItct8SBpu8LMxO5wS5fZWj7IcSby20e2jGaVKyyd UDyVS/1KrybuMrGPgdT/9uBkq4R4C0A== X-KPN-MID: 33|QupDGFFOHOjO5glXTuUudXdkyT6Aa2Em1xepy78p9fw5g8Ljg/3xXJDfzPKKAuC FSnLK1ok86+UWV2iNEe0SE9/4WzkyXtM7mLjsJEuGtjg= X-KPN-VerifiedSender: Yes X-CMASSUN: 33|n8gtRoxQem636oy1ejGFq/0XghRbygrbuoXzkTyoiGRMyAUDQr7lss4ZGuk6Zy0 XrUeO+ULAoMKdMdapb+V0xw== X-Originating-IP: 213.125.29.162 Received: from [10.100.1.105] (d57d1da2.static.ziggozakelijk.nl [213.125.29.162]) by smtp.xs4all.nl (Halon) with ESMTPSA id 64dcd5f2-da5f-11ef-8952-00505699d6e5; Fri, 24 Jan 2025 15:27:52 +0100 (CET) Message-ID: <3d71c518-d14e-46cb-9bdc-332298cbc64c@xs4all.nl> Date: Fri, 24 Jan 2025 15:27:50 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: nl To: ntg-context@ntg.nl References: <493c3dc3-1229-439a-90a3-550bd4fc8bc6@xs4all.nl> <173772488462.3183021.3594873580900318571@cgl.ntg.nl> From: Hans Hagen In-Reply-To: <173772488462.3183021.3594873580900318571@cgl.ntg.nl> Message-ID-Hash: CSNADG5YMUSDDVYMJISOD6FR4EKHTNDU X-Message-ID-Hash: CSNADG5YMUSDDVYMJISOD6FR4EKHTNDU X-MailFrom: j.hagen@xs4all.nl X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: How to load external lua library List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii"; format="flowed" Content-Transfer-Encoding: 7bit On 1/24/2025 2:21 PM, krulis.tomas@seznam.cz wrote: > Hello Mr. Hagen, > > I am actually using ConTeXt bundled with TeXlive, and I struggled with finding the file tree you mentioned there, so I went into installing the ConTeXt distribution separately. With the current installation (ConTeXt ver: 2024.12.30 16:14 LMTX fmt: 2025.1.24 int: english/english), I am hiting this error: > > ``` > token call, execute: ...ext/tex/texmf-context/tex/context/base/mkiv/util-sql.lua:91: attempt to index a boolean value (local 'json') > stack traceback: > ...ext/tex/texmf-context/tex/context/base/mkiv/util-sql.lua:91: in main chunk > [C]: in upvalue 'requiem' > ...xt/tex/texmf-context/tex/context/base/mkiv/l-sandbox.lua:180: in function <...xt/tex/texmf-context/tex/context/base/mkiv/l-sandbox.lua:165> > (...tail calls...) > [ctxlua]:2: in main chunk > ``` > > which is rather confusing to me, and doesn't happen with TeXlive. Am I missing a part of the installation, or can I fix this in some other way? can you change this at the end of util-json package.loaded["util-jsn"] = json package.loaded.json = json return json and remake the format? (the json module is now always preloaded) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________