An FYI for the listserv: I have clean installs of CentOS 5.4 and faced
this same issue. Stuart's fix quoted on August 23, 2009 was the
solution.<br><font color="#888888"><br>Paul</font><br><br><div class="gmail_quote">On Sun, Aug 23, 2009 at 1:19 PM, Stuart Raeburn <span dir="ltr"><<a href="mailto:raeburn@msu.edu" target="_blank">raeburn@msu.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Michael,<br>
<br>
This seems to be a TeX issue specific to Fedora 9 (which uses the TeXLive packaging of TeX instead of tetex (which had been used for other supported distros). In <a href="http://printout.pl" target="_blank">printout.pl</a> it appears that running the latex command over the .tex file to generate the .dvi was failing.<br>
<br>
Running:<br>
<br>
/usr/bin/texconfig rehash<br>
<br>
then<br>
<br>
/usr/bin/fmtutil-sys --missing<br>
<br>
fixed this issue for me on a Fedora 9 test installation. Afterwards <a href="http://printout.pl" target="_blank">printout.pl</a> would generate the dvi (and ultimately the PDF).<br>
<br>
It is possible that the rehash alone would fix the problem (I didn't test again after just the first step).<br>
<br>
Investigations continue ...<br><font color="#888888">
<br>
<br>
Stuart Raeburn<br>
MSU LON-CAPA group</font><div><div></div><div><br>
<br>
Quoting loncapa_admin <<a href="mailto:loncapa_admin@johnabbott.qc.ca" target="_blank">loncapa_admin@johnabbott.qc.ca</a>>:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello, I was wondering if this is just a local problem, or if others have seen the same behaviour.<br>
<br>
I upgraded our servers to loncapa 2.8.1 just after our semester ended in May. Before then, we had been running 2.8.0 with no printing problems. Since then, our servers were under pretty light load and it's possible the "Prepare a printable document" feature wasn't tested.<br>
<br>
I've just received a message from one of our teachers stating that the "Prepare printable documents" feature wasn't working. I've since tried it myself and can confirm that it's stalling on "Class Print Status: for Michael T Dugdale now LaTeXing file, bytes generated." That's it, no byte count... the page never refreshes.<br>
<br>
Under /var/log/httpd/errorlog, I'm getting:<br>
"[Sun Aug 23 12:31:26 2009] [error] [client 96.23.67.210] Couldn't open log file /home/httpd/prtspool/michaeldugdale_johnabbott_printout_1251045083_6544_1.log for reading: No such file or directory, referer: <a href="http://kepler.johnabbott.qc.ca/adm/printout" target="_blank">http://kepler.johnabbott.qc.ca/adm/printout</a>"<br>
<br>
Checking the *errors logs in /home/httpd/perls/logs, I'm not seeing anything, nor in any other logs under /var/log.<br>
<br>
Looking in /home/httpd/prtspool, I can see that the .tex file is being generated. Interestingly enough, if I manually latex the file (thus producing the associated .dvi, .aux and .log files) in /home/httpd/prtspool/ and then refresh the browser page, the printable pdf is produced correctly.<br>
<br>
So it seems that the tex file is produced correctly, and the dvips -> pstopdf chain is working correctly, but not the first call to latex.<br>
<br>
<br>
Has anyone else seen such behaviour in 2.8.1, or is this a purely local problem? Any thoughts would be appreciated.<br>
<br>
Many thanks!<br>
<br>
<br>
Michael Dugdale<br>
Department of Physics<br>
John Abbott College<br>
21275 Lakeshore Road<br>
Ste. Anne de Bellevue, Québec<br>
H9X 3L9<br>
<br>
(514) 457-6610 X 5888<br>
<a href="mailto:loncapa_admin@johnabbott.qc.ca" target="_blank">loncapa_admin@johnabbott.qc.ca</a><br>
</blockquote></div></div></blockquote></div><br><br clear="all"><br>-- <br>Paul Omernik<br>Lab Technician<br>North Dakota State University<br>Department of Physics # 2755<br>P.O. Box 6050<br>Fargo, ND 58108-6050<br><br>701-231-7047<br>