ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] module installer: unknown script 'install-modules.lua' or 'mtx-install-modules.lua'
@ 2023-05-24  6:51 Denis Maier via ntg-context
  2023-05-24  7:00 ` Hans Hagen via ntg-context
  2023-05-24  7:02 ` Henning Hraban Ramm via ntg-context
  0 siblings, 2 replies; 7+ messages in thread
From: Denis Maier via ntg-context @ 2023-05-24  6:51 UTC (permalink / raw)
  To: ntg-context; +Cc: denis.maier


[-- Attachment #1.1: Type: text/plain, Size: 609 bytes --]

Hi,

I'm setting up a new computer, and I've wanted to benefit from the new module installer. However, the commands I should use gives me the following error message :

mtxrun --script install-modules --list

mtxrun | unknown script 'install-modules.lua' or 'mtx-install-modules.lua'

I'm using a fresh context installation (2023.05.08 17:39) on Windows. I've see a couple of others had/have( ?) the same issue. It does not matter from where I run the command (i.e., I'm getting the same error message also from inside context\tex)

Is there anything I should do to make this work?

Best,
Denis

[-- Attachment #1.2: Type: text/html, Size: 2906 bytes --]

[-- Attachment #2: Type: text/plain, Size: 496 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [NTG-context] module installer: unknown script 'install-modules.lua' or 'mtx-install-modules.lua'
  2023-05-24  6:51 [NTG-context] module installer: unknown script 'install-modules.lua' or 'mtx-install-modules.lua' Denis Maier via ntg-context
@ 2023-05-24  7:00 ` Hans Hagen via ntg-context
  2023-05-24  8:23   ` Denis Maier via ntg-context
  2023-05-24  7:02 ` Henning Hraban Ramm via ntg-context
  1 sibling, 1 reply; 7+ messages in thread
From: Hans Hagen via ntg-context @ 2023-05-24  7:00 UTC (permalink / raw)
  To: Denis Maier via ntg-context; +Cc: Hans Hagen

On 5/24/2023 8:51 AM, Denis Maier via ntg-context wrote:
> Hi,
> 
> I’m setting up a new computer, and I’ve wanted to benefit from the new 
> module installer. However, the commands I should use gives me the 
> following error message :
> 
> mtxrun --script install-modules --list
> 
> mtxrun | unknown script 'install-modules.lua' or 'mtx-install-modules.lua'
> 
> I’m using a fresh context installation (2023.05.08 17:39) on Windows. 
> I’ve see a couple of others had/have( ?) the same issue. It does not 
> matter from where I run the command (i.e., I’m getting the same error 
> message also from inside context\tex)
> 
> Is there anything I should do to make this work?
just wait till the next update because the module installer is work in 
progress

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | 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 / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [NTG-context] module installer: unknown script 'install-modules.lua' or 'mtx-install-modules.lua'
  2023-05-24  6:51 [NTG-context] module installer: unknown script 'install-modules.lua' or 'mtx-install-modules.lua' Denis Maier via ntg-context
  2023-05-24  7:00 ` Hans Hagen via ntg-context
@ 2023-05-24  7:02 ` Henning Hraban Ramm via ntg-context
  1 sibling, 0 replies; 7+ messages in thread
From: Henning Hraban Ramm via ntg-context @ 2023-05-24  7:02 UTC (permalink / raw)
  To: Denis Maier via ntg-context; +Cc: Henning Hraban Ramm

Am 24.05.23 um 08:51 schrieb Denis Maier via ntg-context:
> Hi,
> 
> I’m setting up a new computer, and I’ve wanted to benefit from the new 
> module installer. However, the commands I should use gives me the 
> following error message :
> 
> mtxrun --script install-modules --list
> 
> mtxrun | unknown script 'install-modules.lua' or 'mtx-install-modules.lua'
> 
> I’m using a fresh context installation (2023.05.08 17:39) on Windows. 
> I’ve see a couple of others had/have( ?) the same issue. It does not 
> matter from where I run the command (i.e., I’m getting the same error 
> message also from inside context\tex)
> 
> Is there anything I should do to make this work?

While --install only works within the "tex" directory, --list should 
work regardless of current directory.

Can mtxrun find other scripts, like "fonts"?

After a new installation, I usually need a new terminal window, 
otherwise the PATH is wrong or something like that.

Hraban

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [NTG-context] module installer: unknown script 'install-modules.lua' or 'mtx-install-modules.lua'
  2023-05-24  7:00 ` Hans Hagen via ntg-context
@ 2023-05-24  8:23   ` Denis Maier via ntg-context
  2023-05-24 12:49     ` Aditya Mahajan via ntg-context
  0 siblings, 1 reply; 7+ messages in thread
From: Denis Maier via ntg-context @ 2023-05-24  8:23 UTC (permalink / raw)
  To: ntg-context; +Cc: denis.maier

I've just tested with a couple of other scripts...

Doesn't matter which one I try to call:
Mtxrun --script XYZ

will always results in the equivalent error message, e.g.:
mtxrun          | unknown script 'interface.lua' or 'mtx-interface.lua'

I have 
..\context\tex\texmf-win64\bin
..\context\bin
In my path.

Do I need to add something else to the Path?

Best,
Denis

> -----Ursprüngliche Nachricht-----
> Von: ntg-context <ntg-context-bounces@ntg.nl> Im Auftrag von Hans Hagen
> via ntg-context
> Gesendet: Mittwoch, 24. Mai 2023 09:00
> An: Denis Maier via ntg-context <ntg-context@ntg.nl>
> Cc: Hans Hagen <j.hagen@freedom.nl>
> Betreff: Re: [NTG-context] module installer: unknown script 'install-
> modules.lua' or 'mtx-install-modules.lua'
> 
> On 5/24/2023 8:51 AM, Denis Maier via ntg-context wrote:
> > Hi,
> >
> > I’m setting up a new computer, and I’ve wanted to benefit from the new
> > module installer. However, the commands I should use gives me the
> > following error message :
> >
> > mtxrun --script install-modules --list
> >
> > mtxrun | unknown script 'install-modules.lua' or 'mtx-install-modules.lua'
> >
> > I’m using a fresh context installation (2023.05.08 17:39) on Windows.
> > I’ve see a couple of others had/have( ?) the same issue. It does not
> > matter from where I run the command (i.e., I’m getting the same error
> > message also from inside context\tex)
> >
> > Is there anything I should do to make this work?
> just wait till the next update because the module installer is work in progress
> 
> -----------------------------------------------------------------
>                                            Hans Hagen | PRAGMA ADE
>                Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>         tel: 038 477 53 69 | www.pragma-ade.nl | 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 / https://www.ntg.nl/mailman/listinfo/ntg-
> context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net archive  :
> https://bitbucket.org/phg/context-mirror/commits/
> wiki     : https://contextgarden.net
> ___________________________________________________________________
> ________________
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [NTG-context] module installer: unknown script 'install-modules.lua' or 'mtx-install-modules.lua'
  2023-05-24  8:23   ` Denis Maier via ntg-context
@ 2023-05-24 12:49     ` Aditya Mahajan via ntg-context
  2023-05-24 19:32       ` Denis Maier via ntg-context
  0 siblings, 1 reply; 7+ messages in thread
From: Aditya Mahajan via ntg-context @ 2023-05-24 12:49 UTC (permalink / raw)
  To: Denis Maier via ntg-context; +Cc: Aditya Mahajan

On Wed, 24 May 2023, Denis Maier via ntg-context wrote:

> I've just tested with a couple of other scripts...
> 
> Doesn't matter which one I try to call:
> Mtxrun --script XYZ
> 
> will always results in the equivalent error message, e.g.:
> mtxrun          | unknown script 'interface.lua' or 'mtx-interface.lua'
> 
> I have 
> ..\context\tex\texmf-win64\bin
> ..\context\bin
> In my path.
> 
> Do I need to add something else to the Path?

I would remove context/bin from the PATH.

Try running mtxrun --generate to regenerate the files database.

Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [NTG-context] module installer: unknown script 'install-modules.lua' or 'mtx-install-modules.lua'
  2023-05-24 12:49     ` Aditya Mahajan via ntg-context
@ 2023-05-24 19:32       ` Denis Maier via ntg-context
  2023-05-25  8:58         ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 7+ messages in thread
From: Denis Maier via ntg-context @ 2023-05-24 19:32 UTC (permalink / raw)
  To: adityam, ntg-context; +Cc: denis.maier



> -----Ursprüngliche Nachricht-----
> Von: Aditya Mahajan <adityam@umich.edu>
> Gesendet: Mittwoch, 24. Mai 2023 14:49
> An: Denis Maier via ntg-context <ntg-context@ntg.nl>
> Cc: Maier, Denis Christian (UB) <denis.maier@unibe.ch>
> Betreff: Re: [NTG-context] module installer: unknown script 'install-
> modules.lua' or 'mtx-install-modules.lua'
> 
> On Wed, 24 May 2023, Denis Maier via ntg-context wrote:
> 
> > I've just tested with a couple of other scripts...
> >
> > Doesn't matter which one I try to call:
> > Mtxrun --script XYZ
> >
> > will always results in the equivalent error message, e.g.:
> > mtxrun          | unknown script 'interface.lua' or 'mtx-interface.lua'
> >
> > I have
> > ..\context\tex\texmf-win64\bin
> > ..\context\bin
> > In my path.
> >
> > Do I need to add something else to the Path?
> 
> I would remove context/bin from the PATH.

Thanks - that was it. Apparently, it used the executable in the wrong path. Just out of interest, why do we have mtxrun in both locations?

Best,
Denis
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [NTG-context] module installer: unknown script 'install-modules.lua' or 'mtx-install-modules.lua'
  2023-05-24 19:32       ` Denis Maier via ntg-context
@ 2023-05-25  8:58         ` Hans Hagen via ntg-context
  0 siblings, 0 replies; 7+ messages in thread
From: Hans Hagen via ntg-context @ 2023-05-25  8:58 UTC (permalink / raw)
  To: Denis Maier via ntg-context; +Cc: Hans Hagen

On 5/24/2023 9:32 PM, Denis Maier via ntg-context wrote:
> 
> 
>> -----Ursprüngliche Nachricht-----
>> Von: Aditya Mahajan <adityam@umich.edu>
>> Gesendet: Mittwoch, 24. Mai 2023 14:49
>> An: Denis Maier via ntg-context <ntg-context@ntg.nl>
>> Cc: Maier, Denis Christian (UB) <denis.maier@unibe.ch>
>> Betreff: Re: [NTG-context] module installer: unknown script 'install-
>> modules.lua' or 'mtx-install-modules.lua'
>>
>> On Wed, 24 May 2023, Denis Maier via ntg-context wrote:
>>
>>> I've just tested with a couple of other scripts...
>>>
>>> Doesn't matter which one I try to call:
>>> Mtxrun --script XYZ
>>>
>>> will always results in the equivalent error message, e.g.:
>>> mtxrun          | unknown script 'interface.lua' or 'mtx-interface.lua'
>>>
>>> I have
>>> ..\context\tex\texmf-win64\bin
>>> ..\context\bin
>>> In my path.
>>>
>>> Do I need to add something else to the Path?
>>
>> I would remove context/bin from the PATH.
> 
> Thanks - that was it. Apparently, it used the executable in the wrong path. Just out of interest, why do we have mtxrun in both locations?
one is used by the installer, the other can then be updated and when ok 
will replace the one used for the installer; idem for binaries

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | 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 / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-05-25  8:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-24  6:51 [NTG-context] module installer: unknown script 'install-modules.lua' or 'mtx-install-modules.lua' Denis Maier via ntg-context
2023-05-24  7:00 ` Hans Hagen via ntg-context
2023-05-24  8:23   ` Denis Maier via ntg-context
2023-05-24 12:49     ` Aditya Mahajan via ntg-context
2023-05-24 19:32       ` Denis Maier via ntg-context
2023-05-25  8:58         ` Hans Hagen via ntg-context
2023-05-24  7:02 ` Henning Hraban Ramm via ntg-context

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