ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* lmtx installation paths not working
@ 2022-06-14 11:20 Jano Kula via ntg-context
  2022-06-14 13:47 ` Jano Kula via ntg-context
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Jano Kula via ntg-context @ 2022-06-14 11:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Jano Kula


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

Hello list,

I cannot make fresh install of lmtx to work. The structure after unzipping:
C:\data\context\bin\beta
C:\data\context\bin\beta\bin
C:\data\context\bin\beta\tex
C:\data\context\bin\beta\tex\texmf
C:\data\context\bin\beta\tex\texmf-cache
C:\data\context\bin\beta\tex\texmf-context
etc.

First compilation of texfile is not working, so mtxrun --generate is the
friend.

C:\data>mtxrun --generate

These paths contain probably correct path (watch /beta):

resolvers       | resolving | variable 'SELFAUTOLOC' set to '
*C:/data/context/bin/beta/bin*'
resolvers       | resolving | variable 'SELFAUTODIR' set to '
*C:/data/context/bin/beta*'
resolvers       | resolving | variable 'SELFAUTOPARENT' set to '
*C:/data/context/bin*'
resolvers       | resolving | variable 'TEXMFCNF' set to ''
resolvers       | resolving | variable 'TEXMF' set to ''
resolvers       | resolving | variable 'TEXOS' set to 'beta'
resolvers       | resolving |

and the paths bellow have no */beta* from above, they are derived from
selfautoparent *C:/data/context/bin *(without /beta), so no surprise they
cannot be found.

resolvers       | resolving | using configuration specification
'home:texmf/web2c;selfautoparent:/texmf-local/web2c;selfautoparent:/texmf-context/web2c;selfautoparent:/texmf-dist/web2c;selfautoparent:/texmf/web2c'
resolvers       | resolving |
resolvers       | resolving | looking for regular 'texmfcnf.lua' on given
path 'C:/Users/jano/texmf/web2c' from specification 'home:texmf/web2c'
resolvers       | resolving | looking for regular 'texmfcnf.lua' on given
path *'C:/data/context/bin/texmf-local/web2c*' from specification
'selfautoparent:/texmf-local/web2c'
resolvers       | resolving | looking for regular 'texmfcnf.lua' on given
path '*C:/data/context/bin/texmf-context/web2c'* from specification
'selfautoparent:/texmf-context/web2c'
resolvers       | resolving | looking for regular 'texmfcnf.lua' on given
path '*C:/data/context/bin/texmf-dist/web2c*' from specification
'selfautoparent:/texmf-dist/web2c'
[... skip ...]
resolvers       | resolving | looking for regular 'texmfcnf.lua' on given
path
resolvers       | resolving |
resolvers       | resolving | warning: no lua configuration files found
resolvers       | resolving | no texmf paths are defined (using TEXMF)
resolvers       | resolving |
mtxrun          |
mtxrun          | elapsed lua time: 0.026 seconds

Do you have an idea how to fix problem?
I will be thankful for an advice, it is quite urgent (everything was
working yesterday).

Thank you,
Jano

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

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

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

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

* Re: lmtx installation paths not working
  2022-06-14 11:20 lmtx installation paths not working Jano Kula via ntg-context
@ 2022-06-14 13:47 ` Jano Kula via ntg-context
  2022-06-14 16:26 ` Aditya Mahajan via ntg-context
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: Jano Kula via ntg-context @ 2022-06-14 13:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Jano Kula


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

Hello,

I didn't mention the platform: context-setup-win64.

Thank you,
Jano

On Tue, Jun 14, 2022 at 1:20 PM Jano Kula <jano.kula@gmail.com> wrote:

> Hello list,
>
> I cannot make fresh install of lmtx to work. The structure after unzipping:
> C:\data\context\bin\beta
> C:\data\context\bin\beta\bin
> C:\data\context\bin\beta\tex
> C:\data\context\bin\beta\tex\texmf
> C:\data\context\bin\beta\tex\texmf-cache
> C:\data\context\bin\beta\tex\texmf-context
> etc.
>
> First compilation of texfile is not working, so mtxrun --generate is the
> friend.
>
> C:\data>mtxrun --generate
>
> These paths contain probably correct path (watch /beta):
>
> resolvers       | resolving | variable 'SELFAUTOLOC' set to '
> *C:/data/context/bin/beta/bin*'
> resolvers       | resolving | variable 'SELFAUTODIR' set to '
> *C:/data/context/bin/beta*'
> resolvers       | resolving | variable 'SELFAUTOPARENT' set to '
> *C:/data/context/bin*'
> resolvers       | resolving | variable 'TEXMFCNF' set to ''
> resolvers       | resolving | variable 'TEXMF' set to ''
> resolvers       | resolving | variable 'TEXOS' set to 'beta'
> resolvers       | resolving |
>
> and the paths bellow have no */beta* from above, they are derived from
> selfautoparent *C:/data/context/bin *(without /beta), so no surprise they
> cannot be found.
>
> resolvers       | resolving | using configuration specification
> 'home:texmf/web2c;selfautoparent:/texmf-local/web2c;selfautoparent:/texmf-context/web2c;selfautoparent:/texmf-dist/web2c;selfautoparent:/texmf/web2c'
> resolvers       | resolving |
> resolvers       | resolving | looking for regular 'texmfcnf.lua' on given
> path 'C:/Users/jano/texmf/web2c' from specification 'home:texmf/web2c'
> resolvers       | resolving | looking for regular 'texmfcnf.lua' on given
> path *'C:/data/context/bin/texmf-local/web2c*' from specification
> 'selfautoparent:/texmf-local/web2c'
> resolvers       | resolving | looking for regular 'texmfcnf.lua' on given
> path '*C:/data/context/bin/texmf-context/web2c'* from specification
> 'selfautoparent:/texmf-context/web2c'
> resolvers       | resolving | looking for regular 'texmfcnf.lua' on given
> path '*C:/data/context/bin/texmf-dist/web2c*' from specification
> 'selfautoparent:/texmf-dist/web2c'
> [... skip ...]
> resolvers       | resolving | looking for regular 'texmfcnf.lua' on given
> path
> resolvers       | resolving |
> resolvers       | resolving | warning: no lua configuration files found
> resolvers       | resolving | no texmf paths are defined (using TEXMF)
> resolvers       | resolving |
> mtxrun          |
> mtxrun          | elapsed lua time: 0.026 seconds
>
> Do you have an idea how to fix problem?
> I will be thankful for an advice, it is quite urgent (everything was
> working yesterday).
>
> Thank you,
> Jano
>
>

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

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

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

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

* Re: lmtx installation paths not working
  2022-06-14 11:20 lmtx installation paths not working Jano Kula via ntg-context
  2022-06-14 13:47 ` Jano Kula via ntg-context
