ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] cannot generate format file with current latest
@ 2023-04-30 13:19 Pablo Rodriguez via ntg-context
  2023-04-30 14:32 ` Bruce Horrocks via ntg-context
  2023-04-30 18:17 ` Hans Hagen via ntg-context
  0 siblings, 2 replies; 5+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2023-04-30 13:19 UTC (permalink / raw)
  To: ConTeXt users; +Cc: Pablo Rodriguez

Dear list,

I have just updated to current latest (2023.04.27 17:04).

I always delete cache with "mtxrun --generate" after an update.

When I try to create the format file with "context --make --all", I get
the following error message:

lua error       > lua error on line 645 in file context.mkxl:

token call, execute: ...ext/base/mkxl/cldf-pos.lmt:18: attempt to index
a nil value (global 'posit') stack traceback:
	...ext/base/mkxl/cldf-pos.lmt:18: in local 'code'
	...ext/base/mkiv/util-lua.lua:96: in field 'loadedluacode'
	...ext/base/mkiv/luat-env.lua:108: in field 'luafilechunk'
	...ext/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.)

Could anyone confirm the issue?

Many thanks for your help,

Pablo
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

* Re: [NTG-context] cannot generate format file with current latest
  2023-04-30 13:19 [NTG-context] cannot generate format file with current latest Pablo Rodriguez via ntg-context
@ 2023-04-30 14:32 ` Bruce Horrocks via ntg-context
  2023-04-30 17:04   ` Pablo Rodriguez via ntg-context
  2023-04-30 18:17 ` Hans Hagen via ntg-context
  1 sibling, 1 reply; 5+ messages in thread
From: Bruce Horrocks via ntg-context @ 2023-04-30 14:32 UTC (permalink / raw)
  To: ntg-context mailing list; +Cc: Bruce Horrocks, Pablo Rodriguez


> On 30 Apr 2023, at 14:19, Pablo Rodriguez via ntg-context <ntg-context@ntg.nl> wrote:
> 
> Dear list,
> 
> I have just updated to current latest (2023.04.27 17:04).
> 
> I always delete cache with "mtxrun --generate" after an update.
> 
> When I try to create the format file with "context --make --all", I get
> the following error message:
> 
> lua error       > lua error on line 645 in file context.mkxl:
> 
> token call, execute: ...ext/base/mkxl/cldf-pos.lmt:18: attempt to index
> a nil value (global 'posit') stack traceback:
> ...ext/base/mkxl/cldf-pos.lmt:18: in local 'code'
> ...ext/base/mkiv/util-lua.lua:96: in field 'loadedluacode'
> ...ext/base/mkiv/luat-env.lua:108: in field 'luafilechunk'
> ...ext/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.)
> 
> Could anyone confirm the issue?

No. Working fine for me on a Mac using that version, both before and after running "make all" and "generate".

—
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://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

* Re: [NTG-context] cannot generate format file with current latest
  2023-04-30 14:32 ` Bruce Horrocks via ntg-context
@ 2023-04-30 17:04   ` Pablo Rodriguez via ntg-context
  0 siblings, 0 replies; 5+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2023-04-30 17:04 UTC (permalink / raw)
  To: Bruce Horrocks via ntg-context; +Cc: Pablo Rodriguez

On 4/30/23 16:32, Bruce Horrocks via ntg-context wrote:
>> On 30 Apr 2023, at 14:19, Pablo Rodriguez wrote:
>> I have just updated to current latest (2023.04.27 17:04).
>>
>> I always delete cache with "mtxrun --generate" after an update.
>>
>> When I try to create the format file with "context --make --all", I get
>> the following error message:
>> [...]
>> Could anyone confirm the issue?
> 
> No. Working fine for me on a Mac using that version, both before and
> after running "make all" and "generate".

Many thanks for your fast reply, Bruce.

For some strange reason, binaries weren’t updated to latest ones.

Copying them from a brand-new install fixes the issue.

I wonder whether other Linux64 users experienced this.

Many thanks for your help,

Pablo

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

* Re: [NTG-context] cannot generate format file with current latest
  2023-04-30 13:19 [NTG-context] cannot generate format file with current latest Pablo Rodriguez via ntg-context
  2023-04-30 14:32 ` Bruce Horrocks via ntg-context
@ 2023-04-30 18:17 ` Hans Hagen via ntg-context
  2023-05-01  7:29   ` Pablo Rodriguez via ntg-context
  1 sibling, 1 reply; 5+ messages in thread
From: Hans Hagen via ntg-context @ 2023-04-30 18:17 UTC (permalink / raw)
  To: Pablo Rodriguez via ntg-context; +Cc: Hans Hagen

On 4/30/2023 3:19 PM, Pablo Rodriguez via ntg-context wrote:
> Dear list,
> 
> I have just updated to current latest (2023.04.27 17:04).
> 
> I always delete cache with "mtxrun --generate" after an update.
> 
> When I try to create the format file with "context --make --all", I get
> the following error message:
> 
> lua error       > lua error on line 645 in file context.mkxl:
> 
> token call, execute: ...ext/base/mkxl/cldf-pos.lmt:18: attempt to index
> a nil value (global 'posit') stack traceback:
you're running the wrong binary

-----------------------------------------------------------------
                                           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://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

* Re: [NTG-context] cannot generate format file with current latest
  2023-04-30 18:17 ` Hans Hagen via ntg-context
@ 2023-05-01  7:29   ` Pablo Rodriguez via ntg-context
  0 siblings, 0 replies; 5+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2023-05-01  7:29 UTC (permalink / raw)
  To: Hans Hagen via ntg-context; +Cc: Pablo Rodriguez

On 4/30/23 20:17, Hans Hagen via ntg-context wrote:
> On 4/30/2023 3:19 PM, Pablo Rodriguez via ntg-context wrote:
>> […]
>> When I try to create the format file with "context --make --all", I get
>> the following error message:
>> […]
>> token call, execute: ...ext/base/mkxl/cldf-pos.lmt:18: attempt to index
>> a nil value (global 'posit') stack traceback:
> 
> you're running the wrong binary

Many thanks for your reply, Hans.

I’m afraid I had to update the binaries manually.

After that, everything was fine.

Many thanks for your help,

Pablo
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2023-05-01  7:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-30 13:19 [NTG-context] cannot generate format file with current latest Pablo Rodriguez via ntg-context
2023-04-30 14:32 ` Bruce Horrocks via ntg-context
2023-04-30 17:04   ` Pablo Rodriguez via ntg-context
2023-04-30 18:17 ` Hans Hagen via ntg-context
2023-05-01  7:29   ` Pablo Rodriguez via ntg-context

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