ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] Re: Error on recent update
       [not found] <6e8f6749-da18-4029-862d-9b348273e9e9@gmail.com>
@ 2025-07-05 17:42 ` Hans Hagen via ntg-context
       [not found]   ` <CABX+t6BOvHN-EsywPJ9hmA-gkQkCgUbeo+oJXq4Dx85CP9j25w@mail.gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen via ntg-context @ 2025-07-05 17:42 UTC (permalink / raw)
  To: ntg-context, Mojca Miklavec; +Cc: Hans Hagen

On 7/5/2025 6:18 PM, Keith McKay wrote:
> Hi all,
> I've just recently updated ConTeXt to the most recent version  and I get 
> the following lua error at the end of the log in the terminal. I thought 
> it was a bit strange at the time but since the instal finished  "update 
> done" I continued on. However, when I ran some tex files the same lua 
> error appeared with no output. I tried the usual suggestions for when 
> there is a crash, but no change.
> Any thoughts?

not the latest binary ... i didn't check the build for that ... but it 
looks like that mac is off line

in the meantime:

ua error : function call: 
...ata/contextmacosarm64/tex/texmf-osx-arm64/bin/mtxrun.lua:6673: 
attempt to index a nil value (field 'mesh')

in that mtxrun.lua file go to those lines and comment the mesh bit or 
replace it with

     local mesh = vector.mesh

     if mesh then

         local ismesh  = mesh.ismesh
         local totable = mesh.totable

         setinspector("mesh",function(v)
             if ismesh(v) then
                 inspect(totable(v))
                 return true
             end
         end)

     end

do the same at the end of l-math.lua in order to be able to make a format.

If Mojca gets the machien online i'll update. Sorry for the problem,

Hans



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
___________________________________________________________________________________

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

* [NTG-context] Re: Error on recent update
       [not found]     ` <d397d4eb-f65a-400a-8f82-66737021f683@gmail.com>
@ 2025-07-07 15:53       ` Hans Hagen via ntg-context
  2025-07-08  9:59         ` Keith McKay
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen via ntg-context @ 2025-07-07 15:53 UTC (permalink / raw)
  To: Keith McKay, mailing list for ConTeXt users; +Cc: Mojca Miklavec, Hans Hagen

On 7/7/2025 4:12 PM, Keith McKay wrote:
> Hi Hans,
> I didn't have time on Saturday night to implement your solution so when 
> I got back to it on Sunday I saw their was an update which I decided to 
> install. However it came up with an error on installation as follows:
> 
>   lua error       > lua error on line 48 in file mlib-ctx.mkxl:
> 
> token call, execute: ...m64/tex/texmf-context/tex/context/base/mkxl/ 
> mlib-msh.lmt:45: attempt to index a nil value (local 'contour')
> stack traceback:

ah, same issue ... that code expects the latest bin

the good news is that Mojca figured out why the mac didn't compile so i 
can now make a new bin

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
___________________________________________________________________________________

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

* [NTG-context] Re: Error on recent update
  2025-07-07 15:53       ` Hans Hagen via ntg-context
@ 2025-07-08  9:59         ` Keith McKay
  0 siblings, 0 replies; 3+ messages in thread
From: Keith McKay @ 2025-07-08  9:59 UTC (permalink / raw)
  To: Hans Hagen, mailing list for ConTeXt users; +Cc: Mojca Miklavec

Thanks to Hans and Mojca the new bin works on my mac.

Best Wishes
Keith

On 07/07/2025 16:53, Hans Hagen wrote:
> On 7/7/2025 4:12 PM, Keith McKay wrote:
>> Hi Hans,
>> I didn't have time on Saturday night to implement your solution so 
>> when I got back to it on Sunday I saw their was an update which I 
>> decided to install. However it came up with an error on installation 
>> as follows:
>>
>>   lua error       > lua error on line 48 in file mlib-ctx.mkxl:
>>
>> token call, execute: ...m64/tex/texmf-context/tex/context/base/mkxl/ 
>> mlib-msh.lmt:45: attempt to index a nil value (local 'contour')
>> stack traceback:
>
> ah, same issue ... that code expects the latest bin
>
> the good news is that Mojca figured out why the mac didn't compile so 
> i can now make a new bin
>
> 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
___________________________________________________________________________________

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

end of thread, other threads:[~2025-07-08 10:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <6e8f6749-da18-4029-862d-9b348273e9e9@gmail.com>
2025-07-05 17:42 ` [NTG-context] Re: Error on recent update Hans Hagen via ntg-context
     [not found]   ` <CABX+t6BOvHN-EsywPJ9hmA-gkQkCgUbeo+oJXq4Dx85CP9j25w@mail.gmail.com>
     [not found]     ` <d397d4eb-f65a-400a-8f82-66737021f683@gmail.com>
2025-07-07 15:53       ` Hans Hagen via ntg-context
2025-07-08  9:59         ` Keith McKay

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