yegor256 / iexec

Execute a command-line command from LaTeX, check the exit code, and then \input the result into the document
https://ctan.org/pkg/iexec
MIT License
7 stars 2 forks source link

less logs and check for exit code #26

Closed yegor256 closed 2 years ago

yegor256 commented 2 years ago

@rultor release, tag is 0.10.0

rultor commented 2 years ago

@rultor release, tag is 0.10.0

@yegor256 OK, I will release it now. Please check the progress here

rultor commented 2 years ago

@rultor release, tag is 0.10.0

@yegor256 Oops, I failed. You can see the full log here (spent 1min)

File iexec.sty already exists somewhere on the system.
Overwrite it if necessary? [y/n]
\answer=
Generating file(s) iexec.sty 

Processing file iexec.dtx (package) -> iexec.sty
Lines  processed: 416
Comments removed: 204
Comments  passed: 0
Codelines passed: 188

To finish the installation you have to move the ".sty"
file into a directory searched by TeX. To produce the
documentation run the file ".dtx" through LaTeX. If any
questions, submit a new GitHub issue.
 )
No pages of output.
Transcript written on iexec.log.
This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded format=pdftex)
 restricted \write18 enabled.
entering extended mode
(./iexec.ins (/usr/local/texlive/2022/texmf-dist/tex/latex/base/docstrip.tex
Utility: `docstrip' v2.6a <2020-11-23>
English documentation    <2020-11-23>

**********************************************************
* This program converts documented macro-files into fast *
* loadable files by stripping off (nearly) all comments! *
**********************************************************

********************************************************
* No Configuration file found, using default settings. *
********************************************************

)
File iexec.sty already exists somewhere on the system.
Overwrite it if necessary? [y/n]
\answer=
Generating file(s) iexec.sty 

Processing file iexec.dtx (package) -> iexec.sty
Lines  processed: 416
Comments removed: 204
Comments  passed: 0
Codelines passed: 188

To finish the installation you have to move the ".sty"
file into a directory searched by TeX. To produce the
documentation run the file ".dtx" through LaTeX. If any
questions, submit a new GitHub issue.
 )
No pages of output.
Transcript written on iexec.log.
Typesetting iexec
This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded format=pdflatex)
 \write18 enabled.
entering extended mode
 ! Compilation failed
container 9c6254033ea0ba59a08ccef2bb51de7090abc71cfb93e620d86e695afaa47e7e is dead
Thu 20 Oct 2022 05:59:18 AM CEST
yegor256 commented 2 years ago

@rultor release, tag is 0.10.0

rultor commented 2 years ago

@rultor release, tag is 0.10.0

@yegor256 OK, I will release it now. Please check the progress here

rultor commented 2 years ago

@rultor release, tag is 0.10.0

@yegor256 Oops, I failed. You can see the full log here (spent 1min)

+ sudo -i gem install texqc:0.6.0
Fetching texqc-0.6.0.gem
Fetching slop-4.8.2.gem
Successfully installed slop-4.8.2
Successfully installed texqc-0.6.0
Parsing documentation for slop-4.8.2
Installing ri documentation for slop-4.8.2
Parsing documentation for texqc-0.6.0
Installing ri documentation for texqc-0.6.0
Done installing documentation for slop, texqc after 0 seconds
2 gems installed
+ sudo -i apt-get -y install aspell

Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 5%

Reading package lists... 5%

Reading package lists... 5%

Reading package lists... 5%

Reading package lists... 53%

Reading package lists... 53%

Reading package lists... 54%

Reading package lists... 54%

Reading package lists... 65%

Reading package lists... 65%

Reading package lists... 66%

Reading package lists... 72%

Reading package lists... 72%

Reading package lists... 77%

Reading package lists... 77%

Reading package lists... 77%

Reading package lists... 77%

Reading package lists... 78%

Reading package lists... 78%

Reading package lists... 78%

Reading package lists... 78%

Reading package lists... 87%

Reading package lists... 87%

Reading package lists... 93%

Reading package lists... 93%

Reading package lists... 97%

Reading package lists... 97%

Reading package lists... 98%

Reading package lists... 98%

Reading package lists... 98%

Reading package lists... 98%

Reading package lists... 98%

Reading package lists... 98%

Reading package lists... 98%

Reading package lists... 98%

Reading package lists... 98%

Reading package lists... 98%

Reading package lists... Done

Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree       

Reading state information... 0%

Reading state information... 0%

Reading state information... Done

aspell is already the newest version (0.60.8-1ubuntu0.1).
aspell set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
+ sudo -i apt-get -y install ghostscript

Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 5%

Reading package lists... 5%

Reading package lists... 5%

Reading package lists... 5%

Reading package lists... 53%

Reading package lists... 53%

Reading package lists... 54%

Reading package lists... 54%

Reading package lists... 65%

Reading package lists... 65%

Reading package lists... 66%

Reading package lists... 72%

Reading package lists... 72%

Reading package lists... 77%

Reading package lists... 77%

Reading package lists... 77%

Reading package lists... 77%

Reading package lists... 78%

Reading package lists... 78%

Reading package lists... 78%

Reading package lists... 78%

Reading package lists... 87%

Reading package lists... 87%

Reading package lists... 93%

Reading package lists... 93%

Reading package lists... 97%

Reading package lists... 97%

Reading package lists... 98%

Reading package lists... 98%

Reading package lists... 98%

Reading package lists... 98%

Reading package lists... 98%

Reading package lists... 98%

Reading package lists... 98%

Reading package lists... 98%

Reading package lists... 98%

Reading package lists... 98%

Reading package lists... Done

Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree       

Reading state information... 0%

Reading state information... 0%

Reading state information... Done

The following additional packages will be installed:
  fonts-droid-fallback fonts-noto-mono fonts-urw-base35 libgs9 libgs9-common
  libijs-0.35 libjbig2dec0 libpaper-utils libpaper1 poppler-data
Suggested packages:
  fonts-noto fonts-freefont-otf | fonts-freefont-ttf fonts-texgyre
  ghostscript-x poppler-utils fonts-japanese-mincho | fonts-ipafont-mincho
  fonts-japanese-gothic | fonts-ipafont-gothic fonts-arphic-ukai
  fonts-arphic-uming fonts-nanum
The following NEW packages will be installed:
  fonts-droid-fallback fonts-noto-mono fonts-urw-base35 ghostscript libgs9
  libgs9-common libijs-0.35 libjbig2dec0 libpaper-utils libpaper1 poppler-data
0 upgraded, 11 newly installed, 0 to remove and 6 not upgraded.
Need to get 12.7 MB of archives.
After this operation, 51.7 MB of additional disk space will be used.

0% [Working]

Get:1 http://archive.ubuntu.com/ubuntu focal/main amd64 fonts-droid-fallback all 1:6.0.1r16-1.1 [1,805 kB]

0% [1 fonts-droid-fallback 5,507 B/1,805 kB 0%]
2% [1 fonts-droid-fallback 353 kB/1,805 kB 20%]

13% [Working]

Get:2 http://archive.ubuntu.com/ubuntu focal/main amd64 poppler-data all 0.4.9-2 [1,475 kB]

13% [2 poppler-data 4,059 B/1,475 kB 0%]

24% [Waiting for headers]

Get:3 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 fonts-noto-mono all 20200323-1build1~ubuntu20.04.1 [80.6 kB]

25% [3 fonts-noto-mono 62.4 kB/80.6 kB 77%]

27% [Waiting for headers]

Get:4 http://archive.ubuntu.com/ubuntu focal/main amd64 fonts-urw-base35 all 20170801.1-3 [6,333 kB]

27% [4 fonts-urw-base35 47.0 kB/6,333 kB 1%]
56% [4 fonts-urw-base35 4,648 kB/6,333 kB 73%]

Ign:5 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libgs9-common all 9.50~dfsg-5ubuntu4.5

68% [Waiting for headers]

Get:6 http://archive.ubuntu.com/ubuntu focal/main amd64 libijs-0.35 amd64 0.35-15 [15.7 kB]

Get:7 http://archive.ubuntu.com/ubuntu focal/main amd64 libjbig2dec0 amd64 0.18-1ubuntu1 [60.0 kB]

Get:8 http://archive.ubuntu.com/ubuntu focal/main amd64 libpaper1 amd64 1.1.28 [13.0 kB]

Ign:9 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libgs9 amd64 9.50~dfsg-5ubuntu4.5

Ign:10 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 ghostscript amd64 9.50~dfsg-5ubuntu4.5

Get:11 http://archive.ubuntu.com/ubuntu focal/main amd64 libpaper-utils amd64 1.1.28 [8,400 B]

74% [11 libpaper-utils 8,400 B/8,400 B 100%]

Err:5 http://security.ubuntu.com/ubuntu focal-updates/main amd64 libgs9-common all 9.50~dfsg-5ubuntu4.5
  404  Not Found [IP: 91.189.91.39 80]

74% [11 libpaper-utils 8,400 B/8,400 B 100%]

76% [Waiting for headers]

Err:9 http://security.ubuntu.com/ubuntu focal-updates/main amd64 libgs9 amd64 9.50~dfsg-5ubuntu4.5
  404  Not Found [IP: 91.189.91.39 80]

Err:10 http://security.ubuntu.com/ubuntu focal-updates/main amd64 ghostscript amd64 9.50~dfsg-5ubuntu4.5
  404  Not Found [IP: 91.189.91.39 80]

76% [Working]

Fetched 9,789 kB in 2s (4,564 kB/s)
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/ghostscript/libgs9-common_9.50~dfsg-5ubuntu4.5_all.deb  404  Not Found [IP: 91.189.91.39 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/ghostscript/libgs9_9.50~dfsg-5ubuntu4.5_amd64.deb  404  Not Found [IP: 91.189.91.39 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/ghostscript/ghostscript_9.50~dfsg-5ubuntu4.5_amd64.deb  404  Not Found [IP: 91.189.91.39 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
container 2aad37bf86f9922fa7a42dbadb1418b6ba0cc88c206c0e2f0fb1dd2bbff55f12 is dead
Thu 20 Oct 2022 06:04:12 AM CEST
yegor256 commented 2 years ago

@rultor release, tag is 0.10.0

rultor commented 2 years ago

@rultor release, tag is 0.10.0

@yegor256 OK, I will release it now. Please check the progress here

rultor commented 2 years ago

@rultor release, tag is 0.10.0

@yegor256 Oops, I failed. You can see the full log here (spent 1min)

File iexec.sty already exists somewhere on the system.
Overwrite it if necessary? [y/n]
\answer=
Generating file(s) iexec.sty 

Processing file iexec.dtx (package) -> iexec.sty
Lines  processed: 417
Comments removed: 204
Comments  passed: 0
Codelines passed: 189

To finish the installation you have to move the ".sty"
file into a directory searched by TeX. To produce the
documentation run the file ".dtx" through LaTeX. If any
questions, submit a new GitHub issue.
 )
No pages of output.
Transcript written on iexec.log.
This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded format=pdftex)
 restricted \write18 enabled.
entering extended mode
(./iexec.ins (/usr/local/texlive/2022/texmf-dist/tex/latex/base/docstrip.tex
Utility: `docstrip' v2.6a <2020-11-23>
English documentation    <2020-11-23>

**********************************************************
* This program converts documented macro-files into fast *
* loadable files by stripping off (nearly) all comments! *
**********************************************************

********************************************************
* No Configuration file found, using default settings. *
********************************************************

)
File iexec.sty already exists somewhere on the system.
Overwrite it if necessary? [y/n]
\answer=
Generating file(s) iexec.sty 

Processing file iexec.dtx (package) -> iexec.sty
Lines  processed: 417
Comments removed: 204
Comments  passed: 0
Codelines passed: 189

To finish the installation you have to move the ".sty"
file into a directory searched by TeX. To produce the
documentation run the file ".dtx" through LaTeX. If any
questions, submit a new GitHub issue.
 )
