Code Monkey home page Code Monkey logo

Comments (11)

koppor avatar koppor commented on July 19, 2024 1

What I meant in short: Please try the edge tag at the LaTeX action.

For longer debugging, you can try latest to motivate me to release a new version to trigger a new build.

from docker-texlive.

RemDelaporteMathurin avatar RemDelaporteMathurin commented on July 19, 2024 1

Running locally with latest (pulled today) produces:

docker run --rm -it -v ${PWD}:/workdir danteev/texlive:latest latexmk -pdf main.tex
Latexmk: This is Latexmk, John Collins, 16 May 2021, version: 4.74.
Latexmk: applying rule 'pdflatex'...
Rule 'pdflatex': File changes, etc:
   Changed files, or newly in use since previous run(s):
      '/usr/local/texlive/2021/texmf-dist/tex/generic/babel/babel.def'
      '/usr/local/texlive/2021/texmf-dist/tex/generic/babel/babel.sty'
      '/usr/local/texlive/2021/texmf-dist/tex/generic/babel/txtbabel.def'
      '/usr/local/texlive/2021/texmf-dist/tex/generic/xstring/xstring.tex'
      '/usr/local/texlive/2021/texmf-dist/tex/latex/etoc/etoc.sty'
      '/usr/local/texlive/2021/texmf-dist/tex/latex/hyperref/hpdftex.def'
      '/usr/local/texlive/2021/texmf-dist/tex/latex/hyperref/hyperref-langpatches.def'
      '/usr/local/texlive/2021/texmf-dist/tex/latex/hyperref/hyperref.sty'
      '/usr/local/texlive/2021/texmf-dist/tex/latex/hyperref/pd1enc.def'
      '/usr/local/texlive/2021/texmf-dist/tex/latex/hyperref/puenc.def'
      '/usr/local/texlive/2021/texmf-dist/tex/latex/koma-script/floatrow.hak'
      '/usr/local/texlive/2021/texmf-dist/tex/latex/koma-script/listings.hak'
      '/usr/local/texlive/2021/texmf-dist/tex/latex/koma-script/lscape.hak'
      '/usr/local/texlive/2021/texmf-dist/tex/latex/koma-script/nomencl.hak'
      '/usr/local/texlive/2021/texmf-dist/tex/latex/koma-script/scrbase.sty'
      '/usr/local/texlive/2021/texmf-dist/tex/latex/koma-script/scrbook.cls'
      '/usr/local/texlive/2021/texmf-dist/tex/latex/koma-script/scrhack.sty'
      '/usr/local/texlive/2021/texmf-dist/tex/latex/koma-script/scrkbase.sty'
      '/usr/local/texlive/2021/texmf-dist/tex/latex/koma-script/scrlayer-scrpage.sty'
      '/usr/local/texlive/2021/texmf-dist/tex/latex/koma-script/scrlayer.sty'
      '/usr/local/texlive/2021/texmf-dist/tex/latex/koma-script/scrlfile-hook.sty'
      '/usr/local/texlive/2021/texmf-dist/tex/latex/koma-script/scrlfile.sty'
      '/usr/local/texlive/2021/texmf-dist/tex/latex/koma-script/scrlogo.sty'
      '/usr/local/texlive/2021/texmf-dist/tex/latex/koma-script/scrsize10pt.clo'
      '/usr/local/texlive/2021/texmf-dist/tex/latex/koma-script/setspace.hak'
      '/usr/local/texlive/2021/texmf-dist/tex/latex/koma-script/tocbasic.sty'
      '/usr/local/texlive/2021/texmf-dist/tex/latex/koma-script/typearea.sty'
      '/usr/local/texlive/2021/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def'
      '/usr/local/texlive/2021/texmf-dist/tex/latex/l3kernel/expl3.sty'
      '/usr/local/texlive/2021/texmf-dist/tex/latex/l3packages/l3keys2e/l3keys2e.sty'
      '/usr/local/texlive/2021/texmf-dist/tex/latex/l3packages/xparse/xparse.sty'
      '/usr/local/texlive/2021/texmf-dist/tex/latex/siunitx/siunitx.sty'
      '/usr/local/texlive/2021/texmf-dist/tex/latex/todonotes/todonotes.sty'
      '/usr/local/texlive/2021/texmf-var/fonts/map/pdftex/updmap/pdftex.map'
      '/usr/local/texlive/2021/texmf-var/web2c/pdftex/pdflatex.fmt'
