ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* TeX Live 2019: attempt to call a nil value (upvalue 'isfile')
@ 2019-02-28 23:14 Henri Menke
  2019-02-28 23:17 ` Henri Menke
  2019-03-01  6:39 ` Mojca Miklavec
  0 siblings, 2 replies; 9+ messages in thread
From: Henri Menke @ 2019-02-28 23:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear list,

I just installed TeX Live 2019 pretest and running context --make fails with

    error in callback: ...xlive/2019/texmf-dist/tex/context/base/mkiv/luat-cod.lua:194: attempt to call a nil value (upvalue 'isfile')

This can easily be fixed by replacing in luat-cod.lua

    local isfile = lfs.isfile

with

    local isfile = function(file) return lfs.attributes(file,"mode") == "file" end

This should probably be fixed before the release.

Cheers, Henri

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

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

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

* Re: TeX Live 2019: attempt to call a nil value (upvalue 'isfile')
  2019-02-28 23:14 TeX Live 2019: attempt to call a nil value (upvalue 'isfile') Henri Menke
@ 2019-02-28 23:17 ` Henri Menke
  2019-02-28 23:20   ` luigi scarso
  2019-03-01  6:39 ` Mojca Miklavec
  1 sibling, 1 reply; 9+ messages in thread
From: Henri Menke @ 2019-02-28 23:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hm, it looks like the macro code hasn't been updated from 2018 yet, because
after fixing isfile it crashes when trying to load the old pdfe library.

Cheers, Henri

On 1/03/19 12:14 PM, Henri Menke wrote:
> Dear list,
> 
> I just installed TeX Live 2019 pretest and running context --make fails with
> 
>     error in callback: ...xlive/2019/texmf-dist/tex/context/base/mkiv/luat-cod.lua:194: attempt to call a nil value (upvalue 'isfile')
> 
> This can easily be fixed by replacing in luat-cod.lua
> 
>     local isfile = lfs.isfile
> 
> with
> 
>     local isfile = function(file) return lfs.attributes(file,"mode") == "file" end
> 
> This should probably be fixed before the release.
> 
> Cheers, Henri
> 

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

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

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

* Re: TeX Live 2019: attempt to call a nil value (upvalue 'isfile')
  2019-02-28 23:17 ` Henri Menke
@ 2019-02-28 23:20   ` luigi scarso
  0 siblings, 0 replies; 9+ messages in thread
From: luigi scarso @ 2019-02-28 23:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

On Fri, Mar 1, 2019 at 12:17 AM Henri Menke <henrimenke@gmail.com> wrote:

> Hm, it looks like the macro code hasn't been updated from 2018 yet, because
> after fixing isfile it crashes when trying to load the old pdfe library.
>
>
seems so.
I have just tested luatex 1.10 against the latest zip and it's all ok.

-- 
luigi

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

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

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

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

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

* Re: TeX Live 2019: attempt to call a nil value (upvalue 'isfile')
  2019-02-28 23:14 TeX Live 2019: attempt to call a nil value (upvalue 'isfile') Henri Menke
  2019-02-28 23:17 ` Henri Menke
@ 2019-03-01  6:39 ` Mojca Miklavec
  2019-03-01  7:15   ` Mojca Miklavec
  1 sibling, 1 reply; 9+ messages in thread
From: Mojca Miklavec @ 2019-03-01  6:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Fri, 1 Mar 2019 at 00:14, Henri Menke wrote:
>
> Dear list,
>
> I just installed TeX Live 2019 pretest and running context --make fails with
,
The latest ConTeXt has just been included yesterday and should be
available since today (some time after the usual nightly update cca. 5
hours ago + delays to finish the build and sync the mirrors).

So please retry.

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

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

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