No pages of output.
Transcript written on iexec.log.
Typesetting iexec
This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded format=pdflatex)
 \write18 enabled.
entering extended mode
 ! Compilation failed
container 93ac0bc94e81f36745fa893819c3428ba3976fda9f9daaa68198e1e1bf9f91d5 is dead
Thu 20 Oct 2022 06:08:07 AM CEST
yegor256 commented 2 years ago

@rultor release, tag is 0.10.0

rultor commented 2 years ago

@rultor release, tag is 0.10.0

@yegor256 OK, I will release it now. Please check the progress here

rultor commented 2 years ago

@rultor release, tag is 0.10.0

@yegor256 Oops, I failed. You can see the full log here (spent 1min)

LaTeX Info: Redefining \textsw on input line 47.
LaTeX Info: Redefining \textssc on input line 48.
LaTeX Info: Redefining \textulc on input line 49.
)
LaTeX Info: Redefining \oldstylenums on input line 484.
(/usr/local/texlive/2022/texmf-dist/tex/latex/libertine/LinLibertine_I.tex)) (/
usr/local/texlive/2022/texmf-dist/tex/latex/microtype/microtype.sty
Package: microtype 2022/06/23 v3.0f Micro-typographical refinements (RS)
(/usr/local/texlive/2022/texmf-dist/tex/latex/etoolbox/etoolbox.sty
Package: etoolbox 2020/10/05 v2.5k e-TeX tools for LaTeX (JAW)
\etb@tempcnta=\count278
)
\MT@toks=\toks20
\MT@tempbox=\box96
\MT@count=\count279
LaTeX Info: Redefining \noprotrusionifhmode on input line 1045.
LaTeX Info: Redefining \leftprotrusion on input line 1046.
LaTeX Info: Redefining \rightprotrusion on input line 1056.
LaTeX Info: Redefining \textls on input line 1234.
\MT@outer@kern=\dimen151
LaTeX Info: Redefining \textmicrotypecontext on input line 1858.
\MT@listname@count=\count280
(/usr/local/texlive/2022/texmf-dist/tex/latex/microtype/microtype-pdftex.def
File: microtype-pdftex.def 2022/06/23 v3.0f Definitions specific to pdftex (RS)

LaTeX Info: Redefining \lsstyle on input line 900.
LaTeX Info: Redefining \lslig on input line 900.
\MT@outer@space=\skip53
)
Package microtype Info: Loading configuration file microtype.cfg.
(/usr/local/texlive/2022/texmf-dist/tex/latex/microtype/microtype.cfg
File: microtype.cfg 2022/06/23 v3.0f microtype main configuration file (RS)
))

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

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name: 
! Emergency stop.
<read *> 

