ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* bug in beta from 2019.05.25 10:45
@ 2019-05-26  8:56 Pablo Rodriguez
  2019-05-26  9:11 ` Pablo Rodriguez
  2019-05-26 11:49 ` Hans Hagen
  0 siblings, 2 replies; 7+ messages in thread
From: Pablo Rodriguez @ 2019-05-26  8:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Hans,

here is my minimal sample:

    \starttext
    \input zapf
    \stoptext

And here the error I get:

    lua error       > lua error on line 1 in file a.tex:
    ...ce0dde776fb1556f32e/formats/luajittex/lpdf-ini-macro.lua:1029:
     attempt to call upvalue 'pdfsetpageresources' (a nil value)
     1 >>  \starttext
     2     \input zapf
     3     \stoptext

Just in case it helps,

Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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] 7+ messages in thread

* Re: bug in beta from 2019.05.25 10:45
  2019-05-26  8:56 bug in beta from 2019.05.25 10:45 Pablo Rodriguez
@ 2019-05-26  9:11 ` Pablo Rodriguez
  2019-05-26 11:49 ` Hans Hagen
  1 sibling, 0 replies; 7+ messages in thread
From: Pablo Rodriguez @ 2019-05-26  9:11 UTC (permalink / raw)
  To: ntg-context

On 5/26/19 10:56 AM, Pablo Rodriguez wrote:
> [...]
> And here the error I get:
>
>     lua error       > lua error on line 1 in file a.tex:
>     ...ce0dde776fb1556f32e/formats/luajittex/lpdf-ini-macro.lua:1029:
>      attempt to call upvalue 'pdfsetpageresources' (a nil value)
>      1 >>  \starttext

BTW, I have just noticed that this only affects to MkIV, not to LMTX.

Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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] 7+ messages in thread

* Re: bug in beta from 2019.05.25 10:45
  2019-05-26  8:56 bug in beta from 2019.05.25 10:45 Pablo Rodriguez
  2019-05-26  9:11 ` Pablo Rodriguez
@ 2019-05-26 11:49 ` Hans Hagen
  2019-05-26 19:52   ` Pablo Rodriguez
  1 sibling, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2019-05-26 11:49 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 5/26/2019 10:56 AM, Pablo Rodriguez wrote:
> \starttext
>      \input zapf
>      \stoptext

no error here .. is that really the whole example?

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] 7+ messages in thread

* Re: bug in beta from 2019.05.25 10:45
  2019-05-26 11:49 ` Hans Hagen
@ 2019-05-26 19:52   ` Pablo Rodriguez
  2019-05-26 20:12     ` Hans Hagen
  0 siblings, 1 reply; 7+ messages in thread
From: Pablo Rodriguez @ 2019-05-26 19:52 UTC (permalink / raw)
  To: ntg-context