* Re: TeX Live 2019: attempt to call a nil value (upvalue 'isfile')
  2019-03-01  6:39 ` Mojca Miklavec
@ 2019-03-01  7:15   ` Mojca Miklavec
  2019-03-01  7:50     ` luigi scarso
  0 siblings, 1 reply; 9+ messages in thread
From: Mojca Miklavec @ 2019-03-01  7:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Karl Berry

On Fri, 1 Mar 2019 at 07:39, Mojca Miklavec wrote:
> On Fri, 1 Mar 2019 at 00:14, Henri Menke wrote:
> >
> > Dear list,
> >
> > I just installed TeX Live 2019 pretest and running context --make fails with
> ,
> The latest ConTeXt has just been included yesterday and should be
> available since today (some time after the usual nightly update cca. 5
> hours ago + delays to finish the build and sync the mirrors).
>
> So please retry.

Here's my attempt of compiling
doc/context/sources/general/manuals/luatex/luatex.tex

fonts           > defining > font with asked name 'dejavusansmono' is
not found using lookup 'name'
fonts           > defining > unknown font 'dejavusansmono', loading aborted
fonts           > defining > unable to define 'dejavusansmono' as
'dejavu-10pt-tt-tf-0--0'
! error:  (linebreak): invalid list tail, probably missing
gluemtx-context     | fatal error: return code: 1

The first hint is that we should probably include more font
dependencies in ConTeXt scheme. I can take care of that if you have
further suggestions (other than dejavu).

I didn't check what the actual error could be (no time now).

I used darwinlegacy binaries.

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

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

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

* Re: TeX Live 2019: attempt to call a nil value (upvalue 'isfile')
  2019-03-01  7:15   ` Mojca Miklavec
@ 2019-03-01  7:50     ` luigi scarso
  2019-03-01 11:01       ` Mojca Miklavec
  0 siblings, 1 reply; 9+ messages in thread
From: luigi scarso @ 2019-03-01  7:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Karl Berry


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

On Fri, Mar 1, 2019 at 8:16 AM Mojca Miklavec <
mojca.miklavec.lists@gmail.com> wrote:

> On Fri, 1 Mar 2019 at 07:39, Mojca Miklavec wrote:
> > On Fri, 1 Mar 2019 at 00:14, Henri Menke wrote:
> > >
> > > Dear list,
> > >
> > > I just installed TeX Live 2019 pretest and running context --make
> fails with
> > ,
> > The latest ConTeXt has just been included yesterday and should be
> > available since today (some time after the usual nightly update cca. 5
> > hours ago + delays to finish the build and sync the mirrors).
> >
> > So please retry.
>
> Here's my attempt of compiling
> doc/context/sources/general/manuals/luatex/luatex.tex
>
> fonts           > defining > font with asked name 'dejavusansmono' is
> not found using lookup 'name'
> fonts           > defining > unknown font 'dejavusansmono', loading aborted
> fonts           > defining > unable to define 'dejavusansmono' as
> 'dejavu-10pt-tt-tf-0--0'
> ! error:  (linebreak): invalid list tail, probably missing
> gluemtx-context     | fatal error: return code: 1
>
>



> The first hint is that we should probably include more font
> dependencies in ConTeXt scheme. I can take care of that if you have
> further suggestions (other than dejavu).
>
>
just to be sure in my minimal with latest zip
$> context luatex
 mkiv lua stats  > used platform: linux-64, type: unix, binary subtree:
texmf-linux-64
mkiv lua stats  > used engine: luatex version 1.1 with functionality level
7088, banner: this is luatex, version 1.10.0 (tex live 2019)
mkiv lua stats  > control sequences: 53180 of 65536 + 100000
mkiv lua stats  > lua properties: engine: lua 5.3, used memory: 441 MB
(ctx: 437 MB), hash chars: min(64,40), symbol mask: utf (τεχ)
mkiv lua stats  > runtime: 21.608 seconds, 294 processed pages, 294 shipped
pages, 13.606 pages/second
system          | total runtime: 47.547 seconds