l.60 \docshotPrerequisite
                         {iexec.sty}^^M
*** (cannot \read from terminal in nonstop modes)

Here is how much of TeX's memory you used:
 4161 strings out of 475075
 73709 string characters out of 5779009
 448922 words of memory out of 5000000
 25585 multiletter control sequences out of 15000+600000
 469259 words of font info for 28 fonts, out of 8000000 for 9000
 1141 hyphenation exceptions out of 8191
 55i,1n,69p,264b,163s stack positions out of 10000i,1000n,20000p,200000b,200000s
!  ==> Fatal error occurred, no output PDF file produced!
+ exit -1
container de3dae83a9f72e4c725181bf2e09195d15339e595d465c86473451aae463e74b is dead
Thu 20 Oct 2022 06:28:45 AM CEST
yegor256 commented 2 years ago

@rultor release, tag is 0.10.0

rultor commented 2 years ago

@rultor release, tag is 0.10.0

@yegor256 OK, I will release it now. Please check the progress here

rultor commented 2 years ago

@rultor release, tag is 0.10.0

@yegor256 Oops, I failed. You can see the full log here (spent 1min)

[1

{/usr/local/texlive/2022/texmf-var/fonts/map/pdftex/updmap/pdftex.map} <./_docs
hots/iexec/1B30F4D7FDF39FB51140E3FD2D3D1545.crop.pdf>]
LaTeX Font Info:    Font shape `OT1/LinuxLibertineT-TLF/m/n' will be
(Font)              scaled to size 7.0pt on input line 247.
[2] [3] [4]
**********************************
* This macro file has no checksum!
* The checksum should be 184!
**********************************
[5]
No file iexec.gls.
No file iexec.ind.
) (./iexec.aux)

Package rerunfilecheck Warning: File `iexec.out' has changed.
(rerunfilecheck)                Rerun to get outlines right
(rerunfilecheck)                or use package `bookmark'.

Package rerunfilecheck Info: Checksums for `iexec.out':
(rerunfilecheck)             Before: <no file>
(rerunfilecheck)             After:  EB64A71A93C0C1F64C776BD644E45601;333.

