GNU bug report logs -
#72488
12.3; Unable to read locale data: please check the 'locale' settings of your environment for consistency. Exiting now.
Previous Next
Reported by: Guilhem Bourrié <ghpbou <at> orange.fr>
Date: Tue, 6 Aug 2024 06:07:03 UTC
Severity: normal
Tags: notabug
Found in version 12.3
Done: Arash Esbati <arash <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 72488 in the body.
You can then email your comments to 72488 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-auctex <at> gnu.org
:
bug#72488
; Package
auctex
.
(Tue, 06 Aug 2024 06:07:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Guilhem Bourrié <ghpbou <at> orange.fr>
:
New bug report received and forwarded. Copy sent to
bug-auctex <at> gnu.org
.
(Tue, 06 Aug 2024 06:07:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
When compiling with lualatex in Aquamacs by pressing the button PDF, I obtain the
following error message :
Unable to read locale data: please check the 'locale' settings of your environment for consistency. Exiting now.
Hereafter thr ECM file :
% -*- mode: LaTeX; coding: utf-8 -*-
% force l'ouverture en encodage utf-8 dans Aquamacs
%à composer avec lualatex
\documentclass[12pt,a4paper]{article}
\usepackage{fontspec}
\defaultfontfeatures{Ligatures=TeX}
\fontspec{Times New Roman}
\title{} %
\author{}
\date{} %
\begin{document}
%\tableofcontents
\enlargethispage{-\baselineskip}
\begin{quote}
Ce pur travail de longs éclairs consume\\
Maint diamant d'imperceptible écume\\
Et quelle paix semble se concevoir\\
Quand sur l'abîme un soleil se repose\\
Ouvrage pur d'une éternelle cause\\
Le Temps scintille et le Songe est Savoir.
\end{quote}
Paul Valéry
\end{document}
% Local Variables:
% TeX-engine: luatex
% End:
Emacs : Aquamacs 3.6 GNU Emacs 25.3.50.1 (x86_64-apple-darwin20.6.0, NS appkit-2022.60 Version 11.6 (Build 20G165))
dated 2021-12-24 rev. 04752ba87a8f3f0677e904e833a1cef8fe38897a
Package: 12.3
current state:
==============
(setq
AUCTeX-date "2020-10-18"
window-system 'ns
LaTeX-version "2e"
TeX-style-path '("/Applications/Aquamacs.app/Contents/Resources/lisp/aquamacs/edit-modes/auctex/style"
"/Users/guilhembourrie/Library/Preferences/Aquamacs Emacs/Packages/auctex/auto"
"/Users/guilhembourrie/Library/Preferences/Aquamacs Emacs/Packages/auctex/style" "auto" "style")
TeX-auto-save t
TeX-parse-self t
TeX-master t
TeX-command-list '(("TeX" "%(PDF)%(tex) %(file-line-error) %`%(extraopts) %S%(PDFout)%(mode)%' %t" TeX-run-TeX nil
(plain-tex-mode ams-tex-mode texinfo-mode) :help "Run plain TeX")
("LaTeX" "%`%l%(mode)%' %T" TeX-run-TeX nil (latex-mode doctex-mode) :help "Run LaTeX")
("Makeinfo" "makeinfo %(extraopts) %t" TeX-run-compile nil (texinfo-mode) :help
"Run Makeinfo with Info output")
("Makeinfo HTML" "makeinfo %(extraopts) --html %t" TeX-run-compile nil (texinfo-mode) :help
"Run Makeinfo with HTML output")
("AmSTeX" "amstex %(PDFout) %`%(extraopts) %S%(mode)%' %t" TeX-run-TeX nil (ams-tex-mode) :help
"Run AMSTeX")
("ConTeXt" "%(cntxcom) --once --texutil %(extraopts) %(execopts)%t" TeX-run-TeX nil (context-mode)
:help "Run ConTeXt once")
("ConTeXt Full" "%(cntxcom) %(extraopts) %(execopts)%t" TeX-run-TeX nil (context-mode) :help
"Run ConTeXt until completion")
("BibTeX" "bibtex %s" TeX-run-BibTeX nil
(plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode context-mode) :help "Run BibTeX")
("Biber" "biber %s" TeX-run-Biber nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode)
:help "Run Biber")
("View" "%V" TeX-run-discard-or-function t t :help "Run Viewer")
("Print" "%p" TeX-run-command t t :help "Print the file")
("Queue" "%q" TeX-run-background nil t :help "View the printer queue" :visible TeX-queue-command)
("File" "%(o?)dvips %d -o %f " TeX-run-dvips t
(plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Generate PostScript file")
("Dvips" "%(o?)dvips %d -o %f " TeX-run-dvips nil
(plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help
"Convert DVI file to PostScript")
("Dvipdfmx" "dvipdfmx %d" TeX-run-dvipdfmx nil
(plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help
"Convert DVI file to PDF with dvipdfmx")
("Ps2pdf" "ps2pdf %f" TeX-run-ps2pdf nil
(plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help
"Convert PostScript file to PDF")
("Glossaries" "makeglossaries %s" TeX-run-command nil
(plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help
"Run makeglossaries to create glossary\n file")
("Index" "makeindex %s" TeX-run-index nil
(plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help
"Run makeindex to create index file")
("upMendex" "upmendex %s" TeX-run-index t
(plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help
"Run upmendex to create index file")
("Xindy" "texindy %s" TeX-run-command nil
(plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help
"Run xindy to create index file")
("Check" "lacheck %s" TeX-run-compile nil (latex-mode) :help "Check LaTeX file for correctness")
("ChkTeX" "chktex -v6 %s" TeX-run-compile nil (latex-mode) :help "Check LaTeX file for common mistakes")
("Spell" "(TeX-ispell-document \"\")" TeX-run-function nil t :help "Spell-check the document")
("Clean" "TeX-clean" TeX-run-function nil t :help "Delete generated intermediate files")
("Clean All" "(TeX-clean t)" TeX-run-function nil t :help
"Delete generated intermediate and output files")
("Other" "" TeX-run-command t t :help "Run an arbitrary command")
("Jump to PDF" "%V" TeX-run-discard-or-function nil t :help "Run Viewer"))
)
Guilhem Bourrié
ghpbou <at> orange.fr
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#72488
; Package
auctex
.
(Tue, 06 Aug 2024 15:30:01 GMT)
Full text and
rfc822 format available.
Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
Guilhem Bourrié via bug-auctex via Bug reporting list for AUCTeX <bug-auctex <at> gnu.org> writes:
> When compiling with lualatex in Aquamacs by pressing the button PDF, I
> obtain the following error message :
> Unable to read locale data: please check the 'locale' settings of your
> environment for consistency. Exiting now.
Can you compile your file from the command line in a shell?
What do get if you eval this form in the scratch buffer:
(insert "\n" (shell-command-to-string "locale"))
Best, Arash
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#72488
; Package
auctex
.
(Tue, 06 Aug 2024 15:31:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#72488
; Package
auctex
.
(Wed, 07 Aug 2024 15:49:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 72488 <at> debbugs.gnu.org (full text, mbox):
Guilhem Bourrié <ghpbou <at> orange.fr> writes:
> thank you very much.
You're welcome. Please use "Reply to all" when responding in order to
keep the bug tracker in Cc.
> 1. I compile my file without any problem from the command line.
>
> either simply lualatex ECM-lua.tex
>
> or as :
>
> lualatex --jobname=ECM-lua -file-line-error --synctex=1 -interaction=nonstopmode ECM-lua.tex
Ok, sounds good.
> 2. When I eval the form you suggested, I get :
>
> subsh dquote>
This one is not so good. It seems that your Emacs isn't able to start a
subprocess or something like that. Do you start Emacs as an App? You
could try to start Emacs from the shell where you can compile your file
and see if you can run lualatex then.
> 3. Since yesterday, I downloaded Emacs 29.4 x86_64-darwin18.7.0 version 10.14.6
>
> I compile my file without any problem in Emacs.
What do you get when you eval the form I sent in Emacs 29.4? And how
did you start the newer version?
> 4. I installed the last version of AUCTeX, 14.0.6.
>
> With Aquamacs, I still obtain the error message : LaTeX: problems after [0] pages.
>
> Running `LaTeX' on `ECM-lua' with ``lualatex --jobname=ECM-lua -file-line-error --synctex=1 -
> interaction=nonstopmode ECM-lua.tex''
> Unable to read locale data: please check the 'locale' settings of your
> environment for consistency. Exiting now.
>
> TeX Output exited abnormally with code 1 at Tue Aug 6 18:44:27
>
> Though, as stated above, in the Terminal, the command line
>
> lualatex --jobname=ECM-lua -file-line-error --synctex=1 -interaction=nonstopmode ECM-lua.tex
>
> works perfectly.
>
> Which puzzles me is that Aquamacs is simply an adaptation of Emacs to MacOS X…
I have no experience with Aquaemacs, so I can't tell. But I don't think
this is an AUCTeX issue, more how Emacs starts subprocesses.
Best, Arash
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#72488
; Package
auctex
.
(Wed, 07 Aug 2024 21:46:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 72488 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Thank you very much again. I send this answer as a reply to Cc so it can be archived.
1. a message in the mailing list gut <at> ens.fr <mailto:gut <at> ens.fr> gave me the idea to pass luatex as an argument in \documentclass :
\documentclass[luatex,12pt,a4paper]{article}
This works perfectly and the issue disappears !
No more error message in Aquamacs.
This suggests that luatex initialization is different in this way.
Le 7 août 2024 à 17:48, Arash Esbati <arash <at> gnu.org> a écrit :
Guilhem Bourrié <ghpbou <at> orange.fr> writes:
> thank you very much.
You're welcome. Please use "Reply to all" when responding in order to
keep the bug tracker in Cc.
> 1. I compile my file without any problem from the command line.
>
> either simply lualatex ECM-lua.tex
>
> or as :
>
> lualatex --jobname=ECM-lua -file-line-error --synctex=1 -interaction=nonstopmode ECM-lua.tex
Ok, sounds good.
> 2. When I eval the form you suggested, I get :
>
> subsh dquote>
This one is not so good. It seems that your Emacs isn't able to start a
subprocess or something like that. Do you start Emacs as an App? You
could try to start Emacs from the shell where you can compile your file
and see if you can run lualatex then.
I will go deeper later. I must familiarize with Emacs
> 3. Since yesterday, I downloaded Emacs 29.4 x86_64-darwin18.7.0 version 10.14.6
>
> I compile my file without any problem in Emacs.
What do you get when you eval the form I sent in Emacs 29.4? And how
did you start the newer version?
I used GUI Emacs. I will keep your advice. Many thanks.
> 4. I installed the last version of AUCTeX, 14.0.6.
>
> With Aquamacs, I still obtain the error message : LaTeX: problems after [0] pages.
>
> Running `LaTeX' on `ECM-lua' with ``lualatex --jobname=ECM-lua -file-line-error --synctex=1 -
> interaction=nonstopmode ECM-lua.tex''
> Unable to read locale data: please check the 'locale' settings of your
> environment for consistency. Exiting now.
>
> TeX Output exited abnormally with code 1 at Tue Aug 6 18:44:27
>
> Though, as stated above, in the Terminal, the command line
>
> lualatex --jobname=ECM-lua -file-line-error --synctex=1 -interaction=nonstopmode ECM-lua.tex
>
> works perfectly.
>
> Which puzzles me is that Aquamacs is simply an adaptation of Emacs to MacOS X…
I have no experience with Aquaemacs, so I can't tell. But I don't think
this is an AUCTeX issue, more how Emacs starts subprocesses.
Best, Arash
Best regards,
Guilhem
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#72488
; Package
auctex
.
(Thu, 08 Aug 2024 13:07:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 72488 <at> debbugs.gnu.org (full text, mbox):
tags 72488 notabug
close 72488
thanks
Guilhem Bourrié <ghpbou <at> orange.fr> writes:
> Thank you very much again. I send this answer as a reply to Cc so it
> can be archived.
Thanks.
> 1. a message in the mailing list gut <at> ens.fr gave me the idea to pass
> luatex as an argument in \documentclass :
>
> \documentclass[luatex,12pt,a4paper]{article}
>
> This works perfectly and the issue disappears !
>
> No more error message in Aquamacs.
>
> This suggests that luatex initialization is different in this way.
Thanks for letting us know. I'm closing this report.
Best, Arash
Added tag(s) notabug.
Request was from
Arash Esbati <arash <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Thu, 08 Aug 2024 13:07:02 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
72488 <at> debbugs.gnu.org and Guilhem Bourrié <ghpbou <at> orange.fr>
Request was from
Arash Esbati <arash <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Thu, 08 Aug 2024 13:07:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 07 Sep 2024 11:24:10 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 12 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.