karel-brinda / tp-zpevnik

Zpěvník Technické přestávky. Výsledné (automaticky generované) zpěvníky se nachází na http://karel-brinda.github.io/tp-zpevnik/.
MIT License
5 stars 6 forks source link

Neúspěšný překlad na Travis #78

Closed vasekp closed 7 years ago

vasekp commented 7 years ago

Několik posledních verzí (asi 51442eaa410244fa934e2d4d1dc0729048ce859f..b9ffedd4f21ba9f7aff535577bd57b33d7a4bb0f) končí na Travisu chybou. Zdá se mi, že to je způsobené tím, že obal zpěvníku TP2016 je verze PDF 1.5, zatímco generovaný dokument 1.4:

** WARNING ** Version of PDF file (1.5) is newer than version limit specification.
sh: 1: gs: not found
** WARNING ** Filtering file via command -->gs -q -dNOPAUSE -dBATCH -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -sOutputFile=/tmp/dvipdfmx.XXosAqNa ./2016_front.pdf -c quit<-- failed.
** WARNING ** Image format conversion for "./2016_front.pdf" failed...
** WARNING ** Image width=0.0!
** WARNING ** Image height=0.0!
** ERROR ** pdf_ref_obj(): passed invalid object.

Output file removed.
Error in job main_pdf while creating output files output/TP_zpevnik_2016.pdf, cache/TP_zpevnik_2016/TP_zpevnik_2016.pdf, cache/TP_zpevnik_2016/TP_zpevnik_2016.log, cache/TP_zpevnik_2016/TP_zpevnik_2016.out, cache/TP_zpevnik_2016/TP_zpevnik_2016.idx_pisne, cache/TP_zpevnik_2016/TP_zpevnik_2016.idx_interpreti, cache/TP_zpevnik_2016/TP_zpevnik_2016.ind_pisne, cache/TP_zpevnik_2016/TP_zpevnik_2016.ind_interpreti, cache/TP_zpevnik_2016/TP_zpevnik_2016.ind_pisne.old.
RuleException:
CalledProcessError in line 63 of /home/travis/build/karel-brinda/tp-zpevnik/tpcb/snake_incl.py:
Command '
            cd "cache/TP_zpevnik_2016"
            xelatex -interaction nonstopmode "TP_zpevnik_2016.tex"
            ' returned non-zero exit status -13
  File "/home/travis/build/karel-brinda/tp-zpevnik/tpcb/snake_incl.py", line 131, in __rule_main_pdf
  File "/home/travis/build/karel-brinda/tp-zpevnik/tpcb/snake_incl.py", line 63, in call_xelatex
  File "/opt/python/3.4.4/lib/python3.4/concurrent/futures/thread.py", line 54, in run
Exiting because a job execution failed. Look above for error message
Will exit after finishing currently running jobs.
Exiting because a job execution failed. Look above for error message
make: *** [TP2016] Error 1

travis_time:end:31c14535:start=1499449481114209637,finish=1499450069801325189,duration=588687115552

The command "make" exited with 2.

Done. Your build exited with 1.