context package error: unknown script 'context.lua' or 'mtx-context.lua'

Bug #622253 reported by Xan
38
This bug affects 7 people
Affects Status Importance Assigned to Milestone
context (Debian)
Fix Released
Unknown
context (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: context

I have 10.04 installed.
I installed texlive, pgf and context package.

texexec is running normal, but when I run context, I receive:

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

I asked in context mailing lists [http://www.ntg.nl/pipermail/ntg-context/2010/051734.html] and it seems really a bug.

Thanks,
Xan.

Revision history for this message
George (gnwiii) wrote :

I can confirm the probem:

Using a fresh install of 10.4 in a VM, then installing 'context' (which pulls in texlive), attempting to run "context <texfile>" gives:

 "MTXrun | unknown script 'context.lua' or 'mtx-context.lua'"

The problem is that each user needs to run "luatools --generate" before the context command can be used.
The command is a simple wrapper for mtxrun:

$ cat /usr/bin/context
!/bin/sh
mtxrun --script context "$@"

The need to run luatools is explained in README.MarkIV, but it would be preferable to have a more useful
message from "context" as many users will not think to look at the README's, and may resort to ill-advised
attempts to fix the problem, such as running "sudo luatools" or after enabling the "root" account.

The luatools utility can be used to check that mtx-contex.lua is found:

$ luatools mtx-context.lua
/usr/share/texmf/scripts/context/lua/mtx-context.lua

Xan (dxpublica)
Changed in context (Ubuntu):
status: New → Confirmed
Changed in context (Debian):
status: Unknown → New
Changed in context (Debian):
status: New → Fix Released
Revision history for this message
Xan (dxpublica) wrote :

The debian bug fixed has "normal" importance. I can't change from unknown.

Revision history for this message
Xan (dxpublica) wrote :

In 11.04, I get:

$ context arxiv.tex

MTXrun | forcing cache reload
MTXrun | resolvers: warning: no lua configuration files found
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'

Is this the same error?

Or another bug?

Thanks in advance,
Xan.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.