( forget the time, it's a zero-optimized binary (fast to compile))

In general: at every new release I have complains about "how deadly slow is
texlive  installation".
On the other side , some  could wonder why *DejaVu* are not installed by
default regardless of  engine/scheme.


-- 
luigi

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

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

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

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

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

* Re: TeX Live 2019: attempt to call a nil value (upvalue 'isfile')
  2019-03-01  7:50     ` luigi scarso
@ 2019-03-01 11:01       ` Mojca Miklavec
  2019-03-01 11:11         ` luigi scarso
  2019-03-01 11:41         ` Hans Hagen
  0 siblings, 2 replies; 9+ messages in thread
From: Mojca Miklavec @ 2019-03-01 11:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Fri, 1 Mar 2019 at 08:50, luigi scarso wrote:
>
> $> context luatex
>  mkiv lua stats  > used platform: linux-64, type: unix, binary subtree: texmf-linux-64
> mkiv lua stats  > used engine: luatex version 1.1 with functionality level 7088, banner: this is luatex, version 1.10.0 (tex live 2019)
> mkiv lua stats  > control sequences: 53180 of 65536 + 100000
> mkiv lua stats  > lua properties: engine: lua 5.3, used memory: 441 MB (ctx: 437 MB), hash chars: min(64,40), symbol mask: utf (τεχ)
> mkiv lua stats  > runtime: 21.608 seconds, 294 processed pages, 294 shipped pages, 13.606 pages/second
> system          | total runtime: 47.547 seconds

OK, strange. It works for me in TeX Live as well after I installed the
missing dejavu fonts. I didn't imagine that it would break with such a
strange error when a font is missing though.

> ( forget the time, it's a zero-optimized binary (fast to compile))

It takes even longer for me with the binary from the distribution.

> In general: at every new release I have complains about "how deadly slow is texlive  installation".
> On the other side , some  could wonder why *DejaVu* are not installed by default regardless of  engine/scheme.

You could wonder that for all the zillions of fonts that ship with TeX Live.
Only CM is compulsory, the rest is up to user's taste.

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

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

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

* Re: TeX Live 2019: attempt to call a nil value (upvalue 'isfile')
  2019-03-01 11:01       ` Mojca Miklavec
@ 2019-03-01 11:11         ` luigi scarso
  2019-03-01 11:41         ` Hans Hagen
  1 sibling, 0 replies; 9+ messages in thread
From: luigi scarso @ 2019-03-01 11:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

On Fri, Mar 1, 2019 at 12:01 PM Mojca Miklavec <
mojca.miklavec.lists@gmail.com> wrote:

> On Fri, 1 Mar 2019 at 08:50, luigi scarso wrote:
>
> > ( forget the time, it's a zero-optimized binary (fast to compile))
>
> It takes even longer for me with the binary from the distribution.
>

I know, but  we use the minimals  as checkpoint;
on that platform 47.547 seconds for standard luatex means that something is
(profoundly) wrong.



-- 
luigi

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

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

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

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

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

* Re: TeX Live 2019: attempt to call a nil value (upvalue 'isfile')
  2019-03-01 11:01       ` Mojca Miklavec
  2019-03-01 11:11         ` luigi scarso
@ 2019-03-01 11:41         ` Hans Hagen
  1 sibling, 0 replies; 9+ messages in thread
From: Hans Hagen @ 2019-03-01 11:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Mojca Miklavec

On 3/1/2019 12:01 PM, Mojca Miklavec wrote:
> On Fri, 1 Mar 2019 at 08:50, luigi scarso wrote:
>>
>> $> context luatex
>>   mkiv lua stats  > used platform: linux-64, type: unix, binary subtree: texmf-linux-64
>> mkiv lua stats  > used engine: luatex version 1.1 with functionality level 7088, banner: this is luatex, version 1.10.0 (tex live 2019)
>> mkiv lua stats  > control sequences: 53180 of 65536 + 100000
>> mkiv lua stats  > lua properties: engine: lua 5.3, used memory: 441 MB (ctx: 437 MB), hash chars: min(64,40), symbol mask: utf (τεχ)
>> mkiv lua stats  > runtime: 21.608 seconds, 294 processed pages, 294 shipped pages, 13.606 pages/second
>> system          | total runtime: 47.547 seconds
> 
> OK, strange. It works for me in TeX Live as well after I installed the
> missing dejavu fonts. I didn't imagine that it would break with such a
> strange error when a font is missing though.
> 
>> ( forget the time, it's a zero-optimized binary (fast to compile))
> 
> It takes even longer for me with the binary from the distribution.
On the mac, is that one run?

With luatex 1.10 (mingw 64 version), when i delete the tuc file so with 
multiple runs to get the cross ref and lists right, I get:

mkiv lua stats  > runtime: 13.676 seconds, 294 processed pages, 294 
shipped pages, 21.498 pages/second
system          | total runtime: 67.472 seconds

After that, single runs take around 13 seconds:

mkiv lua stats  > runtime: 13.227 seconds, 294 processed pages, 294 
shipped pages, 22.227 pages/second

so, so, on my laptop (which for sure is slower than yours) a 21 pps rate 
is normal

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

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

end of thread, other threads:[~2019-03-01 11:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-28 23:14 TeX Live 2019: attempt to call a nil value (upvalue 'isfile') Henri Menke
2019-02-28 23:17 ` Henri Menke
2019-02-28 23:20   ` luigi scarso
2019-03-01  6:39 ` Mojca Miklavec
2019-03-01  7:15   ` Mojca Miklavec
2019-03-01  7:50     ` luigi scarso
2019-03-01 11:01       ` Mojca Miklavec
2019-03-01 11:11         ` luigi scarso
2019-03-01 11:41         ` Hans Hagen

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