On our new indico v2.2.8 installation we see latex errors like the following (the output.log (36.5 KB) file has been attached).
Latex was installed using the indico instructions and I have added explicitly the STRICT_LATEX = False
in the indico.conf.
I would appreciate your help.
Subject: Unexpected Exception occurred at web4605.fnal.gov: Could not compile '/opt/indico/tmp/indico-texgen-MdFa_g/single_doc.tex'. Read '/opt/indico/tmp/indico-texgen-MdFa_g/output.log' for details
2020-05-10 06:06:18,202 c04affde9e50435d indico.flask - ERROR errors.py:96 -- Could not compile '/opt/indico/tmp/indico-texgen-MdFa_g/single_doc.tex'. Read '/opt/indico/tmp/indico-texgen-MdFa_g/output.log' for details
Traceback (most recent call last):
File "/opt/indico/.venv/lib/python2.7/site-packages/flask/app.py", line 1949, in full_dispatch_request
rv = self.dispatch_request()
File "/opt/indico/.venv/lib/python2.7/site-packages/flask/app.py", line 1935, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/opt/indico/.venv/lib/python2.7/site-packages/indico/web/flask/util.py", line 84, in wrapper
return obj().process()
File "/opt/indico/.venv/lib/python2.7/site-packages/indico/web/rh.py", line 275, in process
res = self._do_process()
File "/opt/indico/.venv/lib/python2.7/site-packages/indico/modules/events/controllers/base.py", line 54, in _do_process
return RHEventBase._do_process(self)
File "/opt/indico/.venv/lib/python2.7/site-packages/indico/web/rh.py", line 245, in _do_process
rv = self._process()
File "/opt/indico/.venv/lib/python2.7/site-packages/indico/modules/events/contributions/controllers/display.py", line 184, in _process
return send_file('contribution.pdf', pdf.generate(), 'application/pdf')
File "/opt/indico/.venv/lib/python2.7/site-packages/indico/legacy/pdfinterface/latex.py", line 62, in generate
return latex.run(self.LATEX_TEMPLATE, **self._args)
File "/opt/indico/.venv/lib/python2.7/site-packages/indico/legacy/pdfinterface/latex.py", line 199, in run
raise LaTeXRuntimeException(source_filename, log_filename)
LaTeXRuntimeException: LaTeX compilation of /opt/indico/tmp/indico-texgen-MdFa_g/single_doc.tex failed
{u'data': {u'get': {},
u'headers': {'Accept': u'text/html,application/xhtml+xml,application/signed-exchange;v=b3,application/xml;q=0.9,*/*;q=0.8',
'Accept-Encoding': u'gzip,deflate,br',
'Amp-Cache-Transform': u'google;v="1..3"',
'Connection': u'keep-alive',
'From': u'googlebot(at)googlebot.com',
'Host': u'indico.fnal.gov',
'User-Agent': u'Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.96 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)'},
u'json': None,
u'post': {},
u'url': {'confId': u'13745', 'contrib_id': 21484}},
u'endpoint': u'contributions.export_pdf',
u'id': 'c04affde9e50435d',
u'ip': '66.249.69.50',
u'method': 'GET',
u'referrer': None,
u'rh': 'RHContributionExportToPDF',
u'time': '2020-05-10T06:06:18.226830',
u'url': u'https://indico.fnal.gov/event/13745/contributions/21484/contribution.pdf',
u'user': None,
u'user_agent': u'Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.96 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)'}