Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Need to handle missing LaTeX fonts more gracefully #66

Closed
3 tasks done
cicdguy opened this issue Nov 20, 2023 · 2 comments
Closed
3 tasks done

[Bug]: Need to handle missing LaTeX fonts more gracefully #66

cicdguy opened this issue Nov 20, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@cicdguy
Copy link
Contributor

cicdguy commented Nov 20, 2023

What happened?

Missing LaTeX fonts cause the workflow to fail.

Relevant log output

20/20 [traceability3]  
output file: template.knit.md

/usr/local/bin/pandoc +RTS -K512m -RTS template.knit.md --to latex --from markdown+autolink_bare_uris+tex_math_single_backslash --output /__w/r.pkg.template/r.pkg.template/validation_report.tex --lua-filter /usr/local/lib/R/site-library/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /usr/local/lib/R/site-library/rmarkdown/rmarkdown/lua/latex-div.lua --embed-resources --standalone --table-of-contents --toc-depth 2 --number-sections --highlight-style tango --pdf-engine pdflatex --variable graphics --include-in-header /tmp/RtmpSME12E/rmarkdown-str62e7655139a.html --variable 'geometry:margin=1in' --include-in-header /tmp/RtmpSME12E/rmarkdown-str62e38e0477d.html 
===============================================================================
tlmgr itself needs to be updated.
Please do this via either
  tlmgr update --self
or by getting the latest updater for Unix-ish systems:
  https://mirror.ctan.org/systems/texlive/tlnet/update-tlmgr-latest.sh
and/or Windows systems:
  https://mirror.ctan.org/systems/texlive/tlnet/update-tlmgr-latest.exe
Then continue with other updates as usual.
===============================================================================
tlmgr: Terminating; please see warning above!
tlmgr: package repository https://mirror.mwt.me/ctan/systems/texlive/tlnet (verified)
tlmgr update --self
Warning: WARNING]: resetting $HOME value (was /github/home) to root's actual home (/root).
tlmgr: package repository https://ctan.math.washington.edu/tex-archive/systems/texlive/tlnet (verified)
[1/1, ??:??/??:??] install: fancyhdr [6k]
running mktexlsr ...
done running mktexlsr.
tlmgr: package log updated: /opt/TinyTeX/texmf-var/web2c/tlmgr.log
tlmgr: command log updated: /opt/TinyTeX/texmf-var/web2c/tlmgr-commands.log
tlmgr: package repository https://ctan.mirrors.hoobly.com/systems/texlive/tlnet (verified)
[1/1, ??:??/??:??] install: multirow [3k]
running mktexlsr ...
done running mktexlsr.
tlmgr: package log updated: /opt/TinyTeX/texmf-var/web2c/tlmgr.log
tlmgr: command log updated: /opt/TinyTeX/texmf-var/web2c/tlmgr-commands.log
tlmgr: package repository https://mirror.mwt.me/ctan/systems/texlive/tlnet (verified)
[1/1, ??:??/??:??] install: wrapfig [10k]
running mktexlsr ...
done running mktexlsr.
tlmgr: package log updated: /opt/TinyTeX/texmf-var/web2c/tlmgr.log
tlmgr: command log updated: /opt/TinyTeX/texmf-var/web2c/tlmgr-commands.log

/opt/TinyTeX/bin/x86_64-linux/tlmgr: signature verification error of /opt/TinyTeX/tlpkg/texlive.tlpdb.main.efa9581e6c0602476faf99fb93c50268 from https://us.mirrors.cicku.me/ctan/systems/texlive/tlnet/tlpkg/texlive.tlpdb: cryptographic signature verification of
  /tmp/_KRM_n6mbP/IjMLq5UjWl
against
  https://us.mirrors.cicku.me/ctan/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc
failed. Output was:
gpg: Signature made Sun 19 Nov 2023 12:47:42 AM UTC
gpg:                using RSA key D8F2F86057A857E42A88106A4CE1877E19438C70
gpg: BAD signature from "TeX Live Distribution <[email protected]>" [ultimate]

Please try from a different mirror and/or wait a few minutes
and try again; usually this is because of transient updates.
If problems persist, feel free to report to [email protected].

! LaTeX Error: File `colortbl.sty' not found.

! Emergency stop.
<read *> 

Error: LaTeX failed to compile /__w/r.pkg.template/r.pkg.template/validation_report.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See validation_report.log for more info.
In addition: Warning message:
In system2("tlmgr", args, ...) :
  running command ''tlmgr' search --file --global '/colortbl.sty'' had status 1
Execution halted

Code of Conduct

  • I agree to follow this project's Code of Conduct.

Contribution Guidelines

  • I agree to follow this project's Contribution Guidelines.

Security Policy

  • I agree to follow this project's Security Policy.
@cicdguy
Copy link
Contributor Author

cicdguy commented Feb 22, 2024

Another occurrence:

xz: (stdin): Unexpected end of input

/opt/TinyTeX/bin/x86_64-linux/tlmgr: checksum error when downloading /tmp/gyFbP7OGVZ/hxGHb5uYPA from https://us.mirrors.cicku.me/ctan/systems/texlive/tlnet/tlpkg/texlive.tlpdb: digest disagree
tlmgr conf auxtrees add '/usr/local/lib/R/share/texmf'
tlmgr: already registered auxtree: /usr/local/lib/R/share/texmf
tlmgr: action conf returned an error; continuing.
tlmgr: An error has occurred. See above messages. Exiting.
tlmgr: package repository https://mirror.las.iastate.edu/tex-archive/systems/texlive/tlnet (verified)
tlmgr: no self-updates for tlmgr available
Run tlmgr install courier ec
  tlmgr install courier ec
  shell: bash --noprofile --norc -e -o pipefail {0}
  env:
    package_subdirectory: .
    PATH: /__w/_temp/TinyTeX/bin/x86_64-linux:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    GITHUB_PAT: ***
xz: (stdin): Unexpected end of input

@cicdguy
Copy link
Contributor Author

cicdguy commented May 14, 2024

Should no longer be an issue provided that v2 now uses typst

@cicdguy cicdguy closed this as completed May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants