I've written software which generates rather long PDFs from generated .tex files with pdflatex. On occasion, I'll get broken pipe errors which cause the pdf generation to fail. I have trouble recreating the errors, and the pdf generation will often work if I try it a second time.
I'm already calling pdflatex with -interaction=nonstopmode.
I'm looking for a way to: prevent the broken pipe errors from occurring OR ignore the broken pipe error and continue
Here is the error that I am getting:
[323] [324 </srv/www/mydomain.com/public_html/crawler/RRnKPFCjyZMKk1nUg/Images/Q
BFkqp_thumbnail1063.png
!pdfTeX error: pdflatex (file /srv/www/mydomain.com/public_html/crawler/RRnKPFCj
yZMKk1nUg/Images/QBFkqp_thumbnail1063.png): fflush() failed (Broken pipe)
==> Fatal error occurred, no output PDF file produced!
xelatex. How do you generate the images? I noticed you're using "underscores" in your paths. Do you specifically accommodate for this viagrffile? – Werner Jan 12 '12 at 21:15pdflatex, notxelatex. – Martin Schröder Jan 15 '12 at 17:28straceand study its ouput (you should probaly redirect the output with-o, seeman strace). – Martin Schröder Jan 18 '12 at 21:36