ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* 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
* 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

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 --
2010-05-26 10:20 unknown script 'context.lua' or 'mtx-context.lua' 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
2014-02-27 11:14 Tim Li

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