Package rerunfilecheck Warning: File `iexec.hd' has changed. Rerun.

Package rerunfilecheck Info: Checksums for `iexec.hd':
(rerunfilecheck)             Before: <no file>
(rerunfilecheck)             After:  D41D8CD98F00B204E9800998ECF8427E;0.
 ) 
Here is how much of TeX's memory you used:
 23999 strings out of 475075
 458445 string characters out of 5779009
 798955 words of memory out of 5000000
 44856 multiletter control sequences out of 15000+600000
 498553 words of font info for 122 fonts, out of 8000000 for 9000
 1141 hyphenation exceptions out of 8191
 94i,6n,104p,1009b,722s stack positions out of 10000i,1000n,20000p,200000b,200000s
{/usr/local/texlive/2022/texmf-dist/fonts/enc/dvips/libertine/lbtn_kijugd.enc
}{/usr/local/texlive/2022/texmf-dist/fonts/enc/dvips/libertine/lbtn_lyu3x3.enc}
{/usr/local/texlive/2022/texmf-dist/fonts/enc/dvips/libertine/lbtn_oexx6f.enc}<
/usr/local/texlive/2022/texmf-dist/fonts/type1/public/libertine/LinLibertineT.p
fb></usr/local/texlive/2022/texmf-dist/fonts/type1/public/libertine/LinLibertin
eTB.pfb></usr/local/texlive/2022/texmf-dist/fonts/type1/public/libertine/LinLib
ertineTI.pfb></usr/local/texlive/2022/texmf-dist/fonts/type1/public/amsfonts/cm
/cmsy10.pfb></usr/local/texlive/2022/texmf-dist/fonts/type1/public/amsfonts/cm/
cmsy6.pfb></usr/local/texlive/2022/texmf-dist/fonts/type1/public/amsfonts/cm/cm
tt10.pfb></usr/local/texlive/2022/texmf-dist/fonts/type1/public/amsfonts/cm/cmt
t12.pfb></usr/local/texlive/2022/texmf-dist/fonts/type1/public/amsfonts/cm/cmtt
9.pfb>
Output written on iexec.pdf (5 pages, 308968 bytes).
PDF statistics:
 122 PDF objects out of 1000 (max. 8388607)
 76 compressed objects within 1 object stream
 9 named destinations out of 1000 (max. 500000)
 42610 words of extra memory for PDF output out of 42996 (max. 10000000)

