Re: [NTG-context] [solved] Error in latest beta: luat-exe.lua not found

2016-01-16 Thread Romain Diss
Le 16/01/2016, Hans Hagen a écrit
> On 1/16/2016 12:14 AM, Romain Diss wrote:
> >Hi all,
> >
> >
> >Le 13/01/2016, Hans Hagen a écrit
> >>On 1/13/2016 1:22 AM, Romain Diss wrote:
> >>>Le 13/01/2016, Hans Hagen a écrit
> On 1/13/2016 12:01 AM, Romain Diss wrote:
> >On 1/12/2016, Hans Hagen wrote:
> >>On 1/12/2016 9:33 PM, Romain Diss wrote:
> >>>I just downloaded the new beta and I can not launch context anymore. It
> >>>complains it can't find a 'luat-exe.lua' file:
> system  > lua > loading of file 
> '/opt/context/tex/texmf-context/tex/context/base/luat-exe.lua' failed:
>  cannot open 
>  /opt/context/tex/texmf-context/tex/context/base/luat-exe.lua: No 
>  such file or directory
> resolvers   > lua > loading file 
> '/opt/context/tex/texmf-context/tex/context/base/luat-exe.lua' failed
> error loading file: luat-exe.lua (aborting)
> 
> is that file sompelace on the system?
> >>>Yes, it is located in 
> >>>/opt/context/tex/texmf-context/tex/context/base/mkiv/luat-exe.lua
> >>>
> >>>Concerning the 'context --version' error message, the 'context.mkiv' is
> >>>also located in /opt/context/tex/texmf-context/tex/context/base/mkiv/
> >>>and not in /opt/context/tex/texmf-context/tex/context/base/ as printed
> >>>in the output.
> >>
> >>i'll upload a version with a bit more checking
> >Still not working here. Is there a way to downgrade my installation back
> >to the last context beta without the mkii and mkiv subdirs in order to
> >be able to use context again (and wait for a solution)?
> 
> you're the only one with this issue (or the only one who reports it) so i
> have no clue what to do
> 
> does a fresh install work ?
After a lot of tests, I found the origin of the problem:
- I had a custom texmfcache dir set in my .bashrc file:
  > export TEXMFCACHE="${HOME}/.texmf-var"
- I certainly changed by mistake the acces rights of this texmfcache
  dir so it was write/read/execute protected.

So I change the acces rights of the dir and ran 'mtxrun --generate'
again and this solved everything. Maybe this can help to add checks for
this case.

Again thanks for your help.

PS: I agree with Thomas that the mkii and mkiv split is a really good
thing (however, I wonder why first-setup.sh installs the mkii dir when
called with --engine=luatex…)

All the best.


-- 
Romain Diss
___
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
___

Re: [NTG-context] [solved] Error in latest beta: luat-exe.lua not found

2016-01-16 Thread Hans Hagen

On 1/16/2016 8:35 PM, Romain Diss wrote:


PS: I agree with Thomas that the mkii and mkiv split is a really good
thing (however, I wonder why first-setup.sh installs the mkii dir when
called with --engine=luatex…)


because it remembers that you have installed mkii before (there is a 
status file)


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | 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
___

Re: [NTG-context] [solved] Error in latest beta: luat-exe.lua not found

2016-01-16 Thread Hans Hagen

On 1/17/2016 12:18 AM, Romain Diss wrote:

Hi,

Le 16/01/2016, Hans Hagen a écrit

On 1/16/2016 8:35 PM, Romain Diss wrote:


PS: I agree with Thomas that the mkii and mkiv split is a really good
thing (however, I wonder why first-setup.sh installs the mkii dir when
called with --engine=luatex…)


because it remembers that you have installed mkii before (there is a status
file)

That's not an important point but I tried an installation after removing
this status file and I still get the mkii directory. I also tried to set
engines.pdftex and engines.xetex to false in the status file but nothing
changed.


ah, ok, but for that i need to coordinate with Mojca (first we needed to 
have the split)



Another remark. Maybe it's a problem on my side but in all the tests I
made to solve my problem, I noticed that context worked only if the
mtxrun path where the first one in my PATH environment variable…


you have to be more explicit

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | 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
___

Re: [NTG-context] [solved] Error in latest beta: luat-exe.lua not found

2016-01-16 Thread Romain Diss
Hi,

Le 16/01/2016, Hans Hagen a écrit
> On 1/16/2016 8:35 PM, Romain Diss wrote:
> 
> >PS: I agree with Thomas that the mkii and mkiv split is a really good
> >thing (however, I wonder why first-setup.sh installs the mkii dir when
> >called with --engine=luatex…)
> 
> because it remembers that you have installed mkii before (there is a status
> file)
That's not an important point but I tried an installation after removing
this status file and I still get the mkii directory. I also tried to set
engines.pdftex and engines.xetex to false in the status file but nothing
changed.


Another remark. Maybe it's a problem on my side but in all the tests I
made to solve my problem, I noticed that context worked only if the
mtxrun path where the first one in my PATH environment variable…

All the best.

-- 
Romain Diss
___
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
___

Re: [NTG-context] [solved] Error in latest beta: luat-exe.lua not found

2016-01-16 Thread Romain Diss
Hi,

Le 17/01/2016, Hans Hagen a écrit
> On 1/17/2016 12:18 AM, Romain Diss wrote:
> >Another remark. Maybe it's a problem on my side but in all the tests I
> >made to solve my problem, I noticed that context worked only if the
> >mtxrun path where the first one in my PATH environment variable…
> 
> you have to be more explicit
$ #MWE (bash)
$ export PATH=/opt/context/tex/texmf-linux-64/bin:/usr/local/bin:/usr/bin:/bin
$ context test.tex
$ # works fine
$ export PATH=/usr/local/bin:/usr/bin:/bin:/opt/context/tex/texmf-linux-64/bin
$ context test.tex

  resolvers   | trees | analyzing 'home:texmf'cannot open 
/usr/share/texmf/scripts/context/lua/mtx-context.lua: No such file or directory

The previous line is the context output when I run context with the bin
installation path (/opt/context/tex/texmf-linux-64/bin) in the last
position in my environment PATH variable.

All the best


-- 
Romain Diss
___
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
___