GNU bug report logs -
#78868
latexminted does not find kpsewhich
Previous Next
To reply to this bug, email your comments to 78868 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#78868
; Package
guix
.
(Mon, 23 Jun 2025 06:29:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
arne_bab <at> web.de
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Mon, 23 Jun 2025 06:29:02 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)]
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)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#78868
; Package
guix
.
(Mon, 23 Jun 2025 19:50:01 GMT)
Full text and
rfc822 format available.
Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello,
"Dr. Arne Babenhauserheide" via Bug reports for GNU Guix <bug-guix <at> gnu.org> writes:
> 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
>
[...]
> 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
I can reproduce the error. I made a PR to fix this (<https://codeberg.org/guix/guix/pulls/784>).
However, I still cannot build your document because it is not minimal at all and require much more than texlive-minted.
Regards,
--
Nicolas Goaziou
Information forwarded
to
bug-guix <at> gnu.org
:
bug#78868
; Package
guix
.
(Mon, 23 Jun 2025 19:50:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#78868
; Package
guix
.
(Mon, 23 Jun 2025 20:04:02 GMT)
Full text and
rfc822 format available.
Message #14 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Nicolas Goaziou <mail <at> nicolasgoaziou.fr> writes:
>> 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
>
> I can reproduce the error. I made a PR to fix this (<https://codeberg.org/guix/guix/pulls/784>).
Wow, thank you very much!
> However, I still cannot build your document because it is not minimal at all and require much more than texlive-minted.
Sorry for that. It’s always a struggle to add the newly required texlive
packages to my manifest, whenever I use some new solution I find.
I had put off to write a bug report again and again and was already
happy that I finally got to reporting it.
Best wishes,
Arne
--
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#78868
; Package
guix
.
(Mon, 23 Jun 2025 20:04:02 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 day ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.