ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Bruce Horrocks <ntg@scorecrow.com>
To: ntg-context mailing list <ntg-context@ntg.nl>
Subject: [NTG-context] Re: Error when running context --make after updating context (FreeBSD)
Date: Fri, 31 Jan 2025 23:03:26 +0000	[thread overview]
Message-ID: <33FC0D23-61D9-465D-9B0F-BC3DFC3E08EC@scorecrow.com> (raw)
In-Reply-To: <CA+yoGSWuiEc25eLHQtCASoQdh_iYRtM1N5BPwp4UQUZsr+goJg@mail.gmail.com>

On 28 Jan 2025, at 10:47, Potzilov K. <potzilov@gmail.com> wrote:
> 
> Hi folks,
> I receive the following error when running context --make command (after update via install.sh):
> lua error       > lua error on line 18 in file file-mod.mklx:
> 
> token call, execute: ...ext/tex/texmf-context/tex/context/base/mkxl/file-mod.lmt:78: attempt to call a nil value (field 'getrunstate')
> stack traceback:
>     ...ext/tex/texmf-context/tex/context/base/mkxl/file-mod.lmt:78: in local 'code'
>     ...ext/tex/texmf-context/tex/context/base/mkiv/util-lua.lua:97: in field 'loadedluacode'
>     ...ext/tex/texmf-context/tex/context/base/mkiv/luat-env.lua:108: in field 'luafilechunk'
>     ...ext/tex/texmf-context/tex/context/base/mkxl/luat-cod.lmt:82: in function 'lua.registercode'
>     [ctxlua]:1: in main chunk
> <empty file>
> A number should have been here; I inserted '0'. (If you can't figure out why I
> needed to see a number, look up 'weird error' in the index to The TeXbook.)
> Any clues as to what causes this error?
> System is FreeBSD 14.2
> TIA and regards,
> PT

It looks like you might have an incompatible binary installed.

Did you install the OpenBSD version on the contextgarden page or from some other source such as a TeXLive CD/DVD?
<https://wiki.contextgarden.net/Input_and_compilation/Installation>

If you have both installed, are you sure your path is set to pick up the latest one?

Regards,
—
Bruce Horrocks
Hampshire, UK

___________________________________________________________________________________
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
___________________________________________________________________________________

      reply	other threads:[~2025-01-31 23:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-28 10:47 [NTG-context] " Potzilov K.
2025-01-31 23:03 ` Bruce Horrocks [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=33FC0D23-61D9-465D-9B0F-BC3DFC3E08EC@scorecrow.com \
    --to=ntg@scorecrow.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).