@ 2022-06-14 16:26 ` Aditya Mahajan via ntg-context
  2022-06-14 20:56 ` Alain Delmotte via ntg-context
  2022-06-15 21:22 ` Bruce Horrocks via ntg-context
  3 siblings, 0 replies; 6+ messages in thread
From: Aditya Mahajan via ntg-context @ 2022-06-14 16:26 UTC (permalink / raw)
  To: Jano Kula via ntg-context; +Cc: Aditya Mahajan

On Tue, 14 Jun 2022, Jano Kula via ntg-context wrote:

> Hello list,
> 
> I cannot make fresh install of lmtx to work. The structure after unzipping:
> C:\data\context\bin\beta
> C:\data\context\bin\beta\bin
> C:\data\context\bin\beta\tex
> C:\data\context\bin\beta\tex\texmf
> C:\data\context\bin\beta\tex\texmf-cache
> C:\data\context\bin\beta\tex\texmf-context
> etc.
> 
> First compilation of texfile is not working, so mtxrun --generate is the
> friend.
> 
> C:\data>mtxrun --generate

It appears that you are running the wrong mtxrun. There should be mtxrun in C:\data\context\beta\texmf-win64\bin (the texmf-win64 directory might be named slightly differently, I haven't used windows in a while). If you add that to your path, then mtxrun --generate should work.

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

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

* Re: lmtx installation paths not working
  2022-06-14 11:20 lmtx installation paths not working Jano Kula via ntg-context
  2022-06-14 13:47 ` Jano Kula via ntg-context
  2022-06-14 16:26 ` Aditya Mahajan via ntg-context
@ 2022-06-14 20:56 ` Alain Delmotte via ntg-context
  2022-06-15 21:22 ` Bruce Horrocks via ntg-context
  3 siblings, 0 replies; 6+ messages in thread
From: Alain Delmotte via ntg-context @ 2022-06-14 20:56 UTC (permalink / raw)
  To: Jano Kula via ntg-context; +Cc: Alain Delmotte

[-- Attachment #1: Type: text/html, Size: 7426 bytes --]

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

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

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

* Re: lmtx installation paths not working
  2022-06-14 11:20 lmtx installation paths not working Jano Kula via ntg-context
                   ` (2 preceding siblings ...)
  2022-06-14 20:56 ` Alain Delmotte via ntg-context
@ 2022-06-15 21:22 ` Bruce Horrocks via ntg-context
  2022-06-17 14:18   ` Jano Kula via ntg-context
  3 siblings, 1 reply; 6+ messages in thread
From: Bruce Horrocks via ntg-context @ 2022-06-15 21:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Bruce Horrocks



> On 14 Jun 2022, at 12:20, Jano Kula via ntg-context <ntg-context@ntg.nl> wrote:
> 
> Do you have an idea how to fix problem?
> I will be thankful for an advice, it is quite urgent (everything was working yesterday).

Do you have an anti-virus product installed?

In the past I've noticed that Symantec sometimes gives a false positive on some of the ConTeXt files as they are installed and silently deletes them thinking they contain malware.

The result is a broken ConTeXt because files are missing but you have no idea which files are missing. :-(

Try temporarily disabling AV and then do a complete re-install into an empty C:/data/context directory.

—
Bruce Horrocks
Hampshire, UK

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

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

* Re: lmtx installation paths not working
  2022-06-15 21:22 ` Bruce Horrocks via ntg-context
