ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* unknown script 'context.lua' or 'mtx-context.lua'
@ 2014-02-27 11:14 Tim Li
  0 siblings, 0 replies; 6+ messages in thread
From: Tim Li @ 2014-02-27 11:14 UTC (permalink / raw)
  To: ntg-context


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

Hi guys,

I haven't played with 
ConTeXt for three month because of my examinations. Today, I delete the 
old version and reinstall a new one from the ConTeXt garden, but it 
seems that the new one can't run successfully. It says that unknown script 'context.lua' or 'mtx-context.lua. The error messages is the following:

mtxrun          | forcing cache reload
resolvers      
 | resolving | looking for 'texmfcnf.lua' on given path 
'/home/peng/texmf/web2c' from specification 'home:texmf/web2c'
resolvers       | resolving | looking for 'texmfcnf.lua' on weird path '/usr/bin/' from specification 'selfautoloc:'
resolvers      
 | resolving | looking for 'texmfcnf.lua' on given path 
'/usr/bin/share/texmf-local/web2c' from specification 
'selfautoloc:/share/texmf-local/web2c'
resolvers       | resolving | 
looking for 'texmfcnf.lua' on given path '/usr/bin/share/texmf/web2c' 
from specification 'selfautoloc:/share/texmf/web2c'
resolvers       |
 resolving | looking for 'texmfcnf.lua' on given path 
'/usr/bin/texmf-local/web2c' from specification 
'selfautoloc:/texmf-local/web2c'
resolvers       | resolving | 
looking for 'texmfcnf.lua' on given path '/usr/bin/texmf/web2c' from 
specification 'selfautoloc:/texmf/web2c'
resolvers       | resolving | looking for 'texmfcnf.lua' on weird path '/usr/' from specification 'selfautodir:'
resolvers      
 | resolving | looking for 'texmfcnf.lua' on given path 
'/usr/share/texmf-local/web2c' from specification 
'selfautodir:/share/texmf-local/web2c'
resolvers       | resolving | 
looking for 'texmfcnf.lua' on given path '/usr/share/texmf/web2c' from 
specification 'selfautodir:/share/texmf/web2c'
resolvers       | 
resolving | looking for 'texmfcnf.lua' on given path 
'/usr/texmf-local/web2c' from specification 
'selfautodir:/texmf-local/web2c'
resolvers       | resolving | 
looking for 'texmfcnf.lua' on given path '/usr/texmf/web2c' from 
specification 'selfautodir:/texmf/web2c'
resolvers       | resolving |
 looking for 'texmfcnf.lua' on given path './../texmf-local/web2c' from 
specification 'selfautoparent:/../texmf-local/web2c'
resolvers       | resolving | looking for 'texmfcnf.lua' on weird path './' from specification 'selfautoparent:'
resolvers      
 | resolving | looking for 'texmfcnf.lua' on given path 
'./share/texmf-local/web2c' from specification 
'selfautoparent:/share/texmf-local/web2c'
resolvers       | resolving
 | looking for 'texmfcnf.lua' on given path './share/texmf/web2c' from 
specification 'selfautoparent:/share/texmf/web2c'
resolvers       | 
resolving | looking for 'texmfcnf.lua' on given path 
'./texmf-local/web2c' from specification 
'selfautoparent:/texmf-local/web2c'
resolvers       | resolving | 
looking for 'texmfcnf.lua' on given path './texmf/web2c' from 
specification 'selfautoparent:/texmf/web2c'
resolvers       | resolving |
resolvers       | resolving | warning: no lua configuration files found
resolvers       | resolving | no texmf paths are defined (using TEXMF)
resolvers       | resolving |
mtxrun          | the resolver databases are not present or outdated
resolvers       | resolving | using suffix based filetype 'lua'
resolvers       | resolving | remembering file 'mtx-context.lua'
resolvers       | resolving | using suffix based filetype 'lua'
resolvers       | resolving | remembering file 'mtx-contexts.lua'
resolvers       | resolving | remembered file 'mtx-context.lua'
resolvers       | resolving | using suffix based filetype 'lua'
resolvers       | resolving | remembering file 'mtx-t-context.lua'
resolvers       | resolving | using suffix based filetype 'lua'
resolvers       | resolving | remembering file 'mtx-t-contexts.lua'
resolvers       | resolving | remembered file 'mtx-t-context.lua'
resolvers       | resolving | using suffix based filetype 'lua'
resolvers       | resolving | remembering file 'context.lua'
mtxrun          | unknown script 'context.lua' or 'mtx-context.lua'

Best wishes,
Tim 		 	   		  

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

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: unknown script 'context.lua' or 'mtx-context.lua'
  2010-05-26 10:34   ` Mojca Miklavec
@ 2010-05-26 21:33     ` Hans Hagen
  0 siblings, 0 replies; 6+ messages in thread
From: Hans Hagen @ 2010-05-26 21:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Mojca Miklavec

