GNU bug report logs - #78868
latexminted does not find kpsewhich

Previous Next

Package: guix;

Reported by: arne_bab <at> web.de

Date: Mon, 23 Jun 2025 06:29:02 UTC

Severity: normal

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#78868: closed (latexminted does not find kpsewhich)
Date: Tue, 01 Jul 2025 22:41:07 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 02 Jul 2025 00:39:55 +0200
with message-id <87ms9nk01w.fsf <at> nicolasgoaziou.fr>
and subject line Re: bug#78868: latexminted does not find kpsewhich
has caused the debbugs.gnu.org bug report #78868,
regarding latexminted does not find kpsewhich
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
78868: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78868
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: "Dr. Arne Babenhauserheide" <arne_bab <at> web.de>
To: bug-guix <at> gnu.org
Subject: latexminted does not find kpsewhich
Date: Mon, 23 Jun 2025 08:28:37 +0200
[Message part 3 (text/plain, inline)]
Hi,

latexminted does not work for me anymore since about 4 weeks ago. This
breaks all source code highlighting of my org-mode pdf export.

To reproduce -- uses the LaTeX file from https://paste.debian.net/1381660/
as advent-of-wisp-code-2021.tex:

guix shell texlive-minted -- pdflatex -shell-escape advent-of-wisp-code-2021

[2]Traceback (most recent call last):
  File "/gnu/store/79d45l95jm5nz662c1ga9vg26yhqdb7j-texlive-minted-2025.2/share/texmf-dist/scripts/minted/latexrestricted-0.6.2-py3-none-any.whl/latexrestricted/_restricted_pathlib.py", line 641, in writable_file
KeyError: (<class 'latexminted.restricted._latexminted_config.LatexMintedConfigPath'>, LatexMintedConfigPath('/home/arne/.latexminted_config'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/arne/.guix-profile/bin/latexminted", line 372, in <module>
    main()
  File "/gnu/store/79d45l95jm5nz662c1ga9vg26yhqdb7j-texlive-minted-2025.2/share/texmf-dist/scripts/minted/latexminted-0.5.0-py3-none-any.whl/latexminted/cmdline.py", line 171, in main
  File "/gnu/store/79d45l95jm5nz662c1ga9vg26yhqdb7j-texlive-minted-2025.2/share/texmf-dist/scripts/minted/latexminted-0.5.0-py3-none-any.whl/latexminted/command_clean.py", line 17, in <module>
  File "/gnu/store/79d45l95jm5nz662c1ga9vg26yhqdb7j-texlive-minted-2025.2/share/texmf-dist/scripts/minted/latexminted-0.5.0-py3-none-any.whl/latexminted/messages.py", line 16, in <module>
  File "/gnu/store/79d45l95jm5nz662c1ga9vg26yhqdb7j-texlive-minted-2025.2/share/texmf-dist/scripts/minted/latexminted-0.5.0-py3-none-any.whl/latexminted/restricted/__init__.py", line 13, in <module>
  File "/gnu/store/79d45l95jm5nz662c1ga9vg26yhqdb7j-texlive-minted-2025.2/share/texmf-dist/scripts/minted/latexminted-0.5.0-py3-none-any.whl/latexminted/restricted/_latexminted_config.py", line 227, in <module>
  File "/gnu/store/79d45l95jm5nz662c1ga9vg26yhqdb7j-texlive-minted-2025.2/share/texmf-dist/scripts/minted/latexminted-0.5.0-py3-none-any.whl/latexminted/restricted/_latexminted_config.py", line 120, in __init__
  File "/gnu/store/79d45l95jm5nz662c1ga9vg26yhqdb7j-texlive-minted-2025.2/share/texmf-dist/scripts/minted/latexminted-0.5.0-py3-none-any.whl/latexminted/restricted/_latexminted_config.py", line 144, in _load
  File "/gnu/store/79d45l95jm5nz662c1ga9vg26yhqdb7j-texlive-minted-2025.2/share/texmf-dist/scripts/minted/latexrestricted-0.6.2-py3-none-any.whl/latexrestricted/_restricted_pathlib.py", line 202, in read_text
  File "/gnu/store/79d45l95jm5nz662c1ga9vg26yhqdb7j-texlive-minted-2025.2/share/texmf-dist/scripts/minted/latexminted-0.5.0-py3-none-any.whl/latexminted/restricted/_latexminted_config.py", line 42, in readable_file
  File "/gnu/store/79d45l95jm5nz662c1ga9vg26yhqdb7j-texlive-minted-2025.2/share/texmf-dist/scripts/minted/latexrestricted-0.6.2-py3-none-any.whl/latexrestricted/_restricted_pathlib.py", line 655, in writable_file
  File "/gnu/store/79d45l95jm5nz662c1ga9vg26yhqdb7j-texlive-minted-2025.2/share/texmf-dist/scripts/minted/latexrestricted-0.6.2-py3-none-any.whl/latexrestricted/_restricted_pathlib.py", line 124, in can_write_dotfiles
  File "/gnu/store/79d45l95jm5nz662c1ga9vg26yhqdb7j-texlive-minted-2025.2/share/texmf-dist/scripts/minted/latexrestricted-0.6.2-py3-none-any.whl/latexrestricted/_latex_config.py", line 470, in can_write_dotfiles
  File "/gnu/store/79d45l95jm5nz662c1ga9vg26yhqdb7j-texlive-minted-2025.2/share/texmf-dist/scripts/minted/latexrestricted-0.6.2-py3-none-any.whl/latexrestricted/_latex_config.py", line 439, in _init_write_settings
  File "/gnu/store/79d45l95jm5nz662c1ga9vg26yhqdb7j-texlive-minted-2025.2/share/texmf-dist/scripts/minted/latexrestricted-0.6.2-py3-none-any.whl/latexrestricted/_latex_config.py", line 162, in _init_tex_paths
  File "/gnu/store/79d45l95jm5nz662c1ga9vg26yhqdb7j-texlive-minted-2025.2/share/texmf-dist/scripts/minted/latexrestricted-0.6.2-py3-none-any.whl/latexrestricted/_latex_config.py", line 235, in _init_tex_paths_texlive
latexrestricted.err.LatexConfigError: Environment variable SELFAUTOLOC has value "/gnu/store/dzg9pj5p5wi3hwigckqkyl6114ajmy89-texlive-bin-2025.2/bin", but a "kpsewhich" executable was not found at that location
system returned with code 256


! Package minted Error: minted v3+ executable is not installed or is not added to PATH; or MiKTeX is being used with -aux-directory or -output-directory without setting a TEXMF_OUTPUT_DIRECTORY environment variable.

See the minted package documentation for explanation.

Best wishes,
Arne
-- 
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: "Dr. Arne Babenhauserheide" via Bug reports for GNU Guix <bug-guix <at> gnu.org>
Cc: arne_bab <at> web.de, 78868-done <at> debbugs.gnu.org
Subject: Re: bug#78868: latexminted does not find kpsewhich
Date: Wed, 02 Jul 2025 00:39:55 +0200
Hello,

"Dr. Arne Babenhauserheide" via Bug reports for GNU Guix <bug-guix <at> gnu.org> writes:

> Nicolas Goaziou <mail <at> nicolasgoaziou.fr> writes:
>
>> I can reproduce the error. I made a PR to fix this (<https://codeberg.org/guix/guix/pulls/784>).
>
> Is there still something to be done to be able to merge the pull-request?

I was waiting for jgart’s feedback.

Anyway, I applied the changes and closed the PR.

Regards,
-- 
Nicolas Goaziou




This bug report was last modified 25 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.