------------
Run number 1 of rule 'pdflatex'
------------
------------
Running 'pdflatex  -recorder  "main.tex"'
------------
This is pdfTeX, Version 3.141592653-2.6-1.40.22 (TeX Live 2021) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./main.tex
LaTeX2e <2021-06-01>
L3 programming layer <2021-06-01> (./kaobook.cls
Document Class: kaobook 2021/06/02 v0.9.7 kaobook
(/usr/local/texlive/2021/texmf-dist/tex/latex/koma-script/scrbook.cls
Document Class: scrbook 2021/03/17 v3.33 KOMA-Script document class (book)
(/usr/local/texlive/2021/texmf-dist/tex/latex/koma-script/scrkbase.sty
(/usr/local/texlive/2021/texmf-dist/tex/latex/koma-script/scrbase.sty
(/usr/local/texlive/2021/texmf-dist/tex/latex/koma-script/scrlfile.sty
(/usr/local/texlive/2021/texmf-dist/tex/latex/koma-script/scrlfile-hook.sty
(/usr/local/texlive/2021/texmf-dist/tex/latex/koma-script/scrlogo.sty)))
(/usr/local/texlive/2021/texmf-dist/tex/latex/graphics/keyval.sty)))
(/usr/local/texlive/2021/texmf-dist/tex/latex/koma-script/tocbasic.sty)

And hangs

from docker-texlive.

koppor avatar koppor commented on July 19, 2024

You can use the edge tag if you use the docker image directly. See https://hub.docker.com/r/danteev/texlive/tags?page=1&ordering=last_updated for the list of all tags.

Regarding the action, it is also possible to use edge. I would really recommend using the edge tag to enable faster builds (with the hope that GitHub caches the images).

from docker-texlive.

RemDelaporteMathurin avatar RemDelaporteMathurin commented on July 19, 2024

Hi @koppor thanks for reaching out!

I've updated the tag in my GA action file (see below) but I'm afraid the problem in fmarotta/kaobook#157 isn't fixed.

This is my GA file:

name: Build LaTeX document

# Triggers the workflow on push or pull request events
on: [push, pull_request]
  
jobs:
  build_latex:
    runs-on: ubuntu-latest
    steps:
      - name: Set up Git repository
        uses: actions/checkout@v1

      - name: Compile LaTeX document
        uses: dante-ev/latex-action@edge
        with:
          root_file: main.tex

Any thoughts?

from docker-texlive.

RemDelaporteMathurin avatar RemDelaporteMathurin commented on July 19, 2024

Using latest produces:

Run dante-ev/latex-action@latest
/usr/bin/docker run --name bec5f76ed2acd468f4ebb850b9d0cb98d6fe7_5cfb8f --label 3bec5f --workdir /github/workspace --rm -e INPUT_ROOT_FILE -e INPUT_WORKING_DIRECTORY -e INPUT_COMPILER -e INPUT_ARGS -e INPUT_EXTRA_SYSTEM_PACKAGES -e HOME -e GITHUB_JOB -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_REPOSITORY_OWNER -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_RETENTION_DAYS -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_SERVER_URL -e GITHUB_API_URL -e GITHUB_GRAPHQL_URL -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e GITHUB_ACTION_REPOSITORY -e GITHUB_ACTION_REF -e GITHUB_PATH -e GITHUB_ENV -e RUNNER_OS -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e ACTIONS_CACHE_URL -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github...
Latexmk: This is Latexmk, John Collins, 16 May 2021, version: 4.74.
Rule 'pdflatex': File changes, etc:
Latexmk: applying rule 'pdflatex'...
   Changed files, or newly in use since previous run(s):
      'main.tex'
------------
Run number 1 of rule 'pdflatex'
------------
------------
Running 'pdflatex  -file-line-error -interaction=nonstopmode -recorder  "main.tex"'
------------
This is pdfTeX, Version 3.141592653-2.6-1.40.22 (TeX Live 2021) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./main.tex
LaTeX2e <2021-06-01>
L3 programming layer <2021-06-01> (./kaobook.cls
Document Class: kaobook 2021/06/02 v0.9.7 kaobook
(/usr/local/texlive/2021/texmf-dist/tex/latex/koma-script/scrbook.cls
Document Class: scrbook 2021/03/17 v3.33 KOMA-Script document class (book)
(/usr/local/texlive/2021/texmf-dist/tex/latex/koma-script/scrkbase.sty
(/usr/local/texlive/2021/texmf-dist/tex/latex/koma-script/scrbase.sty
(/usr/local/texlive/2021/texmf-dist/tex/latex/koma-script/scrlfile.sty
(/usr/local/texlive/2021/texmf-dist/tex/latex/koma-script/scrlfile-hook.sty
(/usr/local/texlive/2021/texmf-dist/tex/latex/koma-script/scrlogo.sty)))
(/usr/local/texlive/2021/texmf-dist/tex/latex/graphics/keyval.sty)))

And hangs...

from docker-texlive.

RemDelaporteMathurin avatar RemDelaporteMathurin commented on July 19, 2024

However, running this works fine locally:

docker run --rm -it -v ${PWD}:/workdir danteev/texlive:edge latexmk -pdf main.tex

Any idea?

thanks again!

from docker-texlive.

koppor avatar koppor commented on July 19, 2024

@RemDelaporteMathurin Is there a pull request I can inspect? I don't find any github actions in https://github.com/fmarotta/kaobook/tree/master/.github.

Please note that latest is NOT edge:

grafik

Could you try

docker run --rm -it -v ${PWD}:/workdir danteev/texlive:latest latexmk -pdf main.tex

Please execute following commands before? This ensures you really have the latest and edge builds in their latest versions.

docker pull danteev/texlive:latest
docker pull danteev/texlive:edge

from docker-texlive.

RemDelaporteMathurin avatar RemDelaporteMathurin commented on July 19, 2024

@koppor thank you.

I do understand that latest and edge are two different tags.

I tried the action with both (edge and latest) and they produce the same hanging behaviour.

Locally, I tried edge (with the image pulled yesterday). I shall try latest today.

from docker-texlive.

RemDelaporteMathurin avatar RemDelaporteMathurin commented on July 19, 2024

@RemDelaporteMathurin Is there a pull request I can inspect? I don't find any github actions in https://github.com/fmarotta/kaobook/tree/master/.github.

You can find an example of the hanging behaviour with @edge here:
https://github.com/RemDelaporteMathurin/HDR/runs/3229133873

from docker-texlive.

koppor avatar koppor commented on July 19, 2024

Thank you for your patience! 👍

I had a huge mistake in the edge latex-action. It did not point to edge. Fixed at dante-ev/latex-action@1a26833

Now, I need to create a new latest release.

from docker-texlive.

RemDelaporteMathurin avatar RemDelaporteMathurin commented on July 19, 2024

Thank you for all this @koppor ! Glad this got sorted 😄

Thanks again for that great image!!

from docker-texlive.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.