@ 2022-06-17 14:18   ` Jano Kula via ntg-context
  0 siblings, 0 replies; 6+ messages in thread
From: Jano Kula via ntg-context @ 2022-06-17 14:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Jano Kula


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

Hello list,

thank you all for your advices.

Aditya was right. There was some mess in PATH variable.
Lesson learned: start with explicit paths to executables.
Still where mtxrun (Windows) was pointing to the right one, which was
fooling me.

I've noticed the problem with antivirus SW during the first installation of
lmtx.
It wasn't the case this time, but one should be aware antivirus programs
don't trust mtxrun.exe.

Thank you once again,
Jano



On Wed, Jun 15, 2022 at 11:23 PM Bruce Horrocks <ntg@scorecrow.com> wrote:

>
>
> > On 14 Jun 2022, at 12:20, Jano Kula via ntg-context <ntg-context@ntg.nl>
> wrote:
> >
> > Do you have an idea how to fix problem?
> > I will be thankful for an advice, it is quite urgent (everything was
> working yesterday).
>
> Do you have an anti-virus product installed?
>
> In the past I've noticed that Symantec sometimes gives a false positive on
> some of the ConTeXt files as they are installed and silently deletes them
> thinking they contain malware.
>
> The result is a broken ConTeXt because files are missing but you have no
> idea which files are missing. :-(
>
> Try temporarily disabling AV and then do a complete re-install into an
> empty C:/data/context directory.
>
> —
> Bruce Horrocks
> Hampshire, UK
>
>

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

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

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

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

end of thread, other threads:[~2022-06-17 14:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-14 11:20 lmtx installation paths not working Jano Kula via ntg-context
2022-06-14 13:47 ` Jano Kula via ntg-context
2022-06-14 16:26 ` Aditya Mahajan via ntg-context
2022-06-14 20:56 ` Alain Delmotte via ntg-context
2022-06-15 21:22 ` Bruce Horrocks via ntg-context
2022-06-17 14:18   ` Jano Kula 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).