On 26-5-2010 12:34, Mojca Miklavec wrote:
> On Wed, May 26, 2010 at 12:25, Taco Hoekwater wrote:
>>
>> Mojca Miklavec wrote:
>>> Hans,
>>>
>>> why don't you add a special-case in this case:
>>>
>>>> context test
>>> MTXrun | unknown script 'context.lua' or 'mtx-context.lua'
>>
>> Coincidence: Hans and I discussed this same thing just this morning.
>
> Wow, great :) Mindreading.
>
> Thanks a lot,
>      Mojca
>
> PS (not to be taken too seriously): The second thought probably had to
> do with "if there's format version mismatch in mkii, write out some
> temporary file or some signal line in tuo file that triggers 'texexec
> --make' in the 'post-processing step' and thus eliminates the need to
> do it manually every time" or did I misinterpret the signal that came
> all the way from Netherlands? :) :) :)

that needs a bit of thinking; in mkiv it's easier as there the engine 
runs context and context then determines it while in pdftex an old 
format and new engine does not come that far; what could be made to work 
is auto format making when there is a context update (and forget about 
the engine)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: unknown script 'context.lua' or 'mtx-context.lua'
  2010-05-26 10:20 Mojca Miklavec
  2010-05-26 10:25 ` Taco Hoekwater
@ 2010-05-26 21:30 ` Hans Hagen
  1 sibling, 0 replies; 6+ messages in thread
From: Hans Hagen @ 2010-05-26 21:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Mojca Miklavec

On 26-5-2010 12:20, Mojca Miklavec wrote:
> Hans,
>
> why don't you add a special-case in this case:
>
>> context test
> MTXrun | unknown script 'context.lua' or 'mtx-context.lua'
>
> if 'context.lua' cannot be found then either:
> a) instead of printing out "unknown script 'context.lua'" print out
> "please run 'luatools --generate'" - it will be less confusing for
> users

and then with any typo a generate? no fun

> b) or (may be even better) try to run "luatools --generate"
> automatically and then retry

see email taco

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: unknown script 'context.lua' or 'mtx-context.lua'
  2010-05-26 10:25 ` Taco Hoekwater
@ 2010-05-26 10:34   ` Mojca Miklavec
  2010-05-26 21:33     ` Hans Hagen
  0 siblings, 1 reply; 6+ messages in thread
From: Mojca Miklavec @ 2010-05-26 10:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, May 26, 2010 at 12:25, Taco Hoekwater wrote:
>
> Mojca Miklavec wrote:
>> Hans,
>>
>> why don't you add a special-case in this case:
>>
>>> context test
>> MTXrun | unknown script 'context.lua' or 'mtx-context.lua'
>
> Coincidence: Hans and I discussed this same thing just this morning.

Wow, great :) Mindreading.

Thanks a lot,
    Mojca

PS (not to be taken too seriously): The second thought probably had to
do with "if there's format version mismatch in mkii, write out some
temporary file or some signal line in tuo file that triggers 'texexec
--make' in the 'post-processing step' and thus eliminates the need to
do it manually every time" or did I misinterpret the signal that came
all the way from Netherlands? :) :) :)
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: unknown script 'context.lua' or 'mtx-context.lua'
  2010-05-26 10:20 Mojca Miklavec
@ 2010-05-26 10:25 ` Taco Hoekwater
  2010-05-26 10:34   ` Mojca Miklavec
  2010-05-26 21:30 ` Hans Hagen
  1 sibling, 1 reply; 6+ messages in thread
From: Taco Hoekwater @ 2010-05-26 10:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users



Mojca Miklavec wrote:
> Hans,
> 
> why don't you add a special-case in this case:
> 
>> context test
> MTXrun | unknown script 'context.lua' or 'mtx-context.lua'

Coincidence: Hans and I discussed this same thing just this morning.

> b) or (may be even better) try to run "luatools --generate"
> automatically and then retry

We decided we want b) but only if there is no database at
all yet (to avoid lengthy processing of mtxrun --script fnts)

Best wishes,
Taco

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* unknown script 'context.lua' or 'mtx-context.lua'
@ 2010-05-26 10:20 Mojca Miklavec
  2010-05-26 10:25 ` Taco Hoekwater
  2010-05-26 21:30 ` Hans Hagen
  0 siblings, 2 replies; 6+ messages in thread
From: Mojca Miklavec @ 2010-05-26 10:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hans,

why don't you add a special-case in this case:

> context test
MTXrun | unknown script 'context.lua' or 'mtx-context.lua'

if 'context.lua' cannot be found then either:
a) instead of printing out "unknown script 'context.lua'" print out
"please run 'luatools --generate'" - it will be less confusing for
users
b) or (may be even better) try to run "luatools --generate"
automatically and then retry

I guess that there is some not-too-difficult way to figure out from
within mtxrun that no database exists yet.

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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2014-02-27 11:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-27 11:14 unknown script 'context.lua' or 'mtx-context.lua' Tim Li
  -- strict thread matches above, loose matches on Subject: below --
2010-05-26 10:20 Mojca Miklavec
2010-05-26 10:25 ` Taco Hoekwater
2010-05-26 10:34   ` Mojca Miklavec
2010-05-26 21:33     ` Hans Hagen
2010-05-26 21:30 ` 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).