ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Arthur Rosendahl <arthur.reutenauer@normalesup.org>
To: Mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Error setting up ConTeXt in MacTeX 2020
Date: Fri, 18 Sep 2020 12:50:47 +0200	[thread overview]
Message-ID: <20200918105047.d3qbbegnrt2xkrpw@phare.normalesup.org> (raw)
In-Reply-To: <DAB5FEE2-4730-49A3-ABBB-B76340FCA7B5@flyx.org>

  I think I may have found the origin of the error:

On Fri, Sep 18, 2020 at 09:41:23AM +0200, Felix Krause wrote:
>     resolvers       | formats | changing to format path '/var/folders/rj/hfjmjx796q102y4v23vh038c0000gp/T/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex'
>     resolvers       | formats | unable to change to format path '/var/folders/rj/hfjmjx796q102y4v23vh038c0000gp/T/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex'

  These messages come from the middle of the file luat-fmt.lua (lines
180 and 183, respectively, on my system) when ConTeXt tries to change
the working directory (that’s what “change” means in this context, just
moving to another directory, as in cd or chdir).  The relevant extract
is

	report_format("changing to format path %a",validformatpath)
	lfs.chdir(validformatpath)
	if dir.current() ~= validformatpath then
	    return fatalerror(startupdir,"unable to change to format path %a",validformatpath)
	end

  In your case validformatpath is a subdirectory of $TMPDIR, under
/var/folders/.  However, if your Mac is anything like mine, /var is
actually a symbolic link to /private/var, so that dir.current() reports
a path starting with /private and the test fails.

  You can work around that by setting TMPDIR to some other value, that
doesn’t start with /var -- and not /tmp either because that’s also a
symbolic link :-)  It should work with a temporary directory in your
home folder.  Can you try that?

	Best,

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

  parent reply	other threads:[~2020-09-18 10:50 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-18  7:41 Felix Krause
2020-09-18  9:20 ` Otared Kavian
2020-09-18  9:35   ` Felix Krause
2020-09-18  9:43     ` Thomas A. Schmitz
2020-09-18 10:00       ` Felix Krause
2020-09-18 10:36         ` Thomas A. Schmitz
2020-09-18 11:40           ` Felix Krause
2020-09-18  9:45 ` Henning Hraban Ramm
2020-09-18 10:02   ` Felix Krause
2020-09-18 10:50 ` Arthur Rosendahl [this message]
2020-09-18 11:48   ` Felix Krause
2020-09-18 12:49     ` Arthur Reutenauer
2020-09-18 18:28       ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200918105047.d3qbbegnrt2xkrpw@phare.normalesup.org \
    --to=arthur.reutenauer@normalesup.org \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).