Re: [NTG-context] Heisenbug in current?

2022-11-23 Thread Thomas A. Schmitz via ntg-context

On 11/23/22 23:25, Hans Hagen via ntg-context wrote:

probably not that random ... can you put this on top of font-otr.lua

local number = number

and see if that helps .. if so you can then spend the rest of the 
evening figuring out where 'number' gets defined global


Yup, that seems to help! Thank you for the quick fix - I could swear it 
would pop up randomly, and sometimes not at all. As for the global 
definition - that will have to wait till tomorrow. I just had to take a 
painkiller because my back hurts and start feeling very tired... Thanks, 
as always!


Good night everybody

Thomas
___
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
___


Re: [NTG-context] Heisenbug in current?

2022-11-23 Thread Hans Hagen via ntg-context

On 11/23/2022 11:01 PM, Thomas A. Schmitz via ntg-context wrote:

Hi all,

I'm very hesitant to report this because I can't reproduce it 
consistently: some of my files don't compile with bizarre font errors, 
sometimes. At first I thought it may be a hardware problem on my laptop, 
but I've seen more or less the same error on 3 different computers now, 
intermittently. The offending call is always similar:


fonts   > otf loading > loading 
'/mnt/shared/lmtx/tex/texmf/fonts/data/public/dejavu/DejaVuSansMono.ttf', hash 'dejavusansmono'
otf reader  > fatal error in file 
'/mnt/shared/lmtx/tex/texmf/fonts/data/public/dejavu/DejaVuSansMono.ttf': ...e0dde776fb1556f32e/formats/luametatex/font-otr-macro.lua:1040: attempt to call a nil value (field 'to16dot16')


It concerns several fonts, both my own and (as here) from the 
installation, and the first error is always this "field 'to16dot16.'" 
Has anybody else seen this? Do the developers have any idea what this 
could be? Has there been a change in the code concerning this field?


Sorry for being so vague, but I'm pulling my hair  because this error 
crops up totally at random, AFAICS.

probably not that random ... can you put this on top of font-otr.lua

local number = number

and see if that helps .. if so you can then spend the rest of the 
evening figuring out where 'number' gets defined global


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://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
___


[NTG-context] Heisenbug in current?

2022-11-23 Thread Thomas A. Schmitz via ntg-context

Hi all,

I'm very hesitant to report this because I can't reproduce it 
consistently: some of my files don't compile with bizarre font errors, 
sometimes. At first I thought it may be a hardware problem on my laptop, 
but I've seen more or less the same error on 3 different computers now, 
intermittently. The offending call is always similar:


fonts   > otf loading > loading 
'/mnt/shared/lmtx/tex/texmf/fonts/data/public/dejavu/DejaVuSansMono.ttf', 
hash 'dejavusansmono'
otf reader  > fatal error in file 
'/mnt/shared/lmtx/tex/texmf/fonts/data/public/dejavu/DejaVuSansMono.ttf': 
...e0dde776fb1556f32e/formats/luametatex/font-otr-macro.lua:1040: 
attempt to call a nil value (field 'to16dot16')


It concerns several fonts, both my own and (as here) from the 
installation, and the first error is always this "field 'to16dot16.'" 
Has anybody else seen this? Do the developers have any idea what this 
could be? Has there been a change in the code concerning this field?


Sorry for being so vague, but I'm pulling my hair  because this error 
crops up totally at random, AFAICS.


All best

Thomas
___
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
___