ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] Error when running context --make after updating context (FreeBSD)
@ 2025-01-28 10:47 Potzilov K.
  2025-01-31 23:03 ` [NTG-context] " Bruce Horrocks
  0 siblings, 1 reply; 2+ messages in thread
From: Potzilov K. @ 2025-01-28 10:47 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 978 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 1219 bytes --]

[-- Attachment #2: Type: text/plain, Size: 511 bytes --]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [NTG-context] Re: Error when running context --make after updating context (FreeBSD)
  2025-01-28 10:47 [NTG-context] Error when running context --make after updating context (FreeBSD) Potzilov K.
@ 2025-01-31 23:03 ` Bruce Horrocks
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Horrocks @ 2025-01-31 23:03 UTC (permalink / raw)
  To: ntg-context mailing list

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-01-31 23:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-28 10:47 [NTG-context] Error when running context --make after updating context (FreeBSD) Potzilov K.
2025-01-31 23:03 ` [NTG-context] " Bruce Horrocks

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).