[-- Attachment #1: Type: text/plain, Size: 328 bytes --]

On 5/26/19 1:49 PM, Hans Hagen wrote:
> On 5/26/2019 10:56 AM, Pablo Rodriguez wrote:
>> \starttext
>>      \input zapf
>>      \stoptext
>
> no error here .. is that really the whole example?

It is the whole example.

I’m attaching the four files.

Just in case it might help,

Pablo
--
http://www.ousia.tk

[-- Attachment #2: untitled-error.log --]
[-- Type: text/x-log, Size: 1153 bytes --]

return {
 ["filename"]="untitled.tex",
 ["lastcontext"]="\
<argument> \\shipoutscratchbox \
                    \
\\page_shipout_box #1->\\clf_shipoutpage #1\
                          \\relax \\global \\setbox #1\\emptybox \\global \\deadcy...\
\\page_shipouts_normal ...hbox }}\\page_shipout_box \\shipoutscratchbox \
                                                  \\else \\page_shipouts_ignor...\
\\page_boxes_shipout ...\\shipoutscratchbox \\box \\shipoutscratchbox }\
                                                  \\fi \\setnextrealpageno \\th...\
\\page_otr_construct_and_shipout ..._shipout {\\page_boxes_constructed_page #1#2}\
                                                  \\page_otr_flush_pending_co...\
\\page_sides_output_routine ->\\page_otr_command_side_float_output \
                                         \\ifconditional \\c_page_sides_short ...\
...\
l.3     \\stoptext\
                ",
 ["lastluaerror"]="...ce0dde776fb1556f32e/formats/luajittex/lpdf-ini-macro.lua:1029: attempt to call upvalue 'pdfsetpageresources' (a nil value)",
 ["lasttexerror"]="?",
 ["linenumber"]=1,
 ["luaerrorline"]="1029",
 ["offset"]=10,
}

[-- Attachment #3: untitled.pdf --]
[-- Type: application/pdf, Size: 1083 bytes --]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #4: untitled.log --]
[-- Type: text/x-log; name="untitled.log", Size: 1583 bytes --]

open source     > level 1, order 1, name '/home/ousia/ctxbeta/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv'
system          >
system          > ConTeXt  ver: 2019.05.25 10:45 MKIV beta  fmt: 2019.5.26  int: english/english
system          >
system          > 'cont-new.mkiv' loaded
open source     > level 2, order 2, name '/home/ousia/ctxbeta/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system          > beware: some patches loaded from cont-new.mkiv
close source    > level 2, order 2, name '/home/ousia/ctxbeta/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system          > files > jobname 'untitled', input './untitled.xml', result 'untitled'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
open source     > level 2, order 3, name 'untitled.tex'
fonts           > preloading latin modern fonts (second stage)
fonts           > 'fallback modern-designsize rm 12pt' is loaded
open source     > level 3, order 4, name '/home/ousia/ctxbeta/tex/texmf-context/tex/context/sample/common/zapf.tex'
close source    > level 3, order 4, name '/home/ousia/ctxbeta/tex/texmf-context/tex/context/sample/common/zapf.tex'
backend         > xmp > using file '/home/ousia/ctxbeta/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml'

lua error       > lua error on line 1 in file untitled.tex:

...ce0dde776fb1556f32e/formats/luajittex/lpdf-ini-macro.lua:1029: attempt to call upvalue 'pdfsetpageresources' (a nil value)

1 >>      \starttext
2         \input zapf
3         \stoptext
4


[-- Attachment #5: untitled.tex --]
[-- Type: text/x-tex, Size: 45 bytes --]

    \starttext
    \input zapf
    \stoptext

[-- Attachment #6: 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] 7+ messages in thread

* Re: bug in beta from 2019.05.25 10:45
  2019-05-26 19:52   ` Pablo Rodriguez
@ 2019-05-26 20:12     ` Hans Hagen
  2019-05-27 17:18       ` Pablo Rodriguez
  0 siblings, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2019-05-26 20:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 5/26/2019 9:52 PM, Pablo Rodriguez wrote:
> On 5/26/19 1:49 PM, Hans Hagen wrote:
>> On 5/26/2019 10:56 AM, Pablo Rodriguez wrote:
>>> \starttext
>>>       \input zapf
>>>       \stoptext
>>
>> no error here .. is that really the whole example?
> 
> It is the whole example.
> 
> I’m attaching the four files.
> 
> Just in case it might help,
What if you wipe the whole cache? I see you use luajittex. What with 
luatex?

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] 7+ messages in thread

* Re: bug in beta from 2019.05.25 10:45
  2019-05-26 20:12     ` Hans Hagen
@ 2019-05-27 17:18       ` Pablo Rodriguez
  2019-05-27 17:41         ` Hans Hagen
  0 siblings, 1 reply; 7+ messages in thread
From: Pablo Rodriguez @ 2019-05-27 17:18 UTC (permalink / raw)
  To: ntg-context

On 5/26/19 10:12 PM, Hans Hagen wrote:
> On 5/26/2019 9:52 PM, Pablo Rodriguez wrote:
> [...]
> What if you wipe the whole cache?

I’m afraid it doesn’t work either.

But this is weird. I’m able to typeset whole books from XML sources with
environments using luajittex.

> I see you use luajittex. What with luatex?

It works perfectly fine with luatex.

Probably I should move to pure LuaTeX.

Many thanks for your help,

Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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] 7+ messages in thread

* Re: bug in beta from 2019.05.25 10:45
  2019-05-27 17:18       ` Pablo Rodriguez
@ 2019-05-27 17:41         ` Hans Hagen
  0 siblings, 0 replies; 7+ messages in thread
From: Hans Hagen @ 2019-05-27 17:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 5/27/2019 7:18 PM, Pablo Rodriguez wrote:
> On 5/26/19 10:12 PM, Hans Hagen wrote:
>> On 5/26/2019 9:52 PM, Pablo Rodriguez wrote:
>> [...]
>> What if you wipe the whole cache?
> 
> I’m afraid it doesn’t work either.
> 
> But this is weird. I’m able to typeset whole books from XML sources with
> environments using luajittex.
> 
>> I see you use luajittex. What with luatex?
> 
> It works perfectly fine with luatex.

So there is some mess up at your end then ... wrong format? There is no 
fundamental difference with luajittex (unless making the format fails 
but that should be visible). I use lmtx myself but run the test suite 
with both engines before an update, just to be sure.

> Probably I should move to pure LuaTeX.

As lmtx will not use luajit (in fact it uses lua 5.4) that is a good 
idea anyway. To slowly migrate. Of course context mkiv will keep working 
with luajittex as long as that will be provided (when luatex ever moves 
to lua 5.4 it might become too cumbersome, currently I can work around 
the fundamental differences but it's not always pretty).

I'm still not sure how to proceed, with a duplicate code base or not, or 
maybe just assume a frozen regular install and a further developed lmtx 
one. The performance gain of luajittex over luametatex is for context 
not that impressive any more. We'll see once the pending issues with 
lmtx are solved.

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] 7+ messages in thread

end of thread, other threads:[~2019-05-27 17:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-26  8:56 bug in beta from 2019.05.25 10:45 Pablo Rodriguez
2019-05-26  9:11 ` Pablo Rodriguez
2019-05-26 11:49 ` Hans Hagen
2019-05-26 19:52   ` Pablo Rodriguez
2019-05-26 20:12     ` Hans Hagen
2019-05-27 17:18       ` Pablo Rodriguez
2019-05-27 17: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).