[Context] [Bug 379146] [NEW] mtxrun
Public bug reported: from Alan BRASLAU, untested I did a fresh install of the minimals today and observed a fleeting, obscure mtxrun bug: $ context myfile did not find the script mtx-context.lua $ mtxrun --script /usr/local/context/tex/texmf-context/\ scripts/context/lua/mtx-context.lua myfile ran fine, as now does all subsequent runs of "context myfile". So something gets initialized, but is not found by default. You will only notice this upon a (totally) fresh install. ** Affects: context Importance: Undecided Status: New -- mtxrun https://bugs.launchpad.net/bugs/379146 You received this bug notification because you are a member of ConTeXt distribution team, which is the registrant for ConTeXt distribution. Status in ConTeXt distribution: New Bug description: from Alan BRASLAU, untested I did a fresh install of the minimals today and observed a fleeting, obscure mtxrun bug: $ context myfile did not find the script mtx-context.lua $ mtxrun --script /usr/local/context/tex/texmf-context/\ scripts/context/lua/mtx-context.lua myfile ran fine, as now does all subsequent runs of "context myfile". So something gets initialized, but is not found by default. You will only notice this upon a (totally) fresh install.
Mojca Miklavec wrote:
Public bug reported:
from Alan BRASLAU, untested
I did a fresh install of the minimals today and observed a fleeting, obscure mtxrun bug: $ context myfile did not find the script mtx-context.lua $ mtxrun --script /usr/local/context/tex/texmf-context/\ scripts/context/lua/mtx-context.lua myfile ran fine, as now does all subsequent runs of "context myfile". So something gets initialized, but is not found by default. You will only notice this upon a (totally) fresh install.
maybe mtxrun is generating the file database? ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
I am getting a similar error: MTXrun | unknown script 'context.lua' or 'mtx-context.lua' upon a fresh install of context. -- mtxrun https://bugs.launchpad.net/bugs/379146 You received this bug notification because you are a member of ConTeXt distribution team, which is the registrant for ConTeXt distribution. Status in ConTeXt distribution: New Bug description: from Alan BRASLAU, untested I did a fresh install of the minimals today and observed a fleeting, obscure mtxrun bug: $ context myfile did not find the script mtx-context.lua $ mtxrun --script /usr/local/context/tex/texmf-context/\ scripts/context/lua/mtx-context.lua myfile ran fine, as now does all subsequent runs of "context myfile". So something gets initialized, but is not found by default. You will only notice this upon a (totally) fresh install.
Can you please describe: - the platform you are using - the base path where you store minimals - how exactly you install - how exactly you initialize the environment - how exactly you run your hello-world document Since I cannot reproduce the problem ... not even on a completely fresh install. Thanks. -- mtxrun https://bugs.launchpad.net/bugs/379146 You received this bug notification because you are a member of ConTeXt distribution team, which is the registrant for ConTeXt distribution. Status in ConTeXt distribution: New Bug description: from Alan BRASLAU, untested I did a fresh install of the minimals today and observed a fleeting, obscure mtxrun bug: $ context myfile did not find the script mtx-context.lua $ mtxrun --script /usr/local/context/tex/texmf-context/\ scripts/context/lua/mtx-context.lua myfile ran fine, as now does all subsequent runs of "context myfile". So something gets initialized, but is not found by default. You will only notice this upon a (totally) fresh install.
Ubuntu 10.10. # mkdir /usr/local/context # chown meta /usr/local/context # cd /usr/local/context # su meta $ wget http://minimals.contextgarden.net/setup/first-setup.sh $ sh first-setup.sh --context=current $ cd ~/Documents/Reference/ConTeXt $ . /usr/local/context/tex/setuptex Setting "/usr/local/context/tex" as ConTeXt root. $ context test.tex MTXrun | forcing cache reload MTXrun | resolvers: loading configuration file '/usr/local/context/tex/texmf/web2c/texmfcnf.lua' MTXrun | resolvers MTXrun | resolvers MTXrun | resolvers MTXrun | the resolver databases are not present or outdated MTXrun | resolvers: using suffix based filetype 'lua' MTXrun | resolvers: using suffix based filetype 'lua' MTXrun | resolvers: remembering file 'mtx-context.lua' MTXrun | resolvers: using suffix based filetype 'lua' MTXrun | unknown script 'context.lua' or 'mtx-context.lua' $ which context /usr/local/context/tex/texmf-linux/bin/context $ -- You received this bug notification because you are a member of ConTeXt distribution team, which is the registrant for ConTeXt distribution. https://bugs.launchpad.net/bugs/379146 Title: mtxrun Status in ConTeXt distribution: New Bug description: from Alan BRASLAU, untested I did a fresh install of the minimals today and observed a fleeting, obscure mtxrun bug: $ context myfile did not find the script mtx-context.lua $ mtxrun --script /usr/local/context/tex/texmf-context/\ scripts/context/lua/mtx-context.lua myfile ran fine, as now does all subsequent runs of "context myfile". So something gets initialized, but is not found by default. You will only notice this upon a (totally) fresh install.
$ mtxrun --script /usr/local/context/tex/texmf-context/scripts/context/lua/mtx-context.lua test.tex MTXrun | forcing cache reload MTXrun | resolvers: loading configuration file '/usr/local/context/tex/texmf/web2c/texmfcnf.lua' MTXrun | resolvers MTXrun | resolvers MTXrun | resolvers MTXrun | the resolver databases are not present or outdated MTXrun | warning: no format found, forcing remake (commandline driven) MTXrun | resolvers: loading configuration file '/usr/local/context/tex/texmf/web2c/texmfcnf.lua' MTXrun | resolvers MTXrun | resolvers MTXrun | resolvers MTXrun | format path: /usr/local/context/tex/texmf-cache/luatex-cache/context/9900c4dbe97a1b14af2919f718cfda5b/formats MTXrun | resolvers: using given filetype 'tex' MTXrun | no tex source file with name: cont-en.tex MTXrun | error, no format found with name: cont-en, aborting MTXrun | total runtime: 0.021 $ The cache directory does exist. -- You received this bug notification because you are a member of ConTeXt distribution team, which is the registrant for ConTeXt distribution. https://bugs.launchpad.net/bugs/379146 Title: mtxrun Status in ConTeXt distribution: New Bug description: from Alan BRASLAU, untested I did a fresh install of the minimals today and observed a fleeting, obscure mtxrun bug: $ context myfile did not find the script mtx-context.lua $ mtxrun --script /usr/local/context/tex/texmf-context/\ scripts/context/lua/mtx-context.lua myfile ran fine, as now does all subsequent runs of "context myfile". So something gets initialized, but is not found by default. You will only notice this upon a (totally) fresh install.
Tried again without "--context=current" on the execution of first- setup.sh, and that works. So I conclude that the stable release is broken, but the beta works. -- You received this bug notification because you are a member of ConTeXt distribution team, which is the registrant for ConTeXt distribution. https://bugs.launchpad.net/bugs/379146 Title: mtxrun Status in ConTeXt distribution: New Bug description: from Alan BRASLAU, untested I did a fresh install of the minimals today and observed a fleeting, obscure mtxrun bug: $ context myfile did not find the script mtx-context.lua $ mtxrun --script /usr/local/context/tex/texmf-context/\ scripts/context/lua/mtx-context.lua myfile ran fine, as now does all subsequent runs of "context myfile". So something gets initialized, but is not found by default. You will only notice this upon a (totally) fresh install.
I had the same problem. I found running 'luatools --generate' fixed it. Maybe it should be run as part of a postinst hook. -- You received this bug notification because you are a member of ConTeXt distribution team, which is the registrant for ConTeXt distribution. https://bugs.launchpad.net/bugs/379146 Title: mtxrun Status in ConTeXt distribution: New Bug description: from Alan BRASLAU, untested I did a fresh install of the minimals today and observed a fleeting, obscure mtxrun bug: $ context myfile did not find the script mtx-context.lua $ mtxrun --script /usr/local/context/tex/texmf-context/\ scripts/context/lua/mtx-context.lua myfile ran fine, as now does all subsequent runs of "context myfile". So something gets initialized, but is not found by default. You will only notice this upon a (totally) fresh install. To manage notifications about this bug go to: https://bugs.launchpad.net/context/+bug/379146/+subscriptions
On 06/11/2011 06:48 AM, Kip Warner wrote:
I had the same problem. I found running 'luatools --generate' fixed it. Maybe it should be run as part of a postinst hook.
Probably this happened because some changes have been made to the variable 'cnfluaspec'. That is used to find texmfcnf.lua, and it is also used as part of the hashed cache path, so any changes to it make the old already generated cache unreachable. The problem is transient indeed, and in a fully new install it would not have happened at all. Best wishes, Taco -- You received this bug notification because you are a member of ConTeXt distribution team, which is the registrant for ConTeXt distribution. https://bugs.launchpad.net/bugs/379146 Title: mtxrun Status in ConTeXt distribution: New Bug description: from Alan BRASLAU, untested I did a fresh install of the minimals today and observed a fleeting, obscure mtxrun bug: $ context myfile did not find the script mtx-context.lua $ mtxrun --script /usr/local/context/tex/texmf-context/\ scripts/context/lua/mtx-context.lua myfile ran fine, as now does all subsequent runs of "context myfile". So something gets initialized, but is not found by default. You will only notice this upon a (totally) fresh install. To manage notifications about this bug go to: https://bugs.launchpad.net/context/+bug/379146/+subscriptions
participants (6)
-
Hans Hagen
-
Kip Warner
-
mathew
-
Mojca Miklavec
-
Runa
-
Taco Hoekwater