[Collab-qa-commits] r2326 - udd/udd
Andreas Tille
tille at alioth.debian.org
Mon May 14 12:10:11 UTC 2012
Author: tille
Date: 2012-05-14 12:10:11 +0000 (Mon, 14 May 2012)
New Revision: 2326
Modified:
udd/udd/bibref_gatherer.py
Log:
Rather use batchmode because we seem to observe a deadlock in wait() call when having too long output
Modified: udd/udd/bibref_gatherer.py
===================================================================
--- udd/udd/bibref_gatherer.py 2012-05-14 10:31:01 UTC (rev 2325)
+++ udd/udd/bibref_gatherer.py 2012-05-14 12:10:11 UTC (rev 2326)
@@ -40,7 +40,7 @@
def open_tex_process(texexe, basetexfile):
if texexe == 'pdflatex':
- ptex = Popen(['pdflatex', '-interaction=nonstopmode', basetexfile], shell=False, stdout=PIPE)
+ ptex = Popen(['pdflatex', '-interaction=batchmode', basetexfile], shell=False, stdout=PIPE)
elif texexe == 'bibtex':
ptex = Popen(['bibtex', basetexfile], shell=False, stdout=PIPE)
else:
@@ -368,7 +368,6 @@
except OSError:
pass
-
(retcode,errstring) = open_tex_process('pdflatex', basetexfile)
if not retcode:
self.log.error("Problem in 1. PdfLaTeX run of %s.tex: `%s` --> please inspect %s.log" % (basetexfile, errstring, basetexfile))
More information about the Collab-qa-commits
mailing list