+ exit -1
container d24989505064cdc55314a5ee171d54a0c109d38d2ed52277b3a7486651ff3e3c is dead
Thu 20 Oct 2022 06:32:40 AM CEST
yegor256 commented 2 years ago

@rultor release, tag is 0.10.0

rultor commented 2 years ago

@rultor release, tag is 0.10.0

@yegor256 OK, I will release it now. Please check the progress here

rultor commented 2 years ago

@rultor release, tag is 0.10.0

@yegor256 Oops, I failed. You can see the full log here (spent 1min)

File iexec.sty already exists somewhere on the system.
Overwrite it if necessary? [y/n]
\answer=
Generating file(s) iexec.sty 

Processing file iexec.dtx (package) -> iexec.sty
Lines  processed: 417
Comments removed: 204
Comments  passed: 0
Codelines passed: 189

To finish the installation you have to move the ".sty"
file into a directory searched by TeX. To produce the
documentation run the file ".dtx" through LaTeX. If any
questions, submit a new GitHub issue.
 )
No pages of output.
Transcript written on iexec.log.
This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded format=pdftex)
 restricted \write18 enabled.
entering extended mode
(./iexec.ins (/usr/local/texlive/2022/texmf-dist/tex/latex/base/docstrip.tex
Utility: `docstrip' v2.6a <2020-11-23>
English documentation    <2020-11-23>

**********************************************************
* This program converts documented macro-files into fast *
* loadable files by stripping off (nearly) all comments! *
**********************************************************

********************************************************
* No Configuration file found, using default settings. *
********************************************************

)
File iexec.sty already exists somewhere on the system.
Overwrite it if necessary? [y/n]
\answer=
Generating file(s) iexec.sty 

Processing file iexec.dtx (package) -> iexec.sty
Lines  processed: 417
Comments removed: 204
Comments  passed: 0
Codelines passed: 189

To finish the installation you have to move the ".sty"
file into a directory searched by TeX. To produce the
documentation run the file ".dtx" through LaTeX. If any
questions, submit a new GitHub issue.
 )
No pages of output.
Transcript written on iexec.log.
Typesetting iexec
This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded format=pdflatex)
 \write18 enabled.
entering extended mode
 ! Compilation failed
container 4866c41aee2de0ce9ec61d574ba4fae30ebd2e4c1c82d1a9b5ea9f14ae060805 is dead
Thu 20 Oct 2022 06:36:34 AM CEST
yegor256 commented 2 years ago

@rultor release, tag is 0.10.0

rultor commented 2 years ago

@rultor release, tag is 0.10.0

@yegor256 OK, I will release it now. Please check the progress here

rultor commented 2 years ago

@rultor release, tag is 0.10.0

@yegor256 Done! FYI, the full log is here (took me 1min)