merely-useful / py-rse

Research Software Engineering with Python course material
http://third-bit.com/py-rse/
Other
246 stars 63 forks source link

PDF build failing #578

Closed DamienIrving closed 3 years ago

DamienIrving commented 3 years ago

Anyone else getting this error now when building the pdf from the book branch?

$ make pdf
rm -f py-rse.Rmd
Rscript -e "options(bookdown.render.file_scope = FALSE); bookdown::render_book(input='index.Rmd', output_format='bookdown::pdf_book', quiet = TRUE); warnings()"
!!! Error: Input file `py-rse_files/figure-latex/bash-basics-repl-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/bash-basics-filesystem-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/bash-basics-nano-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/bash-basics-manual-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/bash-basics-ex-rel-path-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/bash-tools-pipe-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/bash-tools-stdio-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/scripting-repl-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/git-cmdline-phdcomics-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/git-cmdline-initial-plot-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/git-cmdline-staging-area-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/git-cmdline-loglog-plot-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/git-cmdline-remote-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/git-cmdline-repo-link-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/git-cmdline-history-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/git-advanced-dracula-fit-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/git-advanced-fork-button-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/git-advanced-after-fork-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/git-advanced-after-sami-pushes-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/git-advanced-pull-request-start-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/git-advanced-pull-request-summary-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/git-advanced-pull-request-fill-in-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/git-advanced-pull-request-new-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/git-advanced-pull-request-viewing-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/git-advanced-pull-request-list-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/git-advanced-pull-request-details-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/git-advanced-pull-request-changes-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/git-advanced-pull-request-comment-marker-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/git-advanced-pull-request-write-comment-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/git-advanced-pull-request-pr-with-comment-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/git-advanced-pull-request-pr-with-fix-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/git-advanced-pull-request-successful-merge-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/git-advanced-pr-conflict-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/teams-lifecycle-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/teams-impact-effort-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/automate-all-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/automate-collated-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/configuration-jane-eyre-default-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/configuration-jane-eyre-big-labels-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/python-coverage-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/testing-add-repo-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/testing-list-repos-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/testing-build-fail-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/testing-build-pass-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/errors-control-flow-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/errors-error-message-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/provenance-release-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/packaging-testpypi-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/packaging-sphinx-landing-page-original-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/packaging-sphinx-module-list-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/packaging-sphinx-module-countwords-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/packaging-sphinx-landing-page-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/ssh-ssh-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/anaconda-windspharm-ajdawson-1.pdf' not found!
!!! Error: Input file `py-rse_files/figure-latex/anaconda-windspharm-search-1.pdf' not found!
/Library/TeX/texbin/tlmgr: open tlpdb(https://mirror.aarnet.edu.au/pub/CTAN/systems/texlive/tlnet/tlpkg/texlive.tlpdb) failed: No such file or directory at /usr/local/texlive/2018/tlpkg/TeXLive/TLPDB.pm line 362.
! Use of \hyper@link@ doesn't match its definition.
\new@ifnextchar ...served@d = #1\def \reserved@a {
                                                  #2}\def \reserved@b {#3}\f...
l.25252 ...\gref{relative error}{relative\\_error}
                                                  . 

Error: LaTeX failed to compile py-rse.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See py-rse.log for more info.
In addition: Warning message:
In system2("tlmgr", args, ...) :
  running command ''tlmgr' search --file --global '/[]pyzipf/__init__.py[]'' had status 2
Please delete py-rse.Rmd after you finish debugging the error.
Execution halted
make: *** [Makefile:69: _book/py-rse.pdf] Error 1
lwjohnst86 commented 3 years ago

This should be closed from #579 right?

DamienIrving commented 3 years ago

No, I'm still getting the input file errors after the merge of #579

gvwilson commented 3 years ago

I'm getting a clean build as of 77ff4d626

lwjohnst86 commented 3 years ago

i think many of these issues are tex package dependency issues that we can't really control. GitHub Actions can build the pdf just fine, so closing this.