Hi, Otared—

I had

#!/bin/zsh

#set path=  ($path /usr/texbin /Applications/LuaMetaTeX/tex/texmf-osx-64/bin)
export PATH=~/context-osx-64/tex/texmf-osx-64/bin:~/context-osx-64/bin:~/context-osx-64/tex/texmf-osx-64/bin

~/context-osx-64/tex/texmf-osx-64/bin/mtxrun --autogenerate --script context --directives="system.showerror" --autopdf "$1" --purgeall

but on reading your response and checking my LuaMetaTeX directory, I changed the 2nd line to

export PATH=~/tex/texmf-osx-64/bin:~/context-osx-64/bin:~/context-osx-64/tex/texmf-osx-64/bin

and the files now process as they should.

It is odd that it worked before with the mistaken entry.

Many thanks to you and Hraban for your help!

Alan


On Sat, Sep 5, 2020 at 11:46 AM Otared Kavian <otared@gmail.com> wrote:
Hi Alan,

Where did you install LuaMetaTeX?
For instance my LuaMetaTeX.engine contains the following three lines:

#!/bin/bash

export PATH=/context-osx-64/tex/texmf-osx-64/bin:/context-osx-64/bin:/context-osx-64/tex/texmf-osx-64/bin

/context-osx-64/tex/texmf-osx-64/bin/mtxrun --autogenerate --script context --directives="system.showerror" --autopdf "$1" --purgeall

where I am invoking the file
        /context-osx-64/tex/texmf-osx-64/bin/mtxrun
which is in the folder context-osx-64 where I installed LuaMetaTeX by running
        sh install.sh

Therefore your LuaMetaTeX.engine file should contain the correct path.

Best regards: Otared

> On 5 Sep 2020, at 17:19, Alan Bowen <bowenalan03@gmail.com> wrote:
>
> No, Hraban, and I have never had a directory  /Users/bowen1/context-osx-64. Does Luametatex 2.10 (Context 2020.09.03) now require one?
>
> Alan
>
> On Sat, Sep 5, 2020 at 10:26 AM Henning Hraban Ramm <texml@fiee.net> wrote:
>
>
> > Am 05.09.2020 um 16:08 schrieb Alan Bowen <bowenalan03@gmail.com>:
> >
> > When I process
> > \starttext
> > Hello, world!
> > \stoptext
> > I get the following error message:
> >
> > /Users/bowen1/Library/TeXShop/Engines/LuaMetaTeX.engine:9: no such file or directory: /Users/bowen1/context-osx-64/tex/texmf-osx-64/bin/mtxrun
> >
> > resolvers       | formats | executing runner 'run luametatex format': /Applications/LuaMetaTeX/tex/texmf-osx-64/bin/luametatex --jobname="Version" --fmt=/Applications/LuaMetaTeX/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt --lua=/Applications/LuaMetaTeX/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui cont-yes.mkiv --c:autogenerate --c:currentrun=1 --c:file-line-error --c:fulljobname="./Version.tex" --c:input="./Version.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:synctex="1" --c:texmfbinpath="/Applications/LuaMetaTeX/tex/texmf-osx-64/bin"
> > mtx-context     | fatal error: return code: 11
> >
> > There is definitely a file
> > /Users/bowen1/Library/TeXShop/Engines/LuaMetaTeX.engine.
> > Previous versions of lmtx process without any problem.
>
> The message doesn’t ask for the engine file, but for the mtxrun script mentioned in line 9 of the engine.
>
> Is /Users/bowen1/context-osx-64/tex/texmf-osx-64/bin/mtxrun still valid in your installation?
>
> Hraban
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

___________________________________________________________________________________
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
___________________